Skip to content

Commit fa29004

Browse files
Bump Ruff to 0.1.14 and remove flake8-simplify (sphinx-doc#11906)
Authored-by: Daniel Eades <[email protected]> Co-authored-by: Daniel Eades <[email protected]>
1 parent 4f08cdf commit fa29004

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
run: python -m pip install --upgrade pip
3030

3131
- name: Install Ruff
32-
run: python -m pip install "ruff==0.1.13"
32+
run: python -m pip install "ruff==0.1.14"
3333

3434
- name: Lint with Ruff
3535
run: ruff . --output-format github
@@ -46,7 +46,7 @@ jobs:
4646
- name: Install dependencies
4747
run: |
4848
python -m pip install --upgrade pip
49-
python -m pip install --upgrade "flake8>=3.5.0" "flake8-simplify"
49+
python -m pip install --upgrade "flake8>=3.5.0"
5050
- name: Lint with flake8
5151
run: flake8 .
5252

.ruff.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
target-version = "py39" # Pin Ruff to Python 3.9
22
line-length = 95
3-
required-version = "0.1.13"
3+
required-version = "0.1.14"
44
show-source = true
55

66
[lint]

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ clean: clean
4141

4242
.PHONY: style-check
4343
style-check:
44-
@flake8
44+
@ruff
4545

4646
.PHONY: type-check
4747
type-check:

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ docs = [
8282
]
8383
lint = [
8484
"flake8>=3.5.0",
85-
"flake8-simplify",
86-
"ruff==0.1.13",
85+
"ruff==0.1.14",
8786
"mypy==1.8.0",
8887
"sphinx-lint",
8988
"docutils-stubs",

0 commit comments

Comments
 (0)