Skip to content

Commit

Permalink
update .Ruff.TOML linting config
Browse files Browse the repository at this point in the history
  • Loading branch information
TheVinhLuong102 committed Mar 29, 2024
1 parent 6f1437d commit c550770
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ ignore = [
"S605", # starting a process with a shell, possible injection detected
"S607", # starting a process with a partial executable path
"SIM102", # use a single `if` statement instead of nested `if` statements
"SIM103", # return the condition directly
"SIM108", # use ternary operator `temp = temp["content"] if isinstance(temp, dict) else temp.content` instead of `if`-`else`-block
"SIM105", # use `contextlib.suppress(Exception)` instead of `try`-`except`-`pass`
"SIM112", # use capitalized environment variable
Expand Down

0 comments on commit c550770

Please sign in to comment.