| [build-system] |
| requires = ["setuptools"] |
| build-backend = "setuptools.build_meta" |
|
|
| [tool.ruff] |
| line-length = 119 |
| target-version = "py310" |
| indent-width = 4 |
| exclude = [ |
| ".bzr", |
| ".direnv", |
| ".eggs", |
| ".git", |
| ".git-rewrite", |
| ".hg", |
| ".ipynb_checkpoints", |
| ".mypy_cache", |
| ".nox", |
| ".pants.d", |
| ".pyenv", |
| ".pytest_cache", |
| ".pytype", |
| ".ruff_cache", |
| ".svn", |
| ".tox", |
| ".venv", |
| ".vscode", |
| "__pypackages__", |
| "_build", |
| "buck-out", |
| "build", |
| "dist", |
| "node_modules", |
| "site-packages", |
| "venv", |
| "external", |
| "third_party", |
| ] |
|
|
| [tool.ruff.lint] |
| preview = true |
| ignore-init-module-imports = true |
| extend-select = [ |
| "B009", |
| "B010", |
| "CPY", |
| "E", |
| "F", |
| "I", |
| "TID251", |
| "UP", |
| "W", |
| ] |
| ignore = [ |
| "E501", |
| "E741", |
| "W605", |
| "UP007", |
| ] |
|
|
| [tool.ruff.lint.per-file-ignores] |
| "__init__.py" = [ |
| "F401", |
| ] |
|
|
| [tool.ruff.lint.isort] |
| lines-after-imports = 2 |
| known-first-party = ["character_tuning"] |
|
|
| [tool.ruff.format] |
| |
| quote-style = "double" |
|
|
| |
| indent-style = "space" |
|
|
| |
| skip-magic-trailing-comma = false |
|
|
| |
| line-ending = "auto" |
|
|
| |
| |
| |
| |
| |
| docstring-code-format = false |
|
|
| |
| |
| |
| |
| |
| docstring-code-line-length = "dynamic" |
|
|
| [tool.ruff.lint.flake8-tidy-imports.banned-api] |
| "os.getenv".msg = "Use os.environ instead" |
| "os.putenv".msg = "Use os.environ instead" |
| "os.unsetenv".msg = "Use os.environ instead" |
|
|
|
|