From c5febe68414ac95f54fc9a8df1d9cc51fca8de65 Mon Sep 17 00:00:00 2001 From: Kurt McKee Date: Tue, 8 Aug 2023 13:29:23 -0500 Subject: [PATCH] Remove redundant linting CI workflows handled by pre-commit.ci (#2969) --- .github/workflows/black.yml | 15 -------------- .github/workflows/codespell-private.yml | 17 ---------------- .github/workflows/mypy.yml | 26 ------------------------- .github/workflows/ruff.yml | 15 -------------- 4 files changed, 73 deletions(-) delete mode 100644 .github/workflows/black.yml delete mode 100644 .github/workflows/mypy.yml delete mode 100644 .github/workflows/ruff.yml diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml deleted file mode 100644 index 4d4bf42591..0000000000 --- a/.github/workflows/black.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: black - -on: - - push - - pull_request -permissions: {} - -jobs: - black: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - persist-credentials: false - - uses: psf/black@stable diff --git a/.github/workflows/codespell-private.yml b/.github/workflows/codespell-private.yml index c81688fbc4..3daf8165a7 100644 --- a/.github/workflows/codespell-private.yml +++ b/.github/workflows/codespell-private.yml @@ -73,20 +73,3 @@ jobs: run: pip install -e ".[dev]" - uses: codespell-project/sort-problem-matcher@v1 - run: make check-dictionaries - - ruff-annotation: - env: - RUFF_FORMAT: github - runs-on: ubuntu-latest - steps: - - name: Setup python - uses: actions/setup-python@v4 - with: - python-version: 3.x - - uses: actions/checkout@v3 - with: - persist-credentials: false - - name: Install codespell dependencies - run: pip install -e ".[dev]" - - name: Ruff with annotations - run: ruff --select=ANN --ignore=ANN101,ANN401 . diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml deleted file mode 100644 index e56ccfe019..0000000000 --- a/.github/workflows/mypy.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: mypy - -on: - - push - - pull_request - -permissions: {} - -jobs: - mypy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - persist-credentials: false - - - name: Setup python - uses: actions/setup-python@v4 - with: - python-version: '3.8' - - - name: Install dependencies - run: pip install -e .[types] - - - name: Run mypy - run: mypy . diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml deleted file mode 100644 index a11f951446..0000000000 --- a/.github/workflows/ruff.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: ruff -on: - push: - branches: - - master - pull_request: - branches: - - master -jobs: - ruff: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - run: pip install --user ruff - - run: ruff --format=github .