Skip to content

Commit

Permalink
MAINT: revert change to Ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Dec 3, 2024
1 parent 976b158 commit 53a17fd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/compwa_policy/check_dev_files/ruff.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,13 +371,12 @@ def __update_per_file_ignores(
"PLW0603", # global-statement
"S101", # `assert` detected
"T20", # print found
"TC00", # type-checking block
"TCH00", # type-checking block
*___get_existing_nbqa_ignores(pyproject),
},
banned_ignores={
"F821", # identify variables that are not defined
"ISC003", # explicit-string-concatenation
"TCH00", # https://astral.sh/blog/ruff-v0.8.0#new-error-codes-for-flake8-type-checking-rules
},
)
docs_dir = "docs"
Expand Down Expand Up @@ -616,7 +615,7 @@ def __add_nbqa_isort_pre_commit(precommit: ModifiablePrecommit) -> None:
excludes = nbqa_hook.get("exclude")
expected_repo = Repo(
repo="https://github.com/nbQA-dev/nbQA",
rev="1.9.1",
rev="1.9.0",
hooks=[Hook(id="nbqa-isort", args=read_preserved_yaml("[--float-to-top]"))],
)
if excludes is not None:
Expand Down

0 comments on commit 53a17fd

Please sign in to comment.