Skip to content

Commit

Permalink
enable all ruff rules
Browse files Browse the repository at this point in the history
It's better to start with stricter set of rules, and ignore rules as the codebase grows. Teams can makee their own set of rules that they use.
  • Loading branch information
skshetry authored Dec 2, 2023
1 parent 7a3d04f commit 340affb
Showing 1 changed file with 1 addition and 38 deletions.
39 changes: 1 addition & 38 deletions {{cookiecutter.project_name}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -102,44 +102,7 @@ ignore = [
"SIM105", # suppressible-exception
"SIM108", # if-else-block-instead-of-if-exp
]
select = [
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"C90", # mccabe
"W", # pycodestyle - Warning
"E", # pycodestyle - Error
"F", # pyflakes
"I", # isort
"T10", # flake8-debugger
"S", # flake8-bandit
"PL", # pylint
"TCH", # flake8-type-checking
"UP", # pyupgrade
"N", # pep8-naming
"PIE", # flake8-pie
"ASYNC", # flake8-async
"EXE", # flake8-executable
"ISC", # flake8-implicit-str-concat
"SIM", # flake8-simplify
"ASYNC", # flake8-async
"INP", # flake8-no-pep420
"EXE", # flake8-executable
"PYI", # flake8-pyi
"RSE", # flake8-raise
"SLOT", # flake8-slots
"PGH", # pygrep hooks
"FLY", # flynt
"RUF", # ruff
"G", # flake8-logging-format
"A", # flake8-builtins
"TRY", # tryceratops
"DTZ", # flake8-datetimez
"RET", # flake8-return
"PT", # flake8-pytest-style
"ARG", # flake8-unused-arguments
"SLF", # flake8-self
"ICN", # flake8-import-conventions
]
select = ["ALL"]
show-source = true
show-fixes = true

Expand Down

0 comments on commit 340affb

Please sign in to comment.