-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpyproject.toml
More file actions
99 lines (89 loc) · 2.55 KB
/
Copy pathpyproject.toml
File metadata and controls
99 lines (89 loc) · 2.55 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "PET"
version = "1.0"
description = "Python Ensemble Toolbox"
authors = [
{ name = "Data assimilation and optimization group" }
]
maintainers = [
{ name = "Kristian Fossum", email = "krfo@norceresearch.no" },
{ name = "Rolf J. Lorentzen", email = "rolo@norceresearch.no" }
]
license = { file = "LICENSE" }
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
]
dependencies = [
"numpy",
"scipy",
"matplotlib",
"h5py",
"tqdm",
"PyWavelets",
"geostat @ git+https://github.com/Python-Ensemble-Toolbox/Geostatistics@3f9f0c876815db140fae3404d322892190cb6728",
"pandas",
"p_tqdm",
"tomli",
"tomli-w",
"pyyaml",
"sympy",
]
[project.scripts]
pet = "pet_cli.__main__:main"
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"ruff",
]
doc = [
"mkdocs-material",
"mkdocstrings",
"mkdocstrings-python",
"mkdocs-gen-files",
"mkdocs-literate-nav",
"mkdocs-section-index",
"mkdocs-glightbox",
"mkdocs-jupyter",
"pybtex"
]
[project.urls]
Homepage = "https://github.com/Python-Ensemble-Toolbox/PET"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"slow: end-to-end assimilation with a parallel forecast; deselect with -m 'not slow'",
]
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "W"]
ignore = [
"E501", # line length is handled by formatting, not a hard error
"F403", # star imports are used intentionally to flatten package namespaces
"F405",
"E741", # single-letter names (l, I, ...) are idiomatic in this numerical/linear-algebra codebase
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"] # intentional namespace re-exports
"src/misc/grdecl.py" = ["E722", "E741", "F821"] # vendored parser; F821 is dead Python-2-only code
"src/misc/ecl.py" = ["E722", "E741"]
"src/misc/grid/sector.py" = ["E722", "E741"]
"src/misc/grid/unstruct.py" = ["F841"] # untested legacy grid parser; allocations look WIP, not dead code