-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
61 lines (53 loc) · 1.77 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
[tool.poetry]
name = "aioworkers-mongo"
version = "0.0.0"
description = "Module for working with MongoDB via asyncpg"
authors = [
"Alexander Bogushov <[email protected]>",
"Alexander Malev <[email protected]>",
]
license = "Apache Software License 2.0"
readme = "README.md"
homepage = "https://github.com/aioworkers/aioworkers-mongo"
repository = "https://github.com/aioworkers/aioworkers-mongo"
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
packages = [
{ include = "aioworkers_mongo" },
]
[tool.poetry.dependencies]
python = ">=3.6 <3.11"
aioworkers = ">=0.13"
motor = ">=1.3, < 2.0"
[tool.poetry.dev-dependencies]
pytest = "*"
pytest-aioworkers = "*"
pytest-black = "*"
black = "20.8b1"
pytest-flake8 = "*"
flake8 = "*"
pyyaml = "*"
pytest-mypy = "*"
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry.core.masonry.api"
[tool.poetry-dynamic-versioning]
enable = true
# The pattern for git tag in pep440 format. It is the same as default but without the v prefix.
pattern = "(?x)^(?P<base>\\d+\\.\\d+\\.\\d+)(-?((?P<stage>[a-zA-Z]+)\\.?(?P<revision>\\d+)?))?(\\+(?P<tagged_metadata>.+))?$"
[tool.poetry-dynamic-versioning.substitution]
enable = true
[tool.pytest.ini_options]
addopts = "--flake8 --doctest-modules --black --mypy --mypy-ignore-missing-imports"
testpaths = ["aioworkers_mongo", "tests"]
flake8-max-complexity = 10
flake8-max-line-length = 99