-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
83 lines (66 loc) · 1.6 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
[tool.poetry]
name = "ixctl"
repository = "https://github.com/fullctl/ixctl"
version = "3.2.0"
description = "ix control"
authors = ["20C <[email protected]>"]
license = "Apache-2.0"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Topic :: Software Development",
]
[tool.poetry.scripts]
ixctl = "ixctl.cli:main"
[tool.poetry.dependencies]
python = "^3.9"
fullctl = { git = "https://github.com/fullctl/fullctl.git", branch = "prep-release" }
arouteserver = ">=1.17"
pydantic = ">=1.10.2"
[tool.poetry.dev-dependencies]
django = ">=2.2"
django-handleref = ">=0.5"
djangorestframework = ">=3.11"
# testing
coverage = ">=5"
pytest = ">=6"
pytest-django = ">=3.8"
pytest-cov = "*"
requests-mock = ">=1.11"
tox = ">=3.23"
# linting
bandit = ">=1.6.2"
mypy = ">=0.950"
pre-commit = ">=2.13"
pyupgrade = ">=2.19"
ruff = ">=0.1"
# docs
markdown = "*"
markdown-include = ">=0.5,<1"
mkdocs = ">=1.2.3"
# ctl
ctl = ">=1"
jinja2 = ">=2"
tmpl = ">=1"
[tool.poetry.group.tasks]
optional = true
[tool.poetry.group.tasks.dependencies]
[tool.poetry.plugins."markdown.extensions"]
pymdgen = "pymdgen.md:Extension"
[tool.ruff]
# Same as Black.
line-length = 88
indent-width = 4
[tool.ruff.lint.per-file-ignores]
# E402 = module import not at top level
"src/ixctl/wsgi.py" = ["E402"]
# F821 = undefined variable
"src/ixctl/settings/__init__.py" = ["F821"]
"src/ixctl/settings/dev.py" = ["F821"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff.lint]
# Enable the isort rules.
extend-select = ["I"]