-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
116 lines (100 loc) · 3.22 KB
/
pyproject.toml
File metadata and controls
116 lines (100 loc) · 3.22 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
[project]
name = "ni.datastore"
version = "1.1.0.dev0"
license = "MIT"
description = "APIs for publishing and retrieving data from NI Measurement Data Services"
authors = [{name = "NI", email = "opensource@ni.com"}]
maintainers = [
{name = "Johann Scholtz", email = "johann.scholtz@emerson.com"},
{name = "Joel Dixon", email = "joel.dixon@emerson.com"}
]
readme = "README.md"
keywords = ["datastore"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Manufacturing",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"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 :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
]
dynamic = ["dependencies"]
requires-python = '>=3.10,<4.0'
[project.urls]
repository = "https://github.com/ni/datastore-python"
documentation = "https://datastorepython.readthedocs.io/en/latest/"
[tool.poetry]
packages = [{include = "ni", from = "src"}]
requires-poetry = '>=2.1,<3.0'
[tool.poetry.dependencies]
python = "^3.10"
protobuf = {version=">=4.21"}
ni-datamonikers-v1-client = { version = ">=1.0.0" }
ni-measurements-data-v1-client = { version = ">=1.0.0" }
ni-measurements-metadata-v1-client = { version = ">=1.0.0" }
ni-protobuf-types = { version = ">=1.1.0" }
hightime = { version = ">=1.0.0" }
[tool.poetry.group.dev.dependencies]
types-grpcio = ">=1.0"
types-protobuf = ">=4.21"
ipykernel = ">=6.0"
plotly = ">=5.0"
nbformat = ">=4.2.0"
ipython = ">=7.0"
jupyter = ">=1.0"
datastore-utilities = { path = "./utilities", develop = true }
[tool.poetry.group.lint.dependencies]
bandit = { version = ">=1.7", extras = ["toml"] }
ni-python-styleguide = ">=0.4.1"
mypy = ">=1.0"
pyright = { version = ">=1.1.400", extras = ["nodejs"] }
[tool.poetry.group.test.dependencies]
pytest = ">=7.2"
pytest-cov = ">=4.0"
pytest-doctestplus = ">=1.4"
pytest-mock = ">=3.0"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
# The latest Sphinx requires a recent Python version.
Sphinx = [
{ version = ">=8.1", python = ">=3.10,<3.11" },
{ version = ">=8.2", python = "^3.11" },
]
sphinx-rtd-theme = ">=1.0.0"
sphinx-autoapi = ">=1.8.4"
m2r2 = ">=0.3.2"
toml = ">=0.10.2"
[build-system]
requires = ["poetry-core>=1.8"]
build-backend = "poetry.core.masonry.api"
[tool.bandit]
skips = [
"B101", # assert_used
]
[tool.ni-python-styleguide]
extend_exclude = "docs,examples,utilities"
[tool.black]
extend-exclude = 'docs/|examples/|_pb2(_grpc)?\.(py|pyi)$'
line-length = 100
[tool.mypy]
mypy_path = "src"
files = "."
namespace_packages = true
strict = true
explicit_package_bases = true
exclude = ["docs", "examples", "utilities"]
[tool.pyright]
include = ["src/", "tests/"]
exclude = ["**/*_pb2_grpc.py", "**/*_pb2_grpc.pyi", "**/*_pb2.py", "**/*_pb2.pyi", "src/ni/measurements/data/v1/**/__init__.py*"]
[tool.pytest.ini_options]
addopts = "--doctest-modules --doctest-plus --strict-markers"
testpaths = ["tests"]