Skip to content

Commit

Permalink
replace various clean code tools with ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
jschneidereit committed Jul 25, 2024
1 parent 5662f94 commit 8e2eea4
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,22 +56,10 @@ jobs:
- uses: actions/setup-python@v3

- name: Lint code
uses: psf/black@stable

- name: Flake code
run: |
python -m pip install flake8 Flake8-pyproject flake8-typing-imports
python -m flake8 src tests
- name: Check import ordering
uses: isort/isort-action@master
with:
configuration: --check-only

- name: Validate pyproject.toml
run: |
python -m pip install validate-pyproject[all]
python -m validate_pyproject pyproject.toml
python -m pip install ruff
ruff check
ruff format --check
conda-dev-test:
name: Conda Setup & Code Coverage
Expand Down

0 comments on commit 8e2eea4

Please sign in to comment.