mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Cease using flake8 (#13204)
This commit is contained in:
22
.github/workflows/lint.yml
vendored
22
.github/workflows/lint.yml
vendored
@@ -45,28 +45,6 @@ jobs:
|
||||
- name: Format with Ruff
|
||||
run: ruff format . --diff
|
||||
|
||||
flake8:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3"
|
||||
- name: Install uv
|
||||
run: >
|
||||
curl --no-progress-meter --location --fail
|
||||
--proto '=https' --tlsv1.2
|
||||
"https://astral.sh/uv/install.sh"
|
||||
| sh
|
||||
- name: Install dependencies
|
||||
run: uv pip install --upgrade "flake8>=6.0"
|
||||
- name: Lint with flake8
|
||||
run: flake8 .
|
||||
|
||||
mypy:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
||||
Reference in New Issue
Block a user