The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Disallow use of eval with pylint (#4033)
Chenlei Hu1cde6b2eff57
diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.ymlnew file mode 100644index 000000000..5effbea35--- /dev/null+++ b/.github/workflows/pylint.yml@@ -0,0 +1,23 @@+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")diff --git a/.pylintrc b/.pylintrcnew file mode 100644index 000000000..a5da56e57--- /dev/null+++ b/.pylintrc@@ -0,0 +1,3 @@+[MESSAGES CONTROL]+disable=all+enable=eval-used