Skip to content

Commit

Permalink
Add E and W rules
Browse files Browse the repository at this point in the history
  • Loading branch information
pederhan committed Jan 17, 2025
1 parent c304ebf commit 941e27f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ extend-include = [

[tool.ruff.lint]
extend-select = [
"E", # pydecodestyle (errors)
"W", # pydecodestyle (warnings)
"G", # flake8-logging-format
"I", # isort
"LOG", # flake8-logging
Expand All @@ -91,6 +93,11 @@ extend-select = [
"C4", # flake8-comprehensions
"B", # flake8-bugbear
]
# 2. Avoid enforcing line-length violations (`E501`)
ignore = ["E501"]

# 3. Avoid trying to fix flake8-bugbear (`B`) violations.
unfixable = ["B"]

[tool.ruff.format]
# Enable auto-formatting for docstrings.
Expand Down

0 comments on commit 941e27f

Please sign in to comment.