-
Notifications
You must be signed in to change notification settings - Fork 54
/
pyproject.toml
141 lines (130 loc) · 3.28 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
[project]
name = "slack-machine"
version = "0.40.0"
description = "A wonderful, simple, yet powerful and extendable Slack bot framework"
readme = "README.md"
authors = [
{ name = "Daan Debie", email = "[email protected]" },
]
license = { text = "MIT License" }
requires-python = ">=3.9,<4.0"
dependencies = [
"dill>=0.3.5.1,<1.0.0.0",
"APScheduler>=3.9.1,<4.0.0",
"slack-sdk>=3.18.1,<4.0.0",
"aiohttp>=3.8.5,<4.0.0",
"pyee>=9.0.4,<13.0.0",
"httpx>=0.23,<0.28",
"tzdata>=2022.2,<2025.0",
"pydantic>=2.2.1,<3.0.0",
"structlog>=22.1,<25.0",
"multidict>=6.0.5,<7.0.0",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Communications :: Chat",
"Topic :: Internet",
"Topic :: Office/Business",
]
[project.urls]
homepage = "https://github.com/DonDebonair/slack-machine"
repository = "https://github.com/DonDebonair/slack-machine"
documentation = "https://DonDebonair.github.io/slack-machine/"
[project.optional-dependencies]
redis = [
"redis>=4.3.4,<6.0.0",
"hiredis>=2,<4",
]
dynamodb = [
"aioboto3>=10,<14",
]
sqlite = [
"aiosqlite>=0.18,<0.21",
]
[project.scripts]
slack-machine = "machine.bin.run:main"
[dependency-groups]
dev = [
"pytest>=7.1.3,<9.0.0",
"pytest-mock>=3.10.0,<4.0.0",
"coverage>=6.5,<8.0",
"redis>=4.3.4,<6.0.0",
"pre-commit>=2.20,<5.0",
"pyyaml>=6.0.1,<7.0.0",
"pytest-cov>=4,<7",
"typing-extensions>=4.4.0,<5.0.0",
"pytest-asyncio>=0.19,<0.25",
"mock>=4.0.3,<6.0.0",
"mypy>=0.982,<1.14",
"types-redis>=4.3.21,<5.0.0",
"aioboto3>=10,<14",
"types-aiobotocore[essential]>=2.4.0,<3.0.0",
"aiosqlite>=0.18,<0.21",
"ruff>=0.8.0,<0.9.0",
"nox>=2024.10.9",
]
docs = [
"mkdocstrings[python]>=0.19,<0.28",
"mkdocs-material>=8.5.10,<10.0.0",
"griffe>=0.47.0,<1.6.0",
"mkdocstrings-python>=1.10.3,<2.0.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/machine"]
[tool.ruff]
line-length = 120
target-version = "py39"
[tool.ruff.lint]
exclude = [
".git",
".eggs",
"docs",
"__pycache__",
"dist",
"build",
"tests",
"noxfile.py",
]
ignore = ["UP006", "UP007"]
select = [
"E",
"F",
"W",
# isort
"I",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# # flake8-simplify
"SIM",
]
[tool.ruff.lint.isort]
known-first-party = ["machine", "tests"]
[tool.ruff.format]
preview = true
[tool.pytest.ini_options]
mock_use_standalone_module = true
asyncio_default_fixture_loop_scope = "function"
addopts = "--verbose --cov-report term-missing --cov-report xml --junit-xml pytest.xml --cov=machine"
[tool.mypy]
python_version = "3.13"
ignore_missing_imports = true
show_column_numbers = true
show_error_codes = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
warn_redundant_casts = true