Skip to content

Commit f74cedc

Browse files
committed
Fix pylint errors and disable specific warnings
1 parent 5bb6006 commit f74cedc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/pylint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
python -m pip install --upgrade pip
1717
pip install pylint
1818
- name: Lint with Pylint
19-
run: pylint **/*.pye
19+
run: pylint --disable=R,C,W,E0401 **/*.py

comfy_cli/workspace_manager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ def check_comfy_repo(path):
6464
else:
6565
return False, None
6666
# Not in a git repo at all
67+
# pylint: disable=E1101 # no-member
6768
except git.exc.InvalidGitRepositoryError:
6869
return False, None
6970

0 commit comments

Comments
 (0)