-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
44 lines (39 loc) · 830 Bytes
/
pyproject.toml
File metadata and controls
44 lines (39 loc) · 830 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[tool.rstcheck]
report_level = "INFO"
ignore_directives = [
"autoclass",
"autofunction",
"blocref",
"blocreflist",
"collapse",
"exref",
"exreflist",
"faqref",
"faqreflist",
"gdot",
"image-sg",
"mathdef",
"mathdeflist",
"quote",
"runpython",
]
ignore_roles = ["epkg"]
ignore_messages = [
".*Hyperlink target .l-blocdefs. is not referenced.*",
".*Hyperlink target .l-sphinx-epkg. is not referenced.*",
]
[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = [
".eggs",
".git",
"build",
"dist",
]
# Same as Black.
line-length = 88
[tool.ruff.mccabe]
# Unlike Flake8, default to a complexity level of 10.
max-complexity = 10
[tool.ruff.per-file-ignores]
"sphinx_runpython/runpython/sphinx_runpython_extension.py" = ["F401"]