You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This looks like a recent regression as previous versions did not crash when FORCE_COLOR=true.
To Reproduce
export FORCE_COLOR=true
mypy ...
Expected Behavior
To work.
Actual Behavior
Traceback (most recent call last):
File "/Users/ssbarnea/.cache/pre-commit/repo79gglgcf/py_env-python3/bin/mypy", line 8, in <module>
sys.exit(console_entry())
^^^^^^^^^^^^^^^
File "/Users/ssbarnea/.cache/pre-commit/repo79gglgcf/py_env-python3/lib/python3.11/site-packages/mypy/__main__.py", line 15, in console_entry
main()
File "mypy/main.py", line 70, in main
File "mypy/util.py", line 538, in __init__
File "mypy/util.py", line 523, in should_force_color
ValueError: invalid literal for int() with base 10: 'true'
Your Environment
Mypy version used: 0.991
Mypy command-line flags: --strict
Mypy configuration options from mypy.ini (and other config files):
Python version used: 3.10
The text was updated successfully, but these errors were encountered:
Bug Report
This looks like a recent regression as previous versions did not crash when
FORCE_COLOR=true
.To Reproduce
export FORCE_COLOR=true mypy ...
Expected Behavior
To work.
Actual Behavior
Your Environment
mypy.ini
(and other config files):The text was updated successfully, but these errors were encountered: