Created
March 31, 2022 08:43
-
-
Save martimors/ad84b30d60fb16b26f688753e7dde93b to your computer and use it in GitHub Desktop.
pyproject.toml settings for common linters and formatters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[tool.black] | |
line-length = 100 | |
include = '\.pyi?$' | |
exclude = ''' | |
/( | |
\.git | |
| \.mypy_cache | |
| \.tox | |
| \.venv | |
| venv | |
| _build | |
| buck-out | |
| build | |
| dist | |
)/ | |
''' | |
[tool.isort] | |
profile = "black" | |
line_length = 100 | |
[tool.mypy] | |
pretty = true | |
warn_unused_ignores = true | |
warn_return_any = true | |
[tool.pydocstyle] | |
convention = "google" | |
add-ignore = "D100,D104,D101" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment