-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpyproject.toml
More file actions
104 lines (91 loc) · 2.11 KB
/
pyproject.toml
File metadata and controls
104 lines (91 loc) · 2.11 KB
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
[tool.poetry]
name = "correpy"
version = "0.6.0"
description = "CorrePy (Corretagem Python) é uma lib responsável por parsear notas de corretagem no padrão B3 (Sinacor) e retornar os dados no formato JSON."
authors = ["Thiago Salvatore <thiago.salvatore@gmail.com>"]
license = "Apache License 2.0"
keywords = ["corretagem", "parser", "b3", "nota de corretagem", "imposto de renda"]
readme = "README.md"
homepage = "https://github.com/thiagosalvatore/correpy"
repository = "https://github.com/thiagosalvatore/correpy"
include = ["LICENSE"]
[tool.poetry.dependencies]
python = "^3.8"
PyMuPDF = "^1.23.9"
[tool.poetry.dev-dependencies]
ipython = "^8.0.0"
factory-boy = "^3.2.1"
pytest = "^6.2.5"
pylint = "^2.14.0"
mypy = "^0.960"
isort = "^5.10.1"
testfixtures = "^6.18.5"
coverage = "^6.4.1"
black = "^22.6.0"
[tool.black]
line-length = 120
target-version = ['py38']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs
| \.Python
| \.git
| \.hg
| \.mypy_cache
| \__pycache__
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
)
'''
[tool.mypy]
python_version = "3.10"
disallow_any_unimported = false
disallow_any_expr = false
disallow_any_decorated = false
disallow_any_explicit = true
disallow_any_generics = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
strict_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_return_any = true
warn_unreachable = true
allow_untyped_globals = false
allow_redefinition = false
strict = true
pretty = true
[[tool.mypy.overrides]]
module = "tests.*"
ignore_errors = true
[[tool.mypy.overrides]]
module = [
"factory.*",
"fitz.*"
]
ignore_missing_imports = true
[tool.isort]
profile = "black"
combine_as_imports = true
use_parentheses = true
include_trailing_comma = true
force_grid_wrap = 0
multi_line_output = 3
line_length = 120
skip = "tests"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"