-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
66 lines (56 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
54
55
56
57
58
59
60
61
62
63
64
65
66
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "satispaython"
version = "0.4.0"
description = "A simple library to manage Satispay payments following the Web-button flow."
license = "MIT"
authors = ["Daniele Pira <[email protected]>"]
readme = "README.md"
repository = "https://github.com/otto-torino/satispaython"
keywords = ["python", "satispay"]
classifiers = ["Topic :: Software Development :: Libraries :: Python Modules"]
packages = [{include = "satispaython", from="src"}]
[tool.poetry.dependencies]
python = "^3.6"
cryptography = "^3.4"
httpx = "^0.18"
[tool.poetry.dev-dependencies]
pytest-cov = "^2.10"
pytest-freezegun = "^0.4.1"
pytest-asyncio = "^0.14"
respx = "^0.17"
tox = "^3.4"
pytest-icdiff = "^0.5"
[tool.pytest.ini_options]
testpaths = ["tests"]
required_plugins = ["pytest-freezegun", "pytest-cov", "pytest-asyncio"]
addopts = "--cov --no-cov-on-fail"
[tool.coverage.run]
source = ["satispaython"]
[tool.coverage.paths]
source = ["src/satispaython", ".tox/py*/lib/python*/site-packages/satispaython"]
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = True
envlist = clean,py36,py37,py38,py39,report
[testenv]
setenv = py{36,37,38,39}: COVERAGE_FILE=.coverage.{envname}
depends =
{py36,py37,py38,py39}: clean
report: py36,py37,py38,py39
deps =
pytest-cov
pytest-freezegun
pytest-asyncio
respx
commands = pytest
[testenv:clean]
deps = coverage[toml]
commands = coverage erase
[testenv:report]
deps = coverage[toml]
commands = coverage combine
"""