Skip to content

Commit

Permalink
Merge pull request #75 from blueraft/adopt-ruff
Browse files Browse the repository at this point in the history
Adopt ruff
  • Loading branch information
ladinesa committed Nov 15, 2023
2 parents 0ef1d68 + 0c6977c commit 65f9e51
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 383 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/python-actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on: [push]

jobs:
build:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -21,17 +20,16 @@ jobs:
- name: Install dependencies
run: |
pip install --upgrade pip
pip install .[tests]
pip install .[dev]
pip install ./nomad[parsing,infrastructure]
- name: pycodestyle
run: |
python -m pycodestyle --ignore=E501,E701,E731 *parsers tests
- name: pylint
run: |
python -m pylint *parsers tests
- name: mypy
run: |
python -m mypy --ignore-missing-imports --follow-imports=silent --no-strict-optional *parsers tests
- name: Test with pytest
run: |
python -m pytest -sv tests
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: chartboost/ruff-action@v1
Loading

0 comments on commit 65f9e51

Please sign in to comment.