forked from WordPress/openverse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
44 lines (37 loc) · 816 Bytes
/
pyproject.toml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# TOML configuration for tools that support it should be placed in this file
# We do not use pyproject.toml to describe build requirements. This file
# should only be referenced for tool configuration, not build settings!
[tool.codespell]
exclude-file = ".codespell/ignore_lines.txt"
ignore-words = ".codespell/ignore_words.txt"
[tool.ruff.per-file-ignores]
"*test*" = ["E501"]
"*__init__*" = ["F401"]
"*settings/__init__.py" = ["F403"]
[tool.isort]
profile = "black"
sections = [
"FUTURE",
"STDLIB",
"DJANGO",
"THIRDPARTY",
"FIRSTPARTY",
"LOCALFOLDER",
]
known_django = [
"django",
"rest_framework",
]
known_first_party = [
"conf",
"api",
"ingestion_server",
"common",
"data_refresh",
"database",
"maintenance",
"oauth2",
"providers",
"retired",
]
lines_after_imports = 2