mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-25 15:55:18 +00:00
Replace pylint with ruff (#5987)
This commit is contained in:
parent
23827ca312
commit
a220d11e6b
@ -3,8 +3,8 @@ name: Python Linting
|
|||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
pylint:
|
ruff:
|
||||||
name: Run Pylint
|
name: Run Ruff
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -16,8 +16,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: 3.x
|
python-version: 3.x
|
||||||
|
|
||||||
- name: Install Pylint
|
- name: Install Ruff
|
||||||
run: pip install pylint
|
run: pip install ruff
|
||||||
|
|
||||||
- name: Run Pylint
|
- name: Run Ruff
|
||||||
run: pylint --rcfile=.pylintrc $(find . -type f -name "*.py")
|
run: ruff check .
|
@ -19,7 +19,6 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"#@title Environment Setup\n",
|
"#@title Environment Setup\n",
|
||||||
"\n",
|
"\n",
|
||||||
"from pathlib import Path\n",
|
|
||||||
"\n",
|
"\n",
|
||||||
"OPTIONS = {}\n",
|
"OPTIONS = {}\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user