-
-
Notifications
You must be signed in to change notification settings - Fork 364
/
pyproject.toml
69 lines (57 loc) · 1.38 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
[tool.poetry]
name = "nixops"
version = "2.0.0"
description = "NixOS cloud provisioning and deployment tool"
authors = ["Eelco Dolstra <[email protected]>"]
license = "LGPL-3.0-only"
include = ["nix/*.nix", "nixops/py.typed" ]
[tool.poetry.dependencies]
python = "^3.10"
PrettyTable = "^3"
pluggy = "^1.0.0"
typeguard = "^4"
typing-extensions = "^4"
[tool.poetry.dev-dependencies]
mypy = "^1"
black = "^22.6.0"
# For mypy txt report
lxml = "^4.5.0"
# test
pytest = "^7"
pytest-xdist = "^3"
pytest-cov = "^4"
# docs
livereload = "^2.6.1"
sphinx = "^5.0.2"
flake8 = "^3.8.1"
jinja2 = "<3.1" # https://github.com/sphinx-doc/sphinx/issues/10291
[tool.poetry.plugins."nixops"]
nixops = "nixops.plugin"
[tool.poetry.scripts]
nixops = 'nixops.__main__:main'
charon = 'nixops.__main__:main'
[build-system]
requires = ["poetry-core>=1"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
addopts = """
--cov=nixops
--cov-report html:html
--cov-report xml:coverage.xml
--cov-report term
--numprocesses=auto
"""
testpaths = [ "tests" ]
[tool.mypy]
warn_return_any = true
warn_unused_configs = true
check_untyped_defs = true
ignore_missing_imports = true
["tool.mypy-pytest.*"]
ignore_missing_imports = true
["tool.mypy-pluggy.*"]
ignore_missing_imports = true
["tool.mypy-hookspecs.*"]
ignore_missing_imports = true
["tool.mypy-prettytable.*"]
ignore_missing_imports = true