Skip to content

Commit 8328ea0

Browse files
authored
Merge pull request #1143 from sanders41/ruff
Bump ruff 0.7.4 -> 0.8.0 and add RUF022 and RUF023
2 parents dce5a49 + ff99fa0 commit 8328ea0

File tree

3 files changed

+122
-114
lines changed

3 files changed

+122
-114
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repos:
1414
- id: mypy
1515
additional_dependencies: [pydantic, orjson, types-aiofiles, types-ujson]
1616
- repo: https://github.com/astral-sh/ruff-pre-commit
17-
rev: v0.7.4
17+
rev: v0.8.0
1818
hooks:
1919
- id: ruff
2020
args: [--fix, --exit-non-zero-on-fix]

pyproject.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ dev = [
4949
"pytest-cov==6.0.0",
5050
"pytest-asyncio==0.24.0",
5151
"pytest-xdist==3.6.1",
52-
"ruff==0.7.4",
52+
"ruff==0.8.0",
5353
"types-aiofiles==24.1.0.20240626",
5454
"typing-extensions==4.12.2",
5555
"types-ujson==5.10.0.20240515",
@@ -98,9 +98,11 @@ select=[
9898
"F", # pyflakes
9999
"UP", # pyupgrade
100100
"I001", # unsorted-imports
101-
"T201",
102-
"T203",
103-
"ASYNC" # flake8-async
101+
"T201", # Don't allow print
102+
"T203", # Don't allow pprint
103+
"ASYNC", # flake8-async
104+
"RUF022", # Unsorted __all__
105+
"RUF023", # Unforted __slots__
104106
]
105107
ignore=[
106108
# Recommened ignores by ruff when using formatter

0 commit comments

Comments
 (0)