Bump Ruff to 0.1.14 and remove flake8-simplify (#11906)

Authored-by: Daniel Eades <danieleades@hotmail.com>
Co-authored-by: Daniel Eades <danieleades@hotmail.com>
This commit is contained in:
Adam Turner 2024-01-21 20:42:23 +00:00 committed by GitHub
parent 4f08cdff13
commit fa29004951
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 6 deletions

View File

@ -29,7 +29,7 @@ jobs:
run: python -m pip install --upgrade pip
- name: Install Ruff
run: python -m pip install "ruff==0.1.13"
run: python -m pip install "ruff==0.1.14"
- name: Lint with Ruff
run: ruff . --output-format github
@ -46,7 +46,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade "flake8>=3.5.0" "flake8-simplify"
python -m pip install --upgrade "flake8>=3.5.0"
- name: Lint with flake8
run: flake8 .

View File

@ -1,6 +1,6 @@
target-version = "py39" # Pin Ruff to Python 3.9
line-length = 95
required-version = "0.1.13"
required-version = "0.1.14"
show-source = true
[lint]

View File

@ -41,7 +41,7 @@ clean: clean
.PHONY: style-check
style-check:
@flake8
@ruff
.PHONY: type-check
type-check:

View File

@ -82,8 +82,7 @@ docs = [
]
lint = [
"flake8>=3.5.0",
"flake8-simplify",
"ruff==0.1.13",
"ruff==0.1.14",
"mypy==1.8.0",
"sphinx-lint",
"docutils-stubs",