This repository has been archived on 2023-10-10. You can view files and clone it, but cannot push or open issues or pull requests.
paste/pyproject.toml
Ada e61eaa291b
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
remove(lint): deprecated format option
2023-10-01 13:19:37 +02:00

65 lines
1.6 KiB
TOML
Executable file

[tool.ruff]
target-version = "py311"
line-length = 88
ignore = [
"D107", # Missing docstring in `__init__`
"D205", # 1 blank line required between summary line and description
"D401", # First line of docstring should be in imperative mood: "X"
"D203", # one-blank-line-before-class
"D212", # multi-line-summary-second-line
"PLR2004", # magic-value-comparison
]
select = [
"F", # Pyflakes
"E", # pycodestyle
"C90", # mccabe
"I", # isort
"N", # pep8-naming
"D", # pydocstyle
"UP", # pyupgrade
"ANN", # flake8-annotations
"S", # flake8-bandit
"BLE", # flake8-blind-except
"FBT", # flake8-boolean-trap
"B", # flake8-bugbear
"A", # flake8-builtins
"C4", # flake8-comprehensions
"EM", # flake8-errmsg
"ISC", # flake8-implicit-str-concat
"ICN", # flake8-import-conventions
"G", # flake8-logging-format
"INP", # flake8-no-pep420
"PIE", # flake8-pie
"T20", # flake8-print
"PYI", # flake8-pyi
"Q", # flake8-quotes
"RSE", # flake8-raise
"RET", # flake8-return
"SLOT", # flake8-slots
"SIM", # flake8-simplify
"TID", # flake8-tidy-imports
"TCH", # flake8-type-checking
"ARG", # flake8-unused-arguments
"PTH", # flake8-use-pathlib
"TD", # flake8-todos
"FIX", # flake8-fixme
"ERA", # eradicate
"PGH", # pygrep-hooks
"PL", # Pylint
"TRY", # tryceratops
"FLY", # flynt
"PERF", # Perflint
"RUF", # Ruff-specific rules
]
exclude = [
".git",
".ruff_cache",
"venv",
"instances",
"schema.sql"
]
[tool.isort]
profile = "black"