Skip to content

Commit

Permalink
Adopt ruff (#178)
Browse files Browse the repository at this point in the history
* chore: adopt ruff

* fix: linting errors

* chore: update github actions

* chore: remove pylint config
  • Loading branch information
blueraft authored Nov 14, 2023
1 parent 1461802 commit 598bf19
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 387 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/python-actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,12 @@ jobs:
- name: Install dependencies
run: |
pip install --upgrade pip
pip install .[tests]
pip install .[dev]
pip install ./nomad[parsing,infrastructure]
pip install types-PyYAML
- name: pycodestyle
- name: ruff
run: |
python -m pycodestyle --ignore=E501,E701,E731 *parsers tests
- name: pylint
run: |
python -m pylint *parsers tests
python -m ruff check .
- name: mypy
run: |
python -m mypy --ignore-missing-imports --follow-imports=silent --no-strict-optional *parsers tests
Expand Down
371 changes: 0 additions & 371 deletions .pylintrc

This file was deleted.

Loading

0 comments on commit 598bf19

Please sign in to comment.