mirror of
https://github.com/Pythagora-io/gpt-pilot.git
synced 2026-01-10 05:27:54 -05:00
Merge pull request #163 from Pythagora-io/feature/linting-with-ruff
linting with ruff
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -55,9 +55,9 @@ jobs:
|
||||
pip install flake8 ruff
|
||||
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||
# stop the build if there are Python syntax errors or undefined names
|
||||
ruff --format=github --select=E9,F63,F7,F82 --target-version=py37 .
|
||||
ruff --output-format=github --select=E9,F63,F7,F82 --target-version=py37 ./pilot
|
||||
# default set of ruff rules with GitHub Annotations
|
||||
#ruff --format=github --target-version=py37 --ignore=F401,E501 .
|
||||
ruff --output-format=github --target-version=py37 --ignore=F401,E402,E501 ./pilot
|
||||
|
||||
- name: Run tests
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user