-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
126 lines (111 loc) · 2.7 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
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["brazil_fiscal_client*"]
[project]
name = "brazil-fiscal-client"
description = "SOAP client for the Brazilian Fiscal Authorities"
authors = [{name = "Raphael Valyi", email = "[email protected]"}]
license = {text = "MIT"}
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development",
]
keywords = ["soap", "wsdl", "nfe", "fazenda", "binding", "nfelib", "odoo"]
requires-python = ">=3.8"
dependencies = [
"xsdata",
"requests",
"requests-pkcs12"
]
dynamic = ["version"]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.urls]
Homepage = "https://github.com/akretion/brazil-fiscal-client"
Source = "https://github.com/akretion/brazil-fiscal-client"
Documentation = "https://github.com/akretion/brazil-fiscal-client"
[project.optional-dependencies]
test = [
"pre-commit",
"pytest",
"pytest-cov",
]
[project.scripts]
xsdata = "xsdata.__main__:main"
[tool.setuptools]
include-package-data = true
license-files = ["LICENSE"]
[tool.setuptools.dynamic]
version = {attr = "brazil_fiscal_client.__version__"}
[tool.ruff]
target-version = "py38"
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# flake8-annotations
"ANN",
# flake8-comprehensions
"C4",
# isort
"I",
# pydocstyle
"D",
# flake-raise
"RSE",
# flake-return
"RET",
# Ruff rules
"RUF",
]
ignore = [
"ANN101",
"ANN102",
"ANN201",
"ANN202",
"ANN204",
"ANN206",
"ANN401",
"E203",
"B028",
"B904",
"D100",
"D104",
"D107",
"RUF009",
"RUF012",
]
[tool.ruff.lint.per-file-ignores]
"**/{tests}/*" = ["ANN001", "ANN002", "ANN003", "E501", "B018", "D"]
"**/utils/testing.py" = ["D"]
"docs/*" = ["D"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.format]
line-ending = "lf"
[tool.pytest.ini_options]
addopts = "--color=yes"
doctest_optionflags = "NORMALIZE_WHITESPACE"