From 868e98f74369761e9fbb8af570655cecd22300e2 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 | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a7c3422c..04f56cff 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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