mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 13:24:57 +00:00
Update pre-commit dependencies (#10822)
This commit is contained in:
parent
e13e57e024
commit
3fd22973da
2 changed files with 4 additions and 2 deletions
|
@ -41,7 +41,7 @@ repos:
|
|||
)$
|
||||
|
||||
- repo: https://github.com/crate-ci/typos
|
||||
rev: v1.19.0
|
||||
rev: v1.20.4
|
||||
hooks:
|
||||
- id: typos
|
||||
|
||||
|
@ -55,7 +55,7 @@ repos:
|
|||
pass_filenames: false # This makes it a lot faster
|
||||
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.3.4
|
||||
rev: v0.3.5
|
||||
hooks:
|
||||
- id: ruff-format
|
||||
- id: ruff
|
||||
|
|
|
@ -3,9 +3,11 @@
|
|||
extend-exclude = ["**/resources/**/*", "**/snapshots/**/*"]
|
||||
|
||||
[default.extend-words]
|
||||
"arange" = "arange" # e.g. `numpy.arange`
|
||||
hel = "hel"
|
||||
whos = "whos"
|
||||
spawnve = "spawnve"
|
||||
ned = "ned"
|
||||
pn = "pn" # `import panel as pd` is a thing
|
||||
poit = "poit"
|
||||
BA = "BA" # acronym for "Bad Allowed", used in testing.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue