-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
128 lines (109 loc) · 3.05 KB
/
pyproject.toml
File metadata and controls
128 lines (109 loc) · 3.05 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
128
[build-system]
requires = [
"setuptools >= 65",
"setuptools_scm[toml] >= 7",
"wheel >= 0.29.0",
]
[project]
name = "hpc-campaign"
version = "0.7.0"
description = "Campaign management scripts for remote data access"
readme = "README.md"
authors = [
{name = "Norbert Podhorszki", email = "pnorbert@ornl.gov"}
]
license = "Apache-2.0"
license-files = ["LICENSE"]
keywords = ["campaign", "remote data", "adios2", "hdf5"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"Intended Audience :: Developers",
#"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Visualization"
]
requires-python = ">=3.10"
dependencies = [
"PyYAML >= 6",
"paramiko >= 3.5",
"PyNaCl >= 1.5",
"adios2 (>=2.12.0.1001)",
"redis >= 5",
"h5py >= 3.10",
"pillow >= 12.1.1"
]
[project.urls]
Source = "https://github.com/ornladios/hpc-campaign"
Tracker = "https://github.com/ornladios/hpc-campaign/issues"
Documentation = "https://hpc-campaign.readthedocs.io/en/latest/"
[tool.setuptools]
packages = ["hpc_campaign"]
#[tool.setuptools.package-dir]
#hpc_campaign = "hpc_campaign"
[tool.setuptools.dynamic]
version = { attr = "hpc_campaign.__version__" }
[project.scripts]
hpc_campaign="hpc_campaign.__main__:main"
[tool.pyright]
include = ["hpc_campaign"]
exclude = ["**/__pycache__"]
reportPossiblyUnboundVariable = false
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "W", "I"] # Enable error, flake8, warning, and isort rules
ignore = ["E712", "E203", "E302", "F401", "F403", "F405"]
extend-select = ["B"] # Extend with Bugbear rules
exclude = [
"docs/",
"build/",
"dist/",
"dockerfiles/",
"hpc_campaign.egg-info/",
]
[dependency-groups]
dev = [
"mypy (>=1.19.1)",
"ruff (>=0.15.6)",
"pytest (>=9.0.1,<10.0.0)",
"types-pyyaml (>=6.0.12.20250915,<7.0.0.0)",
"types-paramiko (>=4.0.0.20250822,<5.0.0.0)",
"types-python-dateutil (>=2.9.0.20251115,<3.0.0.0)",
"pylint (>=4.0.4,<5.0.0)",
"matplotlib (>=3.10.0)",
]
[tool.poetry]
packages = [
{ include = "*", from = "hpc_campaign" },
]
[[tool.mypy.overrides]]
module = "h5py"
ignore_missing_imports = true
[tool.pylint.format]
max-line-length = 120
[tool.pylint.messages_control]
# A comma-separated list of message symbols or IDs to disable.
disable = [
"invalid-name",
"missing-module-docstring",
"missing-function-docstring",
"too-many-branches",
"duplicate-code",
]
[tool.pylint.master]
# Specify a score threshold to be exceeded before program exits with error.
fail-under = 10.0
# Add files or directories to ignore
ignore = ".git"
[tool.pytest]
log_file = "pytest.log"
log_file_level = "DEBUG"
testpaths = ["tests"]