Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
1cde6b2e
Unverified
Commit
1cde6b2e
authored
Jul 16, 2024
by
Chenlei Hu
Committed by
GitHub
Jul 16, 2024
Browse files
Disallow use of eval with pylint (#4033)
parent
c5a48b15
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
.github/workflows/pylint.yml
.github/workflows/pylint.yml
+23
-0
.pylintrc
.pylintrc
+3
-0
No files found.
.github/workflows/pylint.yml
0 → 100644
View file @
1cde6b2e
name
:
Python Linting
on
:
[
push
,
pull_request
]
jobs
:
pylint
:
name
:
Run Pylint
runs-on
:
ubuntu-latest
steps
:
-
name
:
Checkout repository
uses
:
actions/checkout@v4
-
name
:
Set up Python
uses
:
actions/setup-python@v2
with
:
python-version
:
3.x
-
name
:
Install Pylint
run
:
pip install pylint
-
name
:
Run Pylint
run
:
pylint --rcfile=.pylintrc $(find . -type f -name "*.py")
.pylintrc
0 → 100644
View file @
1cde6b2e
[MESSAGES CONTROL]
disable=all
enable=eval-used
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment