-
-
Notifications
You must be signed in to change notification settings - Fork 56
/
pyproject.toml
129 lines (110 loc) · 2.96 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
128
129
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "brazilcep"
description = "Minimalist and easy-to-use python library designed to query CEP (brazilian zip codes) data"
readme = "README.md"
license = { file = "LICENSE" }
authors = [{ name = "Michell Stuttgart", email = "[email protected]" }]
requires-python = ">=3.9"
dynamic = ["version"]
classifiers = [
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Libraries :: Python Modules",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries",
"Natural Language :: English",
"Natural Language :: Portuguese (Brazilian)",
]
dependencies = ["requests>=2.28.2"]
[project.optional-dependencies]
dev = [
"tox>=4.23.2",
"pytest>=7.3.1",
"mypy>=1.0,<1.5",
"types-requests",
"requests-mock>=1.10.0",
"black>=23.0,<24.0",
"isort>=5.12,<5.13",
"pre-commit>=4.0.1",
"python-dotenv",
"ruff",
"ipdb",
]
coverage = ["coveralls>=3.3.1", "pytest-cov>=4.0.0", "requests-mock>=1.10.0"]
docs = [
"Sphinx>=6,<8",
"readme-renderer==43",
"myst-parser>=1.0,<2.1",
"sphinx-copybutton==0.5.2",
"sphinx-autobuild==2021.3.14",
"sphinx-autodoc-typehints==1.23.3",
]
build = ["build==1.2.2.post1"]
[project.urls]
Documentation = "https://brazilcep.readthedocs.io/index.html"
Repository = "https://github.com/mstuttgart/brazilcep"
Tracker = "https://github.com/mstuttgart/brazilcep/issues"
Changelog = "https://github.com/mstuttgart/brazilcep/blob/main/CHANGELOG"
[tool.check-manifest]
ignore = [
".*",
"tests/**",
"docs/**",
"bin/**",
"*.yml",
".tox.ini",
".pylintrc",
]
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
exclude = ["*.tests", "*.tests.*", "tests.*", "tests", "docs*", "scripts*"]
[tool.setuptools.package-data]
brazilcep = ["py.typed"]
[tool.setuptools.dynamic]
version = { attr = "brazilcep.__version__.__version__" }
[tool.black]
line-length = 100
include = '\.pyi?$'
exclude = '''
(
__pycache__
| \.git
| \.mypy_cache
| \.pytest_cache
| \.vscode
| \.venv
| \bdist\b
| \bdoc\b
| \.nox
| \.github
)
'''
[tool.isort]
profile = "black"
multi_line_output = 3
skip = ["docs"]
# You can override these pyright settings by adding a personal pyrightconfig.json file.
[tool.pyright]
reportPrivateImportUsage = false
[tool.mypy]
strict = false
[[tool.mypy.overrides]]
module = "tests.*"
strict_optional = false
[tool.coverage.run]
branch = true
omit = ["tests/*"]