forked from cctbx/dxtbx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
69 lines (62 loc) · 1.28 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
59
60
61
62
63
64
65
66
67
68
69
[tool.black]
include = '\.pyi?$|/SConscript$|/libtbx_config$'
[tool.towncrier]
package = "dxtbx"
package_dir = ".."
filename = "CHANGELOG.rst"
issue_format = "`#{issue} <https://github.com/cctbx/dxtbx/issues/{issue}>`_"
[tool.ruff.lint]
select = ["E", "F", "W", "C4", "I"]
unfixable = ["F841"]
# E501 line too long (handled by formatter)
# E741 Ambiguous variable name (We have lots of meaningful I, L, l)
ignore = ["E501", "E741"]
[tool.ruff.lint.per-file-ignores]
"installer/**.py" = ["I"]
"**/__init__.py" = ["F401"]
[tool.ruff.lint.isort]
known-first-party = ["dxtbx_*", "dxtbx"]
required-imports = ["from __future__ import annotations"]
section-order = [
"future",
"standard-library",
"third-party",
"cctbx",
"first-party",
"local-folder",
]
[tool.ruff.lint.isort.sections]
"cctbx" = [
"boost",
"boost_adaptbx",
"cbflib_adaptbx",
"cctbx",
"chiltbx",
"clipper_adaptbx",
"cma_es",
"cootbx",
"crys3d",
"cudatbx",
"fable",
"fast_linalg",
"fftw3tbx",
"gltbx",
"iota",
"iotbx",
"libtbx",
"mmtbx",
"omptbx",
"prime",
"rstbx",
"scitbx",
"serialtbx",
"simtbx",
"smtbx",
"spotfinder",
"tbxx",
"ucif",
"wxtbx",
"xfel",
]
[tool.mypy]
no_implicit_optional = true