Skip to content

Commit

Permalink
Update ruff.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Smartappli authored Aug 3, 2024
1 parent 96032d1 commit 251ad77
Showing 1 changed file with 61 additions and 24 deletions.
85 changes: 61 additions & 24 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,67 @@ extend-exclude = ["*.gypi"]
# https://beta.ruff.rs/docs/configuration/#using-rufftoml
[lint]
select = [
"A", # flake8-builtins
"B", # flake8-bugbear
"C4", # flake8-comprehensions
# "C90", # mccabe
"COM", # flake8-commas
# "D", # pydocstyle
# "E", # pycodestyle errors
"EM", # flake8-errmsg
# "F", # Pyflakes
"G", # flake8-logging-format
# "N", # pep8-naming
# "NPY" # Numpy
# "PD" # panda-vet
# "PERF" # perflint
"PIE", # flake8-pie
# "PL", # pylint
"PTH", # flake8-use-pathlib
"RET", # flake8-return
# "RUF",
"SIM", # flake8-simplify
"TCH", # flake8-type-checking
"TID", # flake8-tidy-imports
# "UP", # pyupgrade
# "W", # pycodestyle warnings
"A", # flake8-builtins
"AIR", # Airflow
"ANN", # flake8-annotations
"ARG", # flake8-unused-arguments
"ASYNC", # flake8-async
"B", # flake8-bugbear
"BLE", # flake8-blind-except
"C4", # flake8-comprehensions
"C90", # McCabe cyclomatic complexity
"COM", # flake8-commas
"CPY", # flake8-copyright
"D", # pydocstyle
"DJ", # flake8-django
"DOC", # pydoclint
"DTZ", # flake8-datetimez
"E", # pycodestyle
"EM", # flake8-errmsg
"ERA", # eradicate
"EXE", # flake8-executable
"F", # Pyflakes
"FA", # flake8-future-annotations
"FAST", # FastAPI
"FBT", # flake8-boolean-trap
"FIX", # flake8-pp
"FLY", # flynt
"FURB", # refurb
"G", # flake8-logging-format
"I", # isort
"ICN", # flake8-import-conventions
"INP", # flake8-no-pep420
"INT", # flake8-gettext
"ISC", # flake8-implicit-str-concat
"LOG", # flake8-logging
"N", # pep8-naming
"NPY", # NumPy-specific rules
"PD", # pandas-vet
"PERF", # Perflint
"PGH", # pygrep-hooks
"PIE", # flake8-pie
"PL", # Pylint
"PT", # flake8-pytest-style
"PTH", # flake8-use-pathlib
"PYI", # flake8-pyi
"Q", # flake8-quotes
"R", # Refactor
"RET", # flake8-return
"RSE", # flake8-raise
"RUF", # Ruff-specific rules
"S", # flake8-bandit
"SIM", # flake8-simplify
"SLF", # flake8-self
"SLOT", # flake8-slots
"T10", # flake8-debugger
"T20", # flake8-print
"TCH", # flake8-type-checking
"TD", # flake8-todos
"TID", # flake8-tidy-imports
"TRY", # tryceratops
"UP", # pyupgrade
"W", # pycodestyle
"YTT", # flake8-2020
]
ignore = [
"B904", # check for raise statements in exception handlers that lack a from clause
Expand Down

0 comments on commit 251ad77

Please sign in to comment.