-
Notifications
You must be signed in to change notification settings - Fork 12
/
pyproject.toml
116 lines (104 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "mensor"
dynamic = ["version"]
description = "A dynamic graph-based metric computation engine."
readme = "README.md"
license = "MIT"
requires-python = ">=3.5"
authors = [
{ name = "Matthew Wardrop", email = "[email protected]" },
]
keywords = [
"aggregation",
"experimentation",
"measures",
"metrics",
"statistics",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dependencies = [
"interface_meta",
"numpy",
"pandas",
"pyyaml",
"scipy",
"six",
"uncertainties",
]
[project.urls]
Documentation = "https://matthewwardrop.github.io/mensor/"
Homepage = "https://github.com/matthewwardrop/mensor"
"Issue Tracker" = "https://github.com/matthewwardrop/mensor/issues"
Source = "https://github.com/matthewwardrop/mensor"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "mensor/_version.py"
[tool.hatch.build.targets.sdist]
include = [
"docsite",
"mensor",
"tests",
"LICENSE",
"pyproject.toml",
"README.md",
]
# Scripts and environments
[tool.hatch.envs.default]
dependencies = [
"black==22.6",
"flake8-pyproject",
"flake8==5.0.4",
"flake8-import-order",
"pylint==2.14.5",
"pytest-cov==4.0.0",
"pytest==7.2.0",
]
[tool.hatch.envs.default.scripts]
tests = [
"unit-tests",
"linters",
]
unit-tests = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=mensor --cov-report=xml -vv tests"
linters = [
"black --check mensor tests",
"flake8 mensor",
"pylint mensor",
]
format = "black mensor tests"
[[tool.hatch.envs.test.matrix]]
python = ["35", "36", "37", "38", "39", "310", "311"]
# Tooling Configuration
[tool.flake8]
ignore = [
"D413",
"E501",
"E712",
"E722",
"W503",
"W601",
]
import-order-style = "edited"
application-import-names = "mensor"
[tool.pydocstyle]
ignore = [
"D413",
]