mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-08-03 23:49:57 +08:00
Replace pylint with ruff (#5987)
This commit is contained in:
@@ -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 .
|
@@ -1,3 +0,0 @@
|
|||||||
[MESSAGES CONTROL]
|
|
||||||
disable=all
|
|
||||||
enable=eval-used, unused-import
|
|
@@ -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",
|
||||||
|
Reference in New Issue
Block a user