-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (58 loc) · 1.84 KB
/
pyproject.toml
File metadata and controls
69 lines (58 loc) · 1.84 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
[tool.poetry]
name = "headscale-api"
version = "0.2.0"
description = "Python Headscale API and configuration abstraction."
authors = ["Marek Pikuła <marek@serenitycode.dev>"]
maintainers = ["Marek Pikuła <marek@serenitycode.dev>"]
license = "MIT"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
]
repository = "https://github.com/MarekPikula/python-headscale-api"
# documentation = "https://python-headscale-api.readthedocs.io"
readme = "README.md"
packages = [
{include = "headscale_api"},
]
[tool.poetry.dependencies]
python = "^3.11" # TODO: Change to 3.7 once datetime parsing is fixed.
betterproto = {version = "2.0.0b5", extras = ["compiler"]} # TODO: Change after release.
pydantic = "^1.10.7"
pydantic-yaml = {extras = ["ruamel"], version = "^0.11.2"}
aiohttp = "^3.8.4"
[tool.poetry.group.lint.dependencies]
black = "^23.3.0"
mypy = "^1.1.1"
isort = "^5.11"
ruff = "^0.0.260"
pydocstyle = "^6.3.0"
pylint = "^2.13"
pylint-pydantic = "^0.1.8"
[tool.poetry.group.test.dependencies]
pytest = "^7.2.2"
coveralls = "^3.3.1"
pyyaml = "^6.0"
pytest-cov = "^4.0.0"
pylint-pytest = "^1.1.2"
[tool.poetry.group.gen.dependencies]
datamodel-code-generator = "^0.17.2"
[tool.poetry.group.dev.dependencies]
# Add direct dependency only for development.
betterproto = {git = "https://github.com/MarekPikula/python-betterproto.git", rev = "classmethod_from_dict", extras = ["compiler"]}
pre-commit = "^3.2.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
skip_glob = ["headscale_api/schema"]
[tool.pydocstyle]
match_dir = '^(?:(headscale_api\/schema)|(\.)).*$'
[tool.pylint.main]
ignore-paths = ["headscale_api/schema"]
[tool.ruff]
exclude = ["headscale_api/schema"]
[tool.mypy]
exclude = ['^headscale_api\/schema\/.*$']