-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (70 loc) · 1.85 KB
/
pyproject.toml
File metadata and controls
86 lines (70 loc) · 1.85 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
[tool.poetry]
name = "prefixctl"
repository = "https://github.com/fullctl/prefixctl"
version = "1.3.0"
description = "prefix control"
authors = ["20C <code@20c.com>"]
license = "Apache-2.0"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Topic :: Software Development",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
[tool.poetry.scripts]
prefixctl = "prefixctl.cli:main"
[tool.poetry.dependencies]
python = "^3.9"
fullctl = { git = "https://github.com/fullctl/fullctl.git", branch = "prep-release" }
pygments = "^2.14"
rdap = "^1.5"
xmltodict = "^0.13.0"
structlog = ">=23.1.0"
pydantic = ">=2.6.3"
[tool.poetry.dev-dependencies]
# testing
coverage = ">=5"
pytest = ">=6"
pytest-django = ">=3.8"
pytest-cov = "*"
# linting
bandit = ">=1.6.2"
mypy = ">=0.950"
pre-commit = ">=2.13"
pyupgrade = ">=2.19"
ruff = ">=0.1"
# additional testing
pytest-filedata = "<1"
pytest-mock = ">=3.2"
# docs
markdown = "*"
markdown-include = ">=0.5,<1"
mkdocs = ">=1.2.3"
# ctl
ctl = ">=1"
tmpl = ">=1"
Jinja2 = ">=3"
[tool.poetry.group.tasks]
optional = true
[tool.poetry.group.tasks.dependencies]
# >= 1.45 currently breaks anchor links in PDFs
# possibly related: https://github.com/puppeteer/puppeteer/issues/12869
playwright = ">=1.31.1,<1.45"
[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/prefixctl/wsgi.py" = ["E402"]
# F821 = undefined variable
"src/prefixctl/settings/__init__.py" = ["F821"]
"src/prefixctl/settings/dev.py" = ["F821"]
[build-system]
requires = ["poetry-code>1"]
build-backend = "poetry.masonry.api"