crunk
6 months ago
38 changed files with 1396 additions and 1358 deletions
@ -1,25 +1,49 @@ |
|||||
[tool.black] |
[tool.ruff] |
||||
line-length = 79 |
line-length = 79 |
||||
target-version = ['py311'] |
target-version = "py311" |
||||
include = '\.pyi?$' |
#include = '\.pyi?$' |
||||
exclude = ''' |
exclude = [ |
||||
/( |
".bzr", |
||||
\.eggs |
".direnv", |
||||
| \.git |
".eggs", |
||||
| \.hg |
".git", |
||||
| \.mypy_cache |
".git-rewrite", |
||||
| \.tox |
".hg", |
||||
| \.venv |
".ipynb_checkpoints", |
||||
| _build |
".mypy_cache", |
||||
| buck-out |
".nox", |
||||
| build |
".pants.d", |
||||
| dist |
".pyenv", |
||||
|
".pytest_cache", |
||||
# The following are specific to Black, you probably don't want those. |
".pytype", |
||||
| blib2to3 |
".ruff_cache", |
||||
| tests/data |
".svn", |
||||
| profiling |
".tox", |
||||
)/ |
".venv", |
||||
''' |
".vscode", |
||||
|
"__pypackages__", |
||||
|
"_build", |
||||
|
"buck-out", |
||||
|
"build", |
||||
|
"dist", |
||||
|
"node_modules", |
||||
|
"site-packages", |
||||
|
"venv", |
||||
|
] |
||||
|
|
||||
|
[tool.ruff.lint] |
||||
|
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default. |
||||
|
select = ["E4", "E7", "E9", "F"] |
||||
|
ignore = [] |
||||
|
# Allow fix for all enabled rules (when `--fix`) is provided. |
||||
|
fixable = ["ALL"] |
||||
|
unfixable = [] |
||||
|
# Allow unused variables when underscore-prefixed. |
||||
|
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" |
||||
|
|
||||
|
[tool.ruff.format] |
||||
|
quote-style = "double" |
||||
|
indent-style = "tab" |
||||
|
docstring-code-format = true |
||||
|
line-ending = "auto" |
||||
|
skip-magic-trailing-comma = false |
||||
|
Loading…
Reference in new issue