mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-12-29 19:05:05 +08:00
Update ruff to 0.1.6
This commit is contained in:
parent
8aa51f682c
commit
8fe1e19522
2
.github/workflows/on_pull_request.yaml
vendored
2
.github/workflows/on_pull_request.yaml
vendored
@ -20,7 +20,7 @@ jobs:
|
||||
# not to have GHA download an (at the time of writing) 4 GB cache
|
||||
# of PyTorch and other dependencies.
|
||||
- name: Install Ruff
|
||||
run: pip install ruff==0.0.272
|
||||
run: pip install ruff==0.1.6
|
||||
- name: Run Ruff
|
||||
run: ruff .
|
||||
lint-js:
|
||||
|
@ -16,6 +16,7 @@ exclude = [
|
||||
|
||||
ignore = [
|
||||
"E501", # Line too long
|
||||
"E721", # Do not compare types, use `isinstance`
|
||||
"E731", # Do not assign a `lambda` expression, use a `def`
|
||||
|
||||
"I001", # Import block is un-sorted or un-formatted
|
||||
|
Loading…
Reference in New Issue
Block a user