-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
80 lines (68 loc) · 1.8 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
[build-system]
requires = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "whois21"
authors = [
{ name = "CodeWriter21(Mehrad Pooryoussof)", email = "CodeWriter21@gmail.com" },
]
description = "A simple and easy to use Python package that lets you query whois/RDAP information of a domain/IP."
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.8"
keywords = [
"python", "python3", "CodeWriter21", "WHOIS", "whois21", "RDAP",
"Registration Data Access Protocol", "DNS", "ASN"
]
license = { text = "Apache License 2.0" }
classifiers = [
"Programming Language :: Python :: 3",
]
dependencies = [
"log21>=2.10.2",
"chardet>=5.2.0",
"requests>=2.31.0",
"importlib_resources>=6.1.0"
]
version = "1.4.6"
[tool.setuptools]
packages = ["whois21"]
[project.urls]
Homepage = "https://github.com/MPCodeWriter21/whois21"
Donations = "https://github.com/MPCodeWriter21/whois21/blob/master/DONATE.md"
Source = "https://github.com/MPCodeWriter21/whois21"
[project.optional-dependencies]
dev = [
"yapf>=0.40.1",
"isort>=5.12.0",
"pylint>=2.17.4",
"docformatter>=1.7.5"
]
[project.scripts]
whois21 = "whois21.__main__:run"
[tool.pylint.messages_control]
max-line-length = 88
disable = [
"too-few-public-methods",
"too-many-arguments",
"protected-access",
"too-many-locals",
"fixme",
]
# Add "ip" to good names for pylint
[tool.pylint.basic]
good-names = ["i", "j", "k", "ex", "Run", "_", "ip"]
[tool.pylint.design]
max-returns = 8
[tool.yapf]
column_limit = 88
split_before_dot = true
dedent_closing_brackets = true
split_before_first_argument = true
[tool.isort]
line_length = 88
order_by_type = true
combine_as_imports = true
[tool.docformatter]
style = "sphinx"
wrap-summaries = 88
wrap-descriptions = 88