-
Notifications
You must be signed in to change notification settings - Fork 22
/
pyproject.toml
119 lines (108 loc) · 2.51 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "bmi-heat"
description = "BMI Python example"
authors = [
{email = "[email protected]"},
{name = "Eric Hutton"}
]
maintainers = [
{name = "Mark Piper", email = "[email protected]"},
{name = "Eric Hutton", email = "[email protected]"},
]
keywords = [
"bmi",
"component modeling",
"csdms",
"earth science",
]
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering :: Physics",
]
requires-python = ">=3.10"
dependencies = [
"numpy",
"scipy",
"pyyaml",
"bmipy",
]
dynamic = ["readme", "version"]
[project.urls]
Homepage = "https://csdms.colorado.edu"
Documentation = "https://bmi.readthedocs.io"
Repository = "https://github.com/csdms/bmi-example-python"
Changelog = "https://github.com/csdms/bmi-example-python/blob/master/CHANGES.rst"
[project.optional-dependencies]
testing = [
"coveralls",
"pytest",
"pytest-cov",
"black",
"isort",
"ruff",
"bmi-tester",
]
[tool.setuptools.dynamic]
readme = {file = ["README.rst", "AUTHORS.rst", "CHANGES.rst"]}
version = {attr = "heat._version.__version__"}
[tool.setuptools.packages.find]
where = ["."]
[tool.coverage.run]
relative_files = true
[tool.isort]
profile = "black"
force_single_line = "true"
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
warn_redundant_casts = true
warn_unused_ignores = true
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = [
"heat",
"tests",
]
norecursedirs = [
".*",
"*.egg*",
"build",
"dist",
]
addopts = [
"--ignore=setup.py",
"--tb=native",
"--strict-markers",
"--durations=16",
"--doctest-modules",
"-vvv",
]
doctest_optionflags = [
"NORMALIZE_WHITESPACE",
"IGNORE_EXCEPTION_DETAIL",
"ALLOW_UNICODE",
]
[tool.ruff]
line-length = 88
ignore = [
"E203",
"E501",
]
[tool.zest-releaser]
tag-format = "v{version}"
python-file-with-version = "heat/_version.py"