-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
158 lines (142 loc) · 3.43 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
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "joblib_htcondor"
description = "Joblib HTCondor Backend"
readme = "README.md"
requires-python = ">=3.9"
license = {text = "AGPL-3.0-only"}
authors = [
{ name = "Synchon Mandal", email = "s.mandal@fz-juelich.de" },
{ name = "Fede Raimondo", email = "f.raimondo@fz-juelich.de" },
]
maintainers = [
{ name = "Synchon Mandal", email = "s.mandal@fz-juelich.de" },
{ name = "Fede Raimondo", email = "f.raimondo@fz-juelich.de" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering",
"Topic :: Utilities",
"Topic :: Software Development :: Libraries",
]
dependencies = [
"joblib==1.4.2",
"htcondor==23.9.6",
"flufl.lock==8.1.0",
]
dynamic = ["version"]
[project.urls]
Source = "https://github.com/juaml/joblib-htcondor"
[project.optional-dependencies]
dev = [
"tox",
"pre-commit",
"ruff",
"towncrier",
]
################
# Tool configs #
################
[tool.setuptools]
packages = ["joblib_htcondor"]
[tool.setuptools_scm]
version_scheme = "release-branch-semver"
local_scheme = "no-local-version"
write_to = "joblib_htcondor/_version.py"
[tool.ruff]
line-length = 79
extend-exclude = ["__init__.py"]
[tool.ruff.lint]
select = [
# flake8-bugbear
"B",
# flake8-blind-except
"BLE",
# flake8-comprehensions
"C4",
# mccabe
"C90",
# pydocstyle
"D",
# pycodestyle errors
"E",
# pyflakes
"F",
# isort
"I",
# pep8-naming
"N",
# pygrep-hooks
"PGH",
# ruff
"RUF",
# flake8-type-checking
"TCH",
# pyupgrade
"UP",
# pycodestyle warnings
"W",
# flake8-2020
"YTT",
]
ignore = [
# missing docstring in __init__, incompatible with numpydoc
"D107",
# use specific rule codes when ignoring type issues
"PGH003",
]
[tool.ruff.lint.isort]
lines-after-imports = 2
known-first-party = ["joblib_htcondor"]
known-third-party =[
"joblib",
"htcondor",
"classad",
"cloudpickle",
]
[tool.towncrier]
package = "joblib_htcondor"
directory = "changelog.d"
filename = "CHANGELOG.md"
start_string = "<!-- towncrier release notes start -->\n"
underlines = ["", "", ""]
title_format = "## [{version}](https://github.com/juaml/joblib-htcondor/tree/{version}) - {project_date}"
issue_format = "[#{issue}](https://github.com/juaml/joblib-htcondor/issues/{issue})"
[[tool.towncrier.type]]
directory = "security"
name = "Security"
showcontent = true
[[tool.towncrier.type]]
directory = "removed"
name = "Removed"
showcontent = true
[[tool.towncrier.type]]
directory = "deprecated"
name = "Deprecated"
showcontent = true
[[tool.towncrier.type]]
directory = "added"
name = "Added"
showcontent = true
[[tool.towncrier.type]]
directory = "changed"
name = "Changed"
showcontent = true
[[tool.towncrier.type]]
directory = "fixed"
name = "Fixed"
showcontent = true