forked from msgspec/msgspec
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.ruff.toml
More file actions
29 lines (26 loc) · 657 Bytes
/
Copy path.ruff.toml
File metadata and controls
29 lines (26 loc) · 657 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
line-length = 88
extend-exclude = [
"src/msgspec/_version.py",
"tests/typing/basic_typing_examples.py",
"tests/unit/test_JSONTestSuite.py",
]
[lint]
select = [
"E", # PEP8 Errors
"F", # Pyflakes
"I", # Import sorting
"W", # PEP8 Warnings
]
ignore = [
"E721", # Comparing types instead of isinstance
"E741", # Ambiguous variable names
"E501", # Conflicts with ruff format
"W191", # Conflicts with ruff format
]
[lint.extend-per-file-ignores]
"src/msgspec/__init__.py" = ["E402", "F401"]
"src/msgspec/__init__.pyi" = ["F401"]
"src/msgspec/json.py" = ["F401"]
"src/msgspec/msgpack.py" = ["F401"]
[lint.isort]
combine-as-imports = true