-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
53 lines (45 loc) · 1.54 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
[tool.poetry]
name = "aioworkers-databases"
version = "0.0.0"
description = "Databases plugin for aioworkers"
authors = ["Alexander Bogushov <abogushov@gmail.com>"]
license = "Apache Software License 2.0"
readme = "README.md"
homepage = "https://github.com/aioworkers/aioworkers-databases"
repository = "https://github.com/aioworkers/aioworkers-databases"
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
]
packages = [
{ include = "aioworkers_databases" },
]
[tool.poetry.dependencies]
python = ">=3.6.1,<4.0"
aioworkers = "^0.18"
databases = "^0.4.0"
[tool.poetry.dev-dependencies]
pytest = "^6.2"
pytest-aioworkers = "^0.3.0"
PyYAML = "^5.4.1"
pytest-black = "^0.3.12"
pytest-flake8 = "^1.0.7"
pytest-mypy = "^0.8.0"
aiosqlite = "^0.17.0"
ipython = "^7.11"
[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 --strict-markers"
testpaths = ["aioworkers_databases", "tests"]
flake8-max-complexity = 10
flake8-max-line-length = 99
markers = ["sqlite"]