Skip to content

Commit

Permalink
chore: use a separate action for ruff linting
Browse files Browse the repository at this point in the history
  • Loading branch information
blueraft committed Nov 14, 2023
1 parent 598bf19 commit 6d814d8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/python-actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,16 @@ jobs:
pip install .[dev]
pip install ./nomad[parsing,infrastructure]
pip install types-PyYAML
- name: ruff
run: |
python -m ruff check .
- name: mypy
run: |
python -m mypy --ignore-missing-imports --follow-imports=silent --no-strict-optional *parsers tests
- name: Test with pytest
if: success() || failure()
run: |
python -m pytest -sv tests
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: chartboost/ruff-action@v1

0 comments on commit 6d814d8

Please sign in to comment.