Skip to content

Commit

Permalink
feat: update dependencies for project
Browse files Browse the repository at this point in the history
  • Loading branch information
rolin999 committed Nov 19, 2024
1 parent 82d6e70 commit 8c511b5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/idp-plugins/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module = [
]
ignore_errors = true

[tool.ruff]
[tool.ruff.lint]
# Enable Pyflakes `E` and `F` codes by default.
select = ["E", "F", "W", "I", "C90", "PL", "RET", "N", "C4", "PT", "PERF", "G", "TRY", "SIM", "B", "PIE"]
# All Rule: https://beta.ruff.rs/docs/rules/
Expand All @@ -47,7 +47,7 @@ ignore = [
# Consider moving this statement to an else block
"TRY300",
# Use raise from to specify exception cause
"TRY200",
"B904",
# Avoid specifying long messages outside the exception class
"TRY003",
# Use contextlib.suppress({exception}) instead of try-except-pass
Expand All @@ -61,6 +61,8 @@ ignore = [
# raise-without-from-inside-except
"B904"
]

[tool.ruff]
# Same as Black.
line-length = 119
# show an enumeration of all autofixed lint violations
Expand Down Expand Up @@ -93,11 +95,11 @@ exclude = [
]
force-exclude = true

[tool.ruff.mccabe]
[tool.ruff.lint.mccabe]
# Unlike Flake8, default to a complexity level of 10.
max-complexity = 10

[tool.ruff.isort]
[tool.ruff.lint.isort]
relative-imports-order = "closest-to-furthest"

[tool.importlinter]
Expand Down

0 comments on commit 8c511b5

Please sign in to comment.