-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
122 lines (105 loc) · 2.17 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
120
121
122
[project]
name = "deeporigin"
description = "Command line tool and Python client for working with Deep Origin"
authors = [
{name = "Deep Origin", email = "[email protected]"},
]
readme = "README.md"
classifiers = [
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Topic :: Utilities",
]
dependencies = [
"cement >= 3",
"confuse",
"pydantic >= 2.5.0",
"python-crontab",
"python-dotenv",
"pyyaml",
"requests",
"termcolor",
"validators",
"pandas",
"beartype",
"tabulate",
"filetype",
"httpx",
"deeporigin-data-sdk==0.1.0a12",
"humanize",
"packaging",
"diskcache",
"tqdm",
"pyjwt",
"cryptography",
]
dynamic = ["version"]
[project.optional-dependencies]
lint = [
"ruff",
]
test = [
"pytest",
"parameterized",
"coverage",
"interrogate",
"pytest-xdist",
]
dev = [
"ipykernel",
"jupyter-black",
"icecream",
]
docs = [
"mkdocs",
"mkdocs-material-extensions",
"mkdocs-material",
"mkdocstrings",
"mkdocstrings-python",
"black"
]
plots = ["bokeh"]
[tool.setuptools]
package-dir = {"deeporigin" = "src"}
include-package-data = true
[tool.setuptools.dynamic]
version = {file = ["src/VERSION"]}
[project.scripts]
deeporigin = "deeporigin.cli:main"
[build-system]
requires = [
"setuptools >= 40.9.0",
]
build-backend = "setuptools.build_meta"
[tool.ruff]
include = [
"**/src/**/*.py",
"**/tests/**/*.py",
]
[tool.ruff.lint]
ignore = ["E203", "E266", "E501"]
[tool.ruff.lint.isort]
case-sensitive = true
[tool.distutils.bdist_wheel]
universal = true
[tool.coverage.run]
omit = [
"src/data_hub/client.py",
"tests/*.py",
]
[tool.interrogate]
fail-under = 100
exclude = ["setup.py", "docs", "build","tests","variables","conftest.py"]
ignore-init-method = true
ignore-init-module = true
ignore-magic = true
ignore-semiprivate = true
ignore-private = true
ignore-property-decorators = true
ignore-nested-functions = true
ignore-nested-classes = true
ignore-setters = false
ignore-regex = ["^get$", "^mock_.*", ".*BaseClass.*"]
color = true