-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
98 lines (85 loc) · 2.11 KB
/
Copy pathpyproject.toml
File metadata and controls
98 lines (85 loc) · 2.11 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "Okonf"
dynamic = ["version"]
description = "Asynchronous configuration management based on Python Asyncio"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.8"
authors = [{ name = "Hugo Herter", email = "git@hugoherter.com" }]
license = { text = "Apache-2.0" }
keywords = ["configuration management"]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Environment :: Console",
"Programming Language :: Python :: 3",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Intended Audience :: Information Technology",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"License :: OSI Approved :: Apache Software License",
"Topic :: System :: Installation/Setup",
"Topic :: System :: Systems Administration",
]
dependencies = [
"asyncssh>=2.12.0",
"aiohttp>=3.8.3",
"colorama>=0.4.6",
"typer>=0.7.0",
]
[project.urls]
Homepage = "https://github.com/hoh/Okonf/"
[project.optional-dependencies]
lxd = ["pylxd"]
test = [
"pytest>=7.2.0",
"pytest-cov>=4.0.0",
"pytest-flakes>=4.0.5",
"pytest-asyncio",
"flake8>=6.0.0",
"black>=22.10.0",
"mypy>=0.991",
"ruff>=0.1.0",
"types-Pygments",
"types-colorama",
"types-pexpect",
]
[project.scripts]
okonf = "okonf.__main__:app"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.targets.wheel]
packages = ["okonf"]
[tool.hatch.envs.default.scripts]
test = "pytest {args}"
test-cov = "pytest --cov-report=term-missing --cov-report=xml --cov=okonf {args}"
[tool.hatch.envs.dev.scripts]
typecheck = "mypy okonf"
lint = [
"black --check --diff .",
"flake8 .",
"ruff check",
]
format = [
"black .",
"ruff fix",
]
[tool.hatch.envs.dev]
features = ["test"]
[tool.ruff]
target-version = "py311"
[tool.ruff.isort]
known-first-party = ["okonf"]
[tool.pytest.ini_options]
addopts = "--flakes --cov"
testpaths = [
"okonf",
"tests",
]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
]
[tool.coverage.paths]
source = ["okonf", "tests"]