Skip to content

Commit

Permalink
DEV: modifies CI to execute flake8 on PR updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Gui-FernandesBR committed Jul 6, 2024
1 parent 0077faa commit 1addd37
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,16 @@ jobs:
python -m pip install --upgrade pip
pip install .[all]
pip install .[tests]
pip install pylint isort
pip install pylint isort flake8 black
- name: Run isort
run: isort --check-only rocketpy/ tests/ docs/ --profile black
- name: Run black
uses: psf/black@stable
with:
options: "--check rocketpy/ tests/ docs/"
jupyter: true
- name: Run flake8
run: flake8 rocketpy/ tests/
- name: Run pylint
run: |
pylint rocketpy/

0 comments on commit 1addd37

Please sign in to comment.