Skip to content

Commit

Permalink
update ruff rules
Browse files Browse the repository at this point in the history
  • Loading branch information
sainak committed Sep 3, 2023
1 parent f3ba502 commit 0261690
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ select = [
unfixable = [
"T20" # don't remove print statements
]
ignore = ["E203", "E501", "E231"]
ignore = ["E203", "E501", "E231", "FBT002", "SIM105", "PLR0913"]
extend-exclude = ["*/migrations*/*", "docs"]
include = ["*.py", "pyproject.toml"]


[tool.ruff.flake8-builtins]
builtins-ignorelist = ["id"]
builtins-ignorelist = ["id", "list", "filter"]


[tool.ruff.flake8-quotes]
Expand All @@ -63,3 +63,4 @@ docstring-quotes = "double"

[tool.ruff.per-file-ignores]
"**/__init__.py" = ["E402", "F401"]
"**/tests/**" = ["DTZ001"]

0 comments on commit 0261690

Please sign in to comment.