From 8e2eea4f68e6c7e88b9ad8288eadae7966bcdca8 Mon Sep 17 00:00:00 2001 From: jschneidereit Date: Thu, 25 Jul 2024 12:20:51 -0700 Subject: [PATCH] replace various clean code tools with ruff --- .github/workflows/build.yml | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a7c3422c..daeadfeb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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