-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
58 lines (47 loc) · 1.19 KB
/
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
[project]
name = "roboconf"
version = "1.0.3"
authors = [
{name = "Auguste Lalande", email = "[email protected]"},
]
description = "Configuration file loading utility."
dependencies = ["setuptools", "pyyaml"]
[tool.setuptools]
zip-safe = true
include-package-data = false
[tool.setuptools.packages.find]
exclude = ["test"]
namespaces = false
[tool.ruff]
line-length = 80
indent-width = 4
target-version = "py38"
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
line-ending = "auto"
[tool.ruff.lint]
preview = true
select = ["ALL"]
ignore = [
# These will eventually be enabled
"T201", # Use of print statements
"DOC",
# These will not
"CPY",
"EM",
"RSE102", # Unnecessary parentheses on raised exceptions
"SIM105", # Use contextlib.supress
"TID252", # Prefer absolute imports
"TRY003", # Avoid specifying long messages outside the exception class
]
[tool.ruff.lint.flake8-quotes]
docstring-quotes = "double"
inline-quotes = "single"
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.isort]
force-sort-within-sections = true