mirror of
https://github.com/codespell-project/codespell.git
synced 2025-05-17 15:36:17 +08:00
Remove redundant linting CI workflows handled by pre-commit.ci (#2969)
This commit is contained in:
15
.github/workflows/black.yml
vendored
15
.github/workflows/black.yml
vendored
@ -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
|
17
.github/workflows/codespell-private.yml
vendored
17
.github/workflows/codespell-private.yml
vendored
@ -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 .
|
||||
|
26
.github/workflows/mypy.yml
vendored
26
.github/workflows/mypy.yml
vendored
@ -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 .
|
15
.github/workflows/ruff.yml
vendored
15
.github/workflows/ruff.yml
vendored
@ -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 .
|
Reference in New Issue
Block a user