forked from jsenecal/pyregrws
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
76 lines (63 loc) · 1.9 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
[tool.poetry]
name = "pyregrws"
version = "0.1.4"
description = "Python library to retrieve and modify records within ARIN's database through their Reg-RWS service"
authors = ["Jonathan Senecal <[email protected]>"]
homepage = "https://github.com/jsenecal/pyregrws"
license = "Apache 2.0"
readme = "README.md"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Python Modules",
"Framework :: Pydantic",
]
packages = [{ include = "regrws" }]
[tool.poetry.dependencies]
python = "^3.10"
requests = "^2.28.1"
pydantic = { extras = ["dotenv"], version = "^1.10.4" }
pydantic-xml = { extras = ["lxml"], version = "^0.5.0" }
[tool.poetry.group.dev.dependencies]
pytest-xdist = "^3.1.0"
black = { version = "^23.1.0", allow-prereleases = true }
ipython = "^8.10.0"
pytest = "^7.2.0"
xmldiff = "^2.4"
lxml = "^4.9.2"
pytest-cov = "^4.0.0"
responses = "^0.22.0"
[tool.pytest.ini_options]
filterwarnings = ["ignore::DeprecationWarning:pydantic_xml.*:"]
[tool.black]
line-length = 88
target_version = ['py310', 'py311']
[tool.isort]
profile = "black"
[tool.pylint]
max-line-length = 88
[tool.pyright]
reportGeneralTypeIssues = "information"
[tool.mypy]
plugins = ["pydantic.mypy"]
follow_imports = "silent"
warn_redundant_casts = true
warn_unused_ignores = true
disallow_any_generics = true
check_untyped_defs = true
no_implicit_reexport = true
# for strict mypy: (this is the tricky one :-))
disallow_untyped_defs = true
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
warn_untyped_fields = true
[build-system]
requires = ["poetry-core>=1.3.2"]
build-backend = "poetry.core.masonry.api"