mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Cease using isort
This commit is contained in:
parent
05d5e2f360
commit
868199ec18
16
.github/workflows/lint.yml
vendored
16
.github/workflows/lint.yml
vendored
@ -50,22 +50,6 @@ jobs:
|
||||
- name: Lint with flake8
|
||||
run: flake8 .
|
||||
|
||||
isort:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3"
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install --upgrade isort
|
||||
- name: Lint with isort
|
||||
run: isort --check-only --diff .
|
||||
|
||||
mypy:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
@ -82,7 +82,6 @@ docs = [
|
||||
lint = [
|
||||
"flake8>=3.5.0",
|
||||
"flake8-simplify",
|
||||
"isort",
|
||||
"ruff==0.1.9",
|
||||
"mypy==1.8.0",
|
||||
"sphinx-lint",
|
||||
@ -130,11 +129,6 @@ exclude = [
|
||||
"doc/_build",
|
||||
]
|
||||
|
||||
[tool.isort]
|
||||
line_length = 95
|
||||
profile = "black"
|
||||
remove_redundant_aliases = true
|
||||
|
||||
[tool.mypy]
|
||||
check_untyped_defs = true
|
||||
disallow_incomplete_defs = true
|
||||
|
Loading…
Reference in New Issue
Block a user