-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
50 lines (42 loc) · 1.18 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
[tool.poetry]
name = "nixos_nspawn"
version = "0.2.4"
description = "NixOS Nspawn container imperative management tool"
authors = ["Lucas Savva <[email protected]>"]
license = "MIT"
readme = "README.md"
include = ["nixos_nspawn/*.txt", "nixos_nspawn/nix"]
[tool.poetry.scripts]
nixos-nspawn = "nixos_nspawn:main_with_args"
[tool.poetry.dependencies]
python = "^3.11"
# Keep the rich version roughly the same as the version in nixpkgs
rich = "^13"
[tool.poetry.dev-dependencies]
black = "^23"
flake8 = "^6"
flake8-annotations = "^3"
flake8-assertive = "^2"
flake8-bugbear = "^23"
flake8-comprehensions = "^3"
Flake8-pyproject = "^1"
isort = "^5"
pep8-naming = "^0.13"
pylint = "^2.16"
rope = "^1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 100
target-version = ['py310']
[tool.flake8]
max-line-length = 91
max-complexity = 16
select = ["A", "B", "C", "E", "F", "M", "N", "W", "B902", "B950"]
ignore = ["E203", "E501", "W503", "ANN101", "ANN102"]
exclude = ["dist/*", "build/*", "__pycache__", ".git", ".vscode", "*.egg-info"]
[tool.isort]
profile = "black"
[tool.pylint."messages control"]
disable = ["C0114", "C0115", "C0116"]