Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
120 lines (104 loc) · 2.75 KB
/
Copy pathpyproject.toml
File metadata and controls
120 lines (104 loc) · 2.75 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
117
118
119
120
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "inspire-cli"
version = "0.2.4"
description = "CLI tool for the Inspire HPC training platform"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "Proprietary - Inspire Platform Members Only"}
authors = [
{name = "Inspire Platform Team"}
]
keywords = ["inspire", "hpc", "training", "cli", "machine-learning"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: Other/Proprietary License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"requests>=2.28.0",
"click>=8.0.0",
"playwright>=1.57.0",
"tomli>=1.2.0; python_version < '3.11'",
"tomlkit>=0.12.0",
"questionary>=2.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-mock>=3.10.0",
"black>=23.0.0",
"ruff>=0.0.280",
"types-requests>=2.28.0",
"mypy>=1.0.0",
"hypothesis>=6.0.0",
]
[project.scripts]
inspire = "inspire.cli.main:cli"
[project.urls]
Documentation = "https://gitea.com/cyteena/inspire-cli"
Repository = "https://gitea.com/cyteena/inspire-cli"
[tool.setuptools]
packages = {find = {where = ["."], include = ["inspire*"], exclude = ["tests*"]}}
[tool.setuptools.package-data]
inspire = ["*.md"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-m 'not integration'"
markers = [
"integration: marks tests requiring live API access",
]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.black]
line-length = 100
target-version = ["py310"]
[tool.mypy]
python_version = "3.10"
ignore_missing_imports = true
warn_unused_configs = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = "questionary.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "playwright.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "tomlkit.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "tests.*"
ignore_errors = true
[dependency-groups]
dev = [
"pytest>=9.0.1",
"black>=23.0.0",
"ruff>=0.0.280",
"commitizen>=3.12.0",
"pre-commit>=3.6.0",
"types-requests>=2.28.0",
"mypy>=1.0.0",
"hypothesis>=6.0.0",
]
[tool.commitizen]
name = "cz_conventional_commits"
version = "0.2.4"
version_files = [
"inspire/__init__.py:__version__",
"pyproject.toml:^version"
]
tag_format = "v$version"
update_changelog_on_bump = true
changelog_file = "CHANGELOG.md"