Skip to content

Commit

Permalink
Add Ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Nov 14, 2024
1 parent f57e447 commit cdb2de2
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 cdb2de2

Please sign in to comment.