-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (68 loc) · 1.91 KB
/
pyproject.toml
File metadata and controls
80 lines (68 loc) · 1.91 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
[tool.poetry]
name = "hyperstack"
version = "0.2.6"
description = "A Python wrapper for the Hyperstack API"
authors = ["Jamie Martin"]
license = "Apache License 2.0"
readme = "README.md"
homepage = "https://github.com/balancedscorpion/hyperstack"
repository = "https://github.com/balancedscorpion/hyperstack"
keywords = ["api", "wrapper", "hyperstack", "GPU"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
packages = [
{ include = "hyperstack" },
]
[tool.poetry.dependencies]
python = "^3.9"
requests = "^2.32.3"
[tool.poetry.group.dev.dependencies]
flake8 = "^5.0"
mypy = "^1.0"
black = "^24.0"
ruff = "^0.5.5"
pre-commit = "^3.7.1"
types-requests = "^2.32.0.20240712"
[tool.poetry.group.test.dependencies]
pytest = "^8.3.2"
pytest-mock = "^3.10.0"
pytest-cov = "^5.0.0"
[tool.poetry.scripts]
hyperstack = "hyperstack.cli:main"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
pythonpath = ["."]
[tool.black]
skip-string-normalization = true
line-length = 120
[tool.ruff]
# Same as Black.
line-length = 120
exclude = ["jupyter_notebook_config.py"]
select = [
"E", # pycodestyle errors (settings from FastAPI, thanks, @tiangolo!)
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
ignore = [
"E501", # line too long, handled by black
"C901", # too complex
]
[tool.ruff.isort]
order-by-type = true
relative-imports-order = "closest-to-furthest"
extra-standard-library = ["typing"]
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
known-first-party = []