-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
83 lines (75 loc) · 1.79 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "magic-filter"
dynamic = ["version"]
description = ''
readme = "README.md"
requires-python = ">=3.7"
license = "MIT"
keywords = [
"magic",
"filter",
"validation"
]
authors = [
{ name = "Alex Root Junior", email = "pypi@aiogram.dev" },
]
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Utilities",
"Typing :: Typed",
]
dependencies = []
[project.optional-dependencies]
dev = [
"pre-commit~=2.20.0",
"pytest~=7.1.3",
"pytest-cov~=3.0.0",
"pytest-html~=3.1.1",
"flake8~=5.0.4",
"mypy~=1.4.1",
"black~=22.8.0",
"isort~=5.11.5",
"types-setuptools~=65.3.0",
]
[project.urls]
Documentation = "https://docs.aiogram.dev/en/dev-3.x/dispatcher/filters/magic_filters.html"
Issues = "https://github.com/aiogram/magic-filter/issues"
Source = "https://github.com/aiogram/magic-filter"
[tool.hatch.version]
path = "magic_filter/__init__.py"
[tool.hatch.envs.default]
features = [
"dev"
]
[tool.hatch.envs.default.scripts]
test = "pytest {args:tests}"
test-cov = "coverage run -m pytest {args:tests}"
cov-report = [
"- coverage combine",
"coverage report",
]
cov = [
"test-cov",
"cov-report",
]
[tool.black]
target-version = ["py37"]
line-length = 120
skip-string-normalization = true
[tool.isort]
profile = "black"
line_length = 99
known_first_party = [
"magic_filter"
]