refactor(ci): remove unused comments
This commit is contained in:
parent
eca9fb48cf
commit
fb20c458be
1 changed files with 0 additions and 7 deletions
7
.github/workflows/python-lint-format.yml
vendored
7
.github/workflows/python-lint-format.yml
vendored
|
|
@ -26,17 +26,10 @@ jobs:
|
|||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install black flake8
|
||||
# Optional: If your linter needs project dependencies, install them:
|
||||
# if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||
# Or for Poetry: if [ -f poetry.lock ]; then pip install poetry && poetry install --no-root; fi
|
||||
# Or for PDM: if [ -f pdm.lock ]; then pip install pdm && pdm install --no-self; fi
|
||||
|
||||
- name: Lint with Flake8
|
||||
run: |
|
||||
# Stop the build if there are Python syntax errors or undefined names
|
||||
# Exit-zero treats all errors as warnings. Increase complexity threshold.
|
||||
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||
# Check for other issues, but don't fail the build (exit-zero)
|
||||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=88 --statistics
|
||||
|
||||
- name: Check formatting with Black
|
||||
|
|
|
|||
Loading…
Reference in a new issue