Skip to content

Commit 8e2eea4

Browse files
committed
replace various clean code tools with ruff
1 parent 5662f94 commit 8e2eea4

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

.github/workflows/build.yml

+3-15
Original file line numberDiff line numberDiff line change
@@ -56,22 +56,10 @@ jobs:
5656
- uses: actions/setup-python@v3
5757

5858
- name: Lint code
59-
uses: psf/black@stable
60-
61-
- name: Flake code
62-
run: |
63-
python -m pip install flake8 Flake8-pyproject flake8-typing-imports
64-
python -m flake8 src tests
65-
66-
- name: Check import ordering
67-
uses: isort/isort-action@master
68-
with:
69-
configuration: --check-only
70-
71-
- name: Validate pyproject.toml
7259
run: |
73-
python -m pip install validate-pyproject[all]
74-
python -m validate_pyproject pyproject.toml
60+
python -m pip install ruff
61+
ruff check
62+
ruff format --check
7563
7664
conda-dev-test:
7765
name: Conda Setup & Code Coverage

0 commit comments

Comments
 (0)