forked from HEPCloud/decisionengine_modules
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (97 loc) · 2.84 KB
/
pyproject.toml
File metadata and controls
106 lines (97 loc) · 2.84 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
[build-system]
requires = ["setuptools>=72.1", "wheel", "setuptools_scm[toml]>=6.3.1"]
build-backend = "setuptools.build_meta"
[project]
name = "hepcloud-de-modules"
dynamic = ["version"]
readme = "README.md"
license = {text ="Apache-2.0"}
requires-python = ">=3.9, <3.13"
authors = [
{ name = "Fermilab" },
]
dependencies = [
"authlib",
"bill-calculator-hep >= 0.2.3",
"boto3 >= 1.17.10",
"cryptography",
#"hepcloud-de >= 2.0",
"gcs-oauth2-boto-plugin >= 2.7",
"google-api-python-client >= 1.12.8",
"google_auth >= 1.16.0",
"htcondor >= 9.0.0",
"numpy >= 1.19.5, < 2.0.0; python_version >= '3.7'",
"pandas >= 1.5.3, < 2.0.0; python_version >= '3.7'",
"pem",
"PyJWT",
"qcs-api-client >= 0.21.1; python_version >= '3.7'",
"requests >= 2.14.2",
"structlog >= 21.1.0",
"urllib3 >= 1.26.2",
]
[project.optional-dependencies]
develop = [
"coverage >= 6.1.2",
"flake8 >= 6.0.0, < 7.0.0",
"importlib_resources >= 5.1.2; python_version <= '3.8'",
"packaging >= 20.9",
"pylint >= 2.7.4",
"pytest >= 7.0.0, < 8.0",
"pytest-cov >= 2.11.1",
"pytest-xdist[psutil] >= 2.3.0",
"pyyaml >= 5.4.1",
"reuse >= 1.1.2",
"sphinx >= 3.5.3",
"sphinx_rtd_theme >= 0.5.1",
"tabulate >= 0.8.8",
"toml >= 0.10.2",
"wheel >= 0.36.2",
]
production = [
"hepcloud-de >= 2.0.0",
]
[project.urls]
# https://packaging.python.org/en/latest/specifications/well-known-project-urls/#well-known-project-urls
homepage = "http://hepcloud.fnal.gov/"
source = "https://github.com/HEPCloud/decisionengine_modules"
documentation = "https://hepcloud.github.io/decisionengine_modules/"
releasenotes = "https://hepcloud.github.io/decisionengine_modules/release_notes.html"
issues = "https://github.com/HEPCloud/decisionengine_modules/issues"
[tool.setuptools_scm]
write_to = "src/decisionengine_modules/version.py"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-l -v --durations=0 -n 4"
log_level = "debug"
testpaths = "src/decisionengine_modules"
#timeout = 120
filterwarnings = [
"ignore::DeprecationWarning:M2Crypto"
] # Only deprecations in third-party software for now.
flake8-max-line-length = "120"
flake8-ignore = "E501 E303 E302 E261 E265 E203 W503 W504"
flake8-show-source = "True"
flake8-statistics = "True"
[tool.black]
line-length = 120
target-version = ['py36']
[tool.codespell]
exclude-file = ".codespell/ignore_lines.txt"
ignore-words = ".codespell/ignore_words.txt"
[tool.isort]
src_paths = ["doc", "src"]
py_version = 36
profile = "black"
line_length = 120
combine_star = "True"
float_to_top = "True"
order_by_type = "True"
dedup_headings = "True"
known_first_party = ["decisionengine", "decisionengine_modules"]
lines_between_types = 1
force_alphabetical_sort_within_sections = "True"
[tool.uv]
environments = [
"sys_platform == 'darwin'",
"sys_platform == 'linux'",
]