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 868e98f
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,26 +52,7 @@ jobs:
ensure-clean-code:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- 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
- uses: davidslusser/actions_python_ruff@v1.0.2

conda-dev-test:
name: Conda Setup & Code Coverage
Expand Down

0 comments on commit 868e98f

Please sign in to comment.