Skip to content

Commit 024359c

Browse files
authored
Bump to ruff>=0.8.0 and rename rule TCH to TC (#3662)
1 parent 7db84f7 commit 024359c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dependencies:
2727
# Dev dependencies (style checks)
2828
- codespell
2929
- pre-commit
30-
- ruff>=0.3.0
30+
- ruff>=0.8.0
3131
# Dev dependencies (unit testing)
3232
- matplotlib-base
3333
- pytest>=6.0

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ select = [
117117
"S", # flake8-bandit
118118
"SIM", # flake8-simplify
119119
"T20", # flake8-print
120-
"TCH", # flake8-type-checking
120+
"TC", # flake8-type-checking
121121
"TID", # flake8-tidy-imports
122122
"UP", # pyupgrade
123123
"W", # pycodestyle warnings

0 commit comments

Comments
 (0)