Skip to content

Commit

Permalink
chore: update ruff IDs in pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
d-Rickyy-b committed Dec 20, 2024
1 parent dbeedff commit b20a315
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ exclude = [
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN", # Annotations
"ARG002", # unused-method-argument
"BLE001", # Do not catch blind exception: `Exception`
"E501", # Line too long
"UP012",
Expand All @@ -98,15 +100,25 @@ ignore = [
"FBT001",
"FBT002",
"FBT003",
"PLR0911",
"D107",
"D100", # undocumented-public-module
"D101", # undocumented-public-class
"D102", # undocumented-public-method
"D104", # undocumented-public-package
"D401", # non-imperative-mood
"D404", # docstring-starts-with-this
"D107", # undocumented-public-init
"D213", # multi-line-summary-second-line
"D203", # one-blank-line-before-class
"ERA001", # Found commented-out code
"FIX", # Disable all flake8-fixme warnings
"TD", # Disable all flake8-todos warnings
"SIM108", # Use ternary operator
"PT009", # pytest-unittest-assertion
"PT027", # pytest-unittest-raises-assertion
"PLR0911", # too-many-return-statements
"PLR0913", # too-many-arguments
"PIE790", # unnecessary-placeholder
"PERF203", # try-except-in-loop
]

[tool.ruff.format]
Expand All @@ -124,3 +136,12 @@ line-ending = "lf"
"**_test.py" = [
"N802", # Function name should be lowercase
]
"certleak/util/request.py" = [
"ARG003", # Unused class method argument
]
"examples/example.py" = [
"INP001", # implicit-namespace-package
]
"certleak/analyzers/tldanalyzer.py" = [
"PERF401", # manual-list-comprehension
]

0 comments on commit b20a315

Please sign in to comment.