refactor(ci): remove unused comments

This commit is contained in:
Eugene Evstafev 2025-04-18 14:25:39 +01:00
parent eca9fb48cf
commit fb20c458be

View file

@ -26,17 +26,10 @@ jobs:
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install black flake8 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 - name: Lint with Flake8
run: | 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 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 flake8 . --count --exit-zero --max-complexity=10 --max-line-length=88 --statistics
- name: Check formatting with Black - name: Check formatting with Black