Skip to content

Commit

Permalink
chore: Update ruff configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Jul 2, 2024
1 parent 21d2835 commit 4c05224
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def yield_cells(notebook):

sql = "".join(source[1:])
pg_format = subprocess.run(
["pg_format", "-f", "1"], # noqa: S603 S607
["pg_format", "-f", "1"],
input=sql,
stdout=subprocess.PIPE,
check=True,
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ ignore = [
"F821", # undefined name (e.g. %sql magic assignment)
"ERA001", # commented-out code
"PLR0915", # too many statements
"S603", # subprocess "execution of untrusted input"
"S607", # subprocess "with a partial executable path"
]

[tool.ruff.lint.flake8-builtins]
Expand Down

0 comments on commit 4c05224

Please sign in to comment.