Skip to content

Commit

Permalink
Merge pull request #110 from sbrunner/fix
Browse files Browse the repository at this point in the history
Fix ast.literal_eval
  • Loading branch information
sbrunner authored Jan 4, 2025
2 parents a479174 + 4da919b commit cca67d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prospector_profile_duplicated/pylint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ pyflakes:

ruff:
disable:
- B307 # Use of possibly insecure function - consider using safer ast.literal_eval [See: https://docs.astral.sh/ruff/rules/suspicious-eval-usage]
- 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]
- E722 # Do not use bare `except` [See: https://docs.astral.sh/ruff/rules/bare-except]
- S110 # `try`-`except`-`pass` detected, consider logging the exception [See: https://docs.astral.sh/ruff/rules/try-except-pass]
- S307 # Use of possibly insecure function - consider using safer ast.literal_eval [See: https://docs.astral.sh/ruff/rules/suspicious-eval-usage]
- S602 # `subprocess` call with `shell=True` identified, security issue [See: https://docs.astral.sh/ruff/rules/subprocess-popen-with-shell-equals-true]
- S603 # `subprocess` call: check for execution of untrusted input [See: https://docs.astral.sh/ruff/rules/subprocess-without-shell-equals-true]
- S607 # Starting a process with a partial executable path [See: https://docs.astral.sh/ruff/rules/start-process-with-partial-path]-
Expand Down

0 comments on commit cca67d2

Please sign in to comment.