Skip to content

Commit 054a4d0

Browse files
committed
Reorder and add rule F821 Undefined Name
1 parent ddebed1 commit 054a4d0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ repos:
1313
- repo: https://github.com/astral-sh/ruff-pre-commit
1414
rev: v0.9.9
1515
hooks:
16-
- id: ruff-format
1716
- id: ruff
1817
args: ["--fix"]
18+
- id: ruff-format
1919
- repo: https://github.com/fsfe/reuse-tool
2020
rev: v3.0.1
2121
hooks:

ruff.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ extend-select = [
2727
"PLE0604", # invalid-all-object
2828
"PLE0605", # invalid-all-format
2929
"PLE0643", # potential-index-error
30+
"F821", # undefined name
3031
"PLE0704", # misplaced-bare-raise
3132
"PLE1141", # dict-iter-missing-items
3233
"PLE1142", # await-outside-async

0 commit comments

Comments
 (0)