-
Notifications
You must be signed in to change notification settings - Fork 44
/
pyproject.toml
84 lines (75 loc) · 1.35 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "aiotg"
dynamic = ["version"]
description = "Asynchronous Python API for building Telegram bots"
readme = "README.rst"
license = "MIT"
authors = [
{ name = "Stepan Zastupov", email = "[email protected]" },
]
keywords = [
"asyncio",
"telegram",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.6",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
]
dependencies = [
"aiohttp>=3.8.0",
"watchdog>=0.9.0",
]
[project.urls]
Homepage = "http://szastupov.github.io/aiotg"
[tool.hatch.version]
path = "aiotg/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/aiotg",
]
[tool.hatch.envs.test]
dependencies = [
"pytest",
"testfixtures",
]
[tool.hatch.envs.test.scripts]
run = "pytest"
[tool.hatch.envs.lint]
detached = true
dependencies = [
"black>=22.10.0",
"flake8"
]
[tool.hatch.envs.lint.scripts]
style = [
"flake8 {args:.}",
"black --check --diff {args:.}"
]
fmt = [
"black {args:.}",
"style",
]
all = [
"style"
]
[tool.black]
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| \.eggs
| _build
| build
| dist
)/
'''