/ pyproject.toml
pyproject.toml
1 [tool.mypy] 2 python_version = '3.7' 3 ignore_missing_imports = true 4 namespace_packages = true 5 6 [[tool.mypy.overrides]] 7 module = ["github.*"] 8 check_untyped_defs = true 9 disallow_untyped_defs = true 10 warn_no_return = false 11 12 [tool.black] 13 # https://github.com/psf/black 14 line-length = 120 15 target-version = ['py37'] 16 17 18 [tool.ruff] 19 line-length = 120 20 target-version = "py37" 21 # Enable Pyflakes `E` and `F` codes by default. 22 select = [ 23 "E", "W", # see: https://pypi.org/project/pycodestyle 24 "F", # see: https://pypi.org/project/pyflakes 25 "I", # see: isort 26 ] 27 ignore = [ 28 "E501", 29 "E741", 30 ] 31 ignore-init-module-imports = true 32 unfixable = ["F401"]