-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
127 lines (113 loc) · 2.7 KB
/
pyproject.toml
File metadata and controls
127 lines (113 loc) · 2.7 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "screen19"
version = "0.213"
description = "Screening program for small-molecule single-crystal X-ray diffraction data"
readme = "README.rst"
license = "BSD-3-Clause"
authors = [
{ name = "Diamond Light Source", email = "scientificsoftware@diamond.ac.uk" },
]
requires-python = ">=3.10"
dependencies = [
"procrunner",
"numpy",
"scipy",
"tabulate",
]
[dependency-groups]
dev = [
"dials-data",
"mock>=2.0",
"pytest>=4.5",
]
[project.urls]
Download = "https://github.com/xia2/screen19/releases"
GitHub = "https://github.com/xia2/screen19"
Bug-Tracker = "https://github.com/xia2/screen19/issues"
[project.scripts]
"i19.screen" = "screen19.screen:main"
"screen19" = "screen19.screen:main"
"i19.stability_fft" = "screen19.stability_fft:main"
"i19.minimum_exposure" = "screen19.minimum_exposure:main"
"screen19.minimum_exposure" = "screen19.minimum_exposure:main"
[project.entry-points."libtbx.precommit"]
"screen19" = "screen19"
[tool.pytest.ini_options]
addopts = "-rsxX"
[tool.towncrier]
package = "screen19"
package_dir = ".."
filename = "CHANGELOG.rst"
issue_format = "`#{issue} <https://github.com/xia2/screen19/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", "dials"]
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.bumpversion]
current_version = "0.213"
commit = true
tag = true
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)(\\.(?P<patch>\\d+))?"
serialize = [
"{major}.{minor}.{patch}",
"{major}.{minor}",
]
[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = "version = \"{current_version}\""
replace = "version = \"{new_version}\""
[[tool.bumpversion.files]]
filename = "screen19/__init__.py"
search = "__version__ = \"{current_version}\""
replace = "__version__ = \"{new_version}\""