Skip to content

Commit

Permalink
build(py): update ruff default rules
Browse files Browse the repository at this point in the history
  • Loading branch information
pplmx committed Nov 12, 2024
1 parent 12f9a5c commit eb5e871
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion template/py/{{cookiecutter.project_slug}}/ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,14 @@ target-version = "py{{cookiecutter.python_version | replace('.', '')}}"
line-length = 120

[lint]
select = ["E", "F", "W", "C", "N", "Q", "I"]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"ARG001", # unused arguments in functions
]
ignore = []

0 comments on commit eb5e871

Please sign in to comment.