Files
PyGithub/pyproject.toml

33 lines
647 B
TOML

[tool.mypy]
python_version = '3.7'
ignore_missing_imports = true
namespace_packages = true
[[tool.mypy.overrides]]
module = ["github.*"]
check_untyped_defs = true
disallow_untyped_defs = true
warn_no_return = false
[tool.black]
# https://github.com/psf/black
line-length = 120
target-version = ['py37']
[tool.ruff]
line-length = 120
target-version = "py37"
# Enable Pyflakes `E` and `F` codes by default.
select = [
"E", "W", # see: https://pypi.org/project/pycodestyle
"F", # see: https://pypi.org/project/pyflakes
"I", # see: isort
]
ignore = [
"E501",
"E741",
]
ignore-init-module-imports = true
unfixable = ["F401"]