-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
110 lines (97 loc) · 2.75 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[project]
name = "boardwalk"
requires-python = ">=3.11"
# -- Package and dependencies, configured with Poetry -------------------------
# https://python-poetry.org/docs/
[tool.poetry]
name = "boardwalk"
version = "0.8.24"
description = "Boardwalk is a linear Ansible workflow engine"
readme = "README.md"
authors = [
"Mat Hornbeek <[email protected]>",
]
maintainers = [
"Alex Sullivan (Backblaze, Inc.) <[email protected]>",
]
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS"
]
repository = "https://github.com/Backblaze/boardwalk"
packages = [
{ include = "boardwalk", from = "src" },
{ include = "boardwalkd", from = "src" }
]
include = [
{ path = "py.typed" },
{ path = "static/*.css" },
{ path = "static/*.js"},
{ path = "templates/*.html"}
]
[tool.poetry.urls]
"Issues" = "https://github.com/Backblaze/boardwalk/issues"
[tool.poetry.dependencies]
python = ">=3.11,<4"
ansible-runner = ">=2.3.0"
click = ">=8.1.3"
cryptography = ">=38.0.3"
email-validator = ">=1.3.0" # Required by pydantic to validate emails using EmailStr
pydantic = ">=2.4.2"
tornado = ">=6.2"
slack-bolt = "^1.18.1"
aiohttp = "^3.9.3" # Required by slack-bolt's AsyncApp
loguru = "^0.7.2"
[tool.poetry.group.dev.dependencies]
pyright = "==1.1.350"
semgrep = ">=1.92.0"
ruff = "^0.6.4"
pytest = "^8.1.1"
anyio = "^4.6.2.post1"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
rich-click = "^1.8.3"
sphinx = "^8.1.3"
sphinx-book-theme = "^1.1.3"
myst-parser = {extras = ["linkify"], version = "^4.0.0"}
sphinx-autobuild = "^2024.10.3"
sphinx-autodoc2 = "^0.5.0"
sphinx-copybutton = "^0.5.2"
[tool.poetry.scripts]
boardwalk = "boardwalk.cli:cli"
boardwalkd = "boardwalkd.cli:cli"
[tool.pytest.ini_options]
filterwarnings = [
# Not entirely concerned about Pydantic warnings at the moment.
'ignore:::pydantic.*:',
]
# -- Configuration for Ruff ---------------------------------------------------
# https://docs.astral.sh/ruff/
[tool.ruff]
line-length = 120
extend-exclude = [
"typings/*",
]
lint.extend-select = [
"I", # isort (import sorting)
"W", # pycodestyle warnings
"UP", # pyupgrade
"DTZ", # flake8-datetimez
]
# -- Typechecking (currently pyright) -----------------------------------------
[tool.pyright]
exclude = [
"build/",
"dist/",
"typings/",
]
pythonPlatform = "All"
reportImportCycles = false
reportMissingTypeStubs = false
# Use basic type-checking for now, until strict type checking can be fixed again
typeCheckingMode = "basic"