1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
[tool.black]
line-length = 79
target-version = ['py37', 'py38', 'py39', 'py310', 'py311']
skip-string-normalization = true
[tool.pyright]
# include = ['python_utils']
include = ['python_utils', '_python_utils_tests', 'setup.py']
strict = ['python_utils', '_python_utils_tests', 'setup.py']
# The terminal file is very OS specific and dependent on imports so we're skipping it from type checking
ignore = ['python_utils/terminal.py']
pythonVersion = '3.9'
[tool.mypy]
strict = true
check_untyped_defs = true
files = ['python_utils', '_python_utils_tests', 'setup.py']
[[tool.mypy.overrides]]
module = '_python_utils_tests.*'
|