Skip to content

Commit

Permalink
fix: update pyproject.toml to solve issue django-cms#216
Browse files Browse the repository at this point in the history
  • Loading branch information
raffaellasuardini committed Feb 19, 2024
1 parent f7ff440 commit becc14b
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[tool.ruff]
line-length = 119

[tool.ruff.lint]
select=[
"E", # pycodestyle errors
Expand All @@ -10,14 +13,15 @@ select=[
"PLR", # pylint refactor
"PLW", # pylint warning
"UP", # pyupgrade

]

extend-ignore = [
"PLR0915",
"C901",
"PLR0913",
"PLW1510",
"I001" ,
"PLR0912" ,
"E501"
"C901", # Too complex
"PLR0911", # Too many return statements
"PLR0912", # Too many branches
"PLR0913", # Too many arguments to function call
"PLR0915", # Too many statements
# TODO
"PLW1510" # subprocess.run without explicit argument
]

0 comments on commit becc14b

Please sign in to comment.