Skip to content

Commit

Permalink
Merge pull request #98 from sbrunner/add-ruff
Browse files Browse the repository at this point in the history
Add Ruff
  • Loading branch information
sbrunner authored Nov 14, 2024
2 parents 94c1b31 + cdb2de2 commit d3ff1c1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions prospector_profile_duplicated/pylint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,9 @@ pyflakes:
- F401 # unused import, with: unused-import
- F811 # redefinition of unused, with: redefined-outer-name
- F841 # local variable is assigned to but never used, with unused-variable

ruff:
disable:
- B904 # Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling [See: https://docs.astral.sh/ruff/rules/raise-without-from-inside-except]
- S602 # `subprocess` call with `shell=True` identified, security issue [See: https://docs.astral.sh/ruff/rules/subprocess-popen-with-shell-equals-true]
- SIM115 # Use a context manager for opening files [See: https://docs.astral.sh/ruff/rules/open-file-with-context-handler]

0 comments on commit d3ff1c1

Please sign in to comment.