File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ python_functions =
21
21
# always run in parallel (requires pytest-xdist, see test-requirements.txt)
22
22
# and enable strict mode: require all markers
23
23
# to be defined and raise on invalid config values
24
- addopts = -nauto --strict-markers --strict-config
24
+ addopts = -nauto --strict-markers --strict-config -- color =yes
25
25
26
26
# treat xpasses as test failures so they get converted to regular tests as soon as possible
27
27
xfail_strict = true
Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ commands =
27
27
28
28
[testenv:type]
29
29
description = type check ourselves
30
+ setenv =
31
+ TERM = ansi
32
+ MYPY_FORCE_COLOR = 1
33
+ MYPY_FORCE_TERMINAL_WIDTH = 200
30
34
commands =
31
35
python -m mypy --config-file mypy_self_check.ini -p mypy -p mypyc
32
36
python -m mypy --config-file mypy_self_check.ini misc --exclude misc/fix_annotate.py --exclude misc/async_matrix.py --exclude misc/sync-typeshed.py
You can’t perform that action at this time.
0 commit comments