-
-
Save notpushkin/9dba2cf93c800919d32a569e71d1c29a to your computer and use it in GitHub Desktop.
Ruff + wemake-python-styleguide
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
[lint] | |
# For flake8-string-format, flake8-broken-line, rst-docstrings, darglint, wemake: see setup.cfg | |
select = [ | |
"B", # bugbear | |
"C", # mccabe | |
"C4", # comprehensions, | |
"COM", # commas, | |
"D", # docstrings | |
"E", # pycodestyle errors | |
"ERA", # eradicate | |
"F", # pyflakes | |
"I", # isort | |
"N8", # naming | |
"Q", # quotes | |
"S", # bandit | |
"T100", # debugger | |
"UP", # pyupgrade | |
"W", # pycodestyle warnings | |
] | |
ignore = [ | |
# add other ignores here | |
] | |
[lint.pydocstyle] | |
convention = "google" | |
[lint.isort] | |
# multi_line_output = 3 # default | |
# include_trailing_comma = true # handled by flake8-commas | |
# use_parentheses = true # default |
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
[flake8] | |
format = wemake | |
inline-quotes = double | |
ignore = | |
# Handled by Ruff – see ruff.toml (E3xx not supported yet): | |
B, C, D, | |
E1, E2, E4, E5, E7, E9, | |
F, I, N8, Q, S, T100, UP, W, | |
# add other ignores here | |
[mypy] | |
plugins = pydantic.mypy,sqlmypy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment