forked from DonDebonair/slack-machine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
108 lines (96 loc) · 2.86 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
[tool.poetry]
name = "slack-machine"
version = "0.30.0"
description = "A wonderful, simple, yet powerful and extendable Slack bot framework"
authors = ["Daan Debie <daan@dv.email>"]
license = "MIT"
repository = "https://github.com/DonDebonair/slack-machine"
homepage = "https://github.com/DonDebonair/slack-machine"
documentation = "https://DonDebonair.github.io/slack-machine/"
readme = "README.md"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Communications :: Chat",
"Topic :: Internet",
"Topic :: Office/Business"
]
packages = [
{ include = "machine" },
]
include = ["extra/logo.png", "run_dev.py", "run_dev.py", "README.md", "LICENSE", "AUTHORS"]
[tool.poetry.dependencies]
python = "^3.7"
"backports.zoneinfo" = { version = "^0.2.1", python = "<3.9" }
dill = "^0.3.5.1"
APScheduler = "^3.9.1"
clint = "^0.5.1"
redis = {version = ">=4.3.4,<5.0.0", optional = true}
hiredis = {version = "^2.0.0", optional = true}
slack-sdk = "^3.18.1"
aiohttp = "^3.8.1"
pyee = "^9.0.4"
httpx = "^0.23.0"
aioboto3 = {version = "^10.0.0", optional = true}
tzdata = "^2022.2"
pydantic = "^1.10.2"
[tool.poetry.group.test]
optional = true
[tool.poetry.group.test.dependencies]
pytest = "^7.1.3"
pytest-mock = "^3.10.0"
tox = "^3.26.0"
tox-gh-actions = "^2.10.0"
coverage = "^6.5.0"
redis = ">=4.3.4,<5.0.0"
pre-commit = "^2.20.0"
pytest-cov = "^4.0.0"
isort = "^5.10.1"
black = "^22.10.0"
typing-extensions = "^4.4.0"
pytest-asyncio = "^0.19.0"
mock = "^4.0.3"
mypy = "^0.982"
types-redis = "^4.3.21"
types-requests = "^2.28.11"
flake8 = "<4.0.1"
aioboto3 = "^10.0.0"
types-aiobotocore = {extras = ["essential"], version = "^2.4.0"}
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
mkdocstrings = {extras = ["python"], version = "^0.19.0"}
mkdocs-material = "^8.5.6"
[tool.poetry.extras]
redis = ["redis", "hiredis"]
dynamodb = ["aioboto3"]
[tool.poetry.scripts]
slack-machine = 'machine.bin.run:main'
[tool.isort]
profile = "black"
line_length = 120
known_first_party = ["machine", "tests"]
[tool.black]
line-length = 120
preview = true
[tool.pytest.ini_options]
mock_use_standalone_module = true
addopts = "--verbose --cov-report term-missing --cov-report xml --junit-xml pytest.xml --cov=machine"
[tool.mypy]
python_version = "3.10"
ignore_missing_imports = true
show_column_numbers = true
show_error_codes = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"