Skip to content

Commit

Permalink
Bump Ruff to 0.1.14 and remove flake8-simplify (#11906)
Browse files Browse the repository at this point in the history
Authored-by: Daniel Eades <[email protected]>
Co-authored-by: Daniel Eades <[email protected]>
  • Loading branch information
AA-Turner and danieleades authored Jan 21, 2024
1 parent 4f08cdf commit fa29004
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 .

Expand Down
2 changes: 1 addition & 1 deletion .ruff.toml
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ clean: clean

.PHONY: style-check
style-check:
@flake8
@ruff

.PHONY: type-check
type-check:
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit fa29004

Please sign in to comment.