This repository has been archived by the owner on Jan 26, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathpyproject.toml
97 lines (87 loc) · 2.66 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
85
86
87
88
89
90
91
92
93
94
95
96
97
[tool.poetry]
name = "calculadora-do-cidadao"
version = "1.0.0"
description = "Tool for Brazilian Reais monetary adjustment/correction"
authors = ["Eduardo Cuducos <[email protected]>"]
license = "GPLv3"
readme = "README.md"
homepage = "https://calculadora-do-cidadao.readthedocs.io/"
repository = "https://github.com/cuducos/calculadora-do-cidadao/"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Utilities",
]
keywords = [
"Brazil",
"Brazilian Reais",
"monetary adjusment",
"monetary correction",
"Inflation",
]
packages = [
{ include = "calculadora_do_cidadao" },
]
[tool.poetry.dependencies]
python = "^3.7"
pip = { version = ">=20.0.0", optional = true }
lxml = "^4.7.1"
readthedocs-sphinx-ext = { version = ">=2.1.3", optional = true }
requests = ">=2.22.0"
sphinx = { version = ">=3.4.3", optional = true }
sphinx-rtd-theme = { version = ">=0.5.1", optional = true }
typer = ">=0.0.8"
unicodecsv = "^0.14.1"
xlrd = "^2.0.1"
xlwt = "^1.3.0"
[tool.poetry.dev-dependencies]
black = "21.9b0"
coverage = {extras = ["toml"], version = "^5.5"}
freezegun = "^1.1.0"
pytest = "^6.2.5"
pytest-black = "^0.3.12"
pytest-cov = "^2.12.1"
pytest-mock = "^3.6.1"
pytest-mypy = "^0.8.1"
tox = "^3.24.4"
types-freezegun = "^1.1.6"
types-requests = "^2.27.7"
types-setuptools = "^57.4.7"
[tool.pytest.ini_options]
addopts = "--black --mypy --mypy-ignore-missing-imports --ignore calculadora_do_cidadao/rows/ --cov=calculadora_do_cidadao --cov-report term --disable-warnings"
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
]
omit = ["calculadora_do_cidadao/rows/*"]
[tool.mypy]
exclude = ["^calculadora_do_cidadao/rows/"]
[tool.poetry.extras]
docs = ["pip", "readthedocs-sphinx-ext", "sphinx", "sphinx-rtd-theme"]
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = True
envlist =
py{3.7,3.8,3.9}
[gh-actions]
python =
3.7: py3.7
3.8: py3.8
3.9: py3.9
[testenv]
deps = poetry
commands =
poetry export --dev --without-hashes --output /tmp/calculadora-do-cidadao.requirements.txt
pip install -r /tmp/calculadora-do-cidadao.requirements.txt
pytest --black --mypy --mypy-ignore-missing-imports --ignore calculadora_do_cidadao/rows/ --cov=calculadora_do_cidadao --cov-report term --disable-warnings
"""
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"