-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
128 lines (103 loc) · 2.26 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
# SPDX-FileCopyrightText: 2021, 2022 ImpulsoGov <[email protected]>
#
# SPDX-License-Identifier: MIT
[tool.poetry]
name = "impulsoetl"
version = "0.2.0"
description = "Ingestão, tratamento e caregamento de dados dos serviços de saúde mental do SUS."
readme = "README.md"
license = "MIT"
authors = ["ImpulsoGov <[email protected]>"]
[tool.poetry.dependencies]
python = ">=3.10,<3.11"
cryptography = ">=38.0.3"
"psycopg2-binary" = "^2.9.3"
scipy = "~1.8.1"
frozendict = "2.1.1"
frozenlist = "1.2.0"
loguru = "0.5.3"
pyjanitor = "0.21.2"
python-dotenv = "0.19.2"
SQLAlchemy = {extras = ["mypy"], version = "1.4.27"}
toolz = "0.11.2"
types-frozendict = "0.1.6"
types-requests = "2.26.1"
Unidecode = "1.3.2"
roman = "^3.3"
types-psycopg2 = "^2.9.11"
more-itertools = "^8.12.0"
uuid6 = "^2022.6.25"
lxml = "^4.9.1"
xlrd = "^2.0.1"
beautifulsoup4 = "^4.11.2"
pandas = "1.4.3"
pyreaddbc = "1.0.0"
dbfread = "2.0.7"
[tool.poetry.group.prefect]
optional = true
[tool.poetry.group.prefect.dependencies]
prefect = ">=2.6.7, <3.0"
[tool.poetry.group.dev.dependencies]
bandit = "1.7.1"
black = "==20.8b1"
coverage = { git = "https://github.com/nedbat/coveragepy.git", tag = "6.0b1" }
dlint = "0.12.0"
flake8 = "4.0.1"
isort = "5.10.1"
mypy = "0.910"
pre-commit = "2.15.0"
pycln = ">=1.3.2,<3.0.0"
pytest = "7.2.0"
pytest-cov = "2.12.1"
pyupgrade = "2.29.1"
reuse = "0.13.0"
safety = "1.10.3"
wemake-python-styleguide="0.0.1"
pytest-testmon = "^1.2.3"
[tool.poetry.extras]
analise = [
"ipykernel",
"jupyter"
]
[tool.bandit]
skips = ["B101"]
[tool.black]
line-length = 79
target-version = ["py38", "py39"]
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 79
combine_as_imports = true
[tool.mypy]
files=["src/impulsoetl/**/*.py", "tests/**/*.py"]
ignore_missing_imports=true
plugins = [
"sqlalchemy.ext.mypy.plugin",
"numpy.typing.mypy_plugin"
]
[[tool.mypy.overrides]]
module = "tests.*"
[tool.pytest.ini_options]
testpaths = [
"tests"
]
python_files = [
"teste_*.py",
]
python_classes = [
"Teste*",
]
python_functions = [
"teste_*",
]
markers = [
"unitario",
"integracao",
]
log_cli = true
[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"