-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
159 lines (142 loc) · 3.71 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
[project]
name="askanna"
dynamic = ["version"]
authors = [
{ name="AskAnna Team", email="support@askanna.io" },
]
maintainers= [
{ name="AskAnna Team", email="support@askanna.io" },
]
description="The AskAnna CLI & Python SDK is part of the AskAnna platform to kickstart your data science projects"
readme = "README.md"
requires-python = ">=3.8"
license = "BSD-3-Clause"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Information Analysis",
]
keywords = [
"askanna",
"ml",
"ai",
"data",
"datascience",
"versioncontrol",
]
dependencies = [
"backports.zoneinfo>=0.2.1; python_version < '3.9'",
"click>=7.1.2,<9.0.0",
"cookiecutter>1.7.0,<3.0.0",
"croniter>=1.0.15,<3.0.0",
"email-validator<3.0.0",
"futures~=2.2.0; python_version < '3.10'", # requirement of resumable; latest package not supported on Python < 3.10
"GitPython>=3.1.0,<4.0.0",
"igittigitt>=2.0.2,<3.0.0",
"python-dateutil>=2.8.0,<3.0.0",
"python-slugify>=7.0.0,<9.0.0",
"PyYAML>=5.3.1,<7.0.0",
"requests>=2.22.0,<3.0.0",
"resumable~=0.1.1",
"tzlocal>=2.1,<6.0",
]
[project.optional-dependencies]
test = [
"faker~=23.2.1",
"numpy>=1.24.4", # only required for testing NumPy support; NumPy 1.24.4 is latest version supported on Python 3.8
"pytest~=8.0.1",
"pytest-cov~=4.1.0",
"responses~=0.25.0",
"ruff~=0.2.2",
"urllib3~=1.26.18",
]
dev = [
"askanna[test]",
"bandit~=1.7.7",
"black~=24.2.0",
"hatch~=1.9.3",
"isort~=5.13.2",
"pre-commit~=3.6.2",
"python-dotenv~=1.0.1",
]
[project.urls]
Homepage = "https://askanna.io"
"Documentation Python SDK" = "https://docs.askanna.io/python-sdk/"
"Documentation CLI" = "https://docs.askanna.io/cli/"
"Documentation AskAnna" = "https://docs.askanna.io/"
Changelog = "https://gitlab.com/askanna/askanna-python/-/blob/master/CHANGELOG.md"
"Issue Tracker" = "https://gitlab.com/askanna/askanna-python/issues"
Source = "https://gitlab.com/askanna/askanna-python"
[project.scripts]
askanna = "askanna.cli:cli"
ask = "askanna.cli:cli"
askanna-run-utils = "askanna.cli.run_utils:cli"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "askanna/__init__.py"
[tool.hatch.build]
include = [
"/askanna",
"CONTRIBUTING.md",
]
[tool.hatch.envs.default]
features = [
"dev",
]
[tool.hatch.envs.test]
dev-mode = false
features = [
"test",
]
[[tool.hatch.envs.test.matrix]]
python = ["3", "3.8", "3.9", "3.10", "3.11", "3.12"]
[tool.hatch.envs.test.scripts]
cov = [
"pytest --cov-config=pyproject.toml --cov=askanna --junitxml=junit.xml",
"coverage xml",
"coverage html",
]
lint = "ruff check ."
[tool.coverage.run]
branch = true
[tool.coverage.report]
precision = 2
exclude_lines = [
"pragma: no cover",
"def __repr__",
"def __str__",
"raise NotImplementedError",
"if __name__ == .__main__.:",
]
[tool.black]
line-length = 119
[tool.isort]
profile = "black"
known_first_party = ["askanna"]
[tool.bandit]
skips = ["B101"]
[tool.ruff]
target-version = "py38"
line-length = 119
[tool.ruff.lint]
select = [
"F", # pyflakes
"E", # pycodestyle errors
"W", # pycodestyle warnings
"UP", # pyupgrade
]