Debian Codegraph @

test-data/unit/envvars.test

raw
1 # Test cases related to environment variables
2 [case testEnvvar_MYPY_CONFIG_FILE_DIR]
3 # cmd: mypy --config-file=subdir/mypy.ini
4 [file bogus.py]
5 FOO = 'x' # type: int
6 [file subdir/good.py]
7 BAR = 0 # type: int
8 [file subdir/mypy.ini]
9 \[mypy]
10 files=$MYPY_CONFIG_FILE_DIR/good.py