forked from un33k/python-ipware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
89 lines (80 loc) · 1.85 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
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"
[project]
name = "python-ipware"
authors = [
{name = "Val Neekman", email = "[email protected]"},
]
description = "A Python package to retrieve user's IP address"
requires-python = ">=3.7"
dynamic = ["version", "readme"]
license = {text = "MIT"}
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
[project.urls]
Documentation = "https://github.com/un33k/python-ipware#readme"
Issues = "https://github.com/un33k/python-ipware/issues"
Source = "https://github.com/un33k/python-ipware"
Changelog = "https://github.com/un33k/python-ipware/blob/main/CHANGELOG.md"
[project.optional-dependencies]
dev = [
"ruff",
"coveralls~=3.3",
"coverage[toml]",
"twine"
]
[tool.setuptools]
packages = ["ipware"]
[tool.setuptools.dynamic]
version = {attr = "ipware.__version__"}
readme = {file = ["README.md"], content-type = "text/markdown"}
[tool.setuptools.package-data]
"ipware" = ["py.typed"]
[tool.ruff]
select = [
"B",
"C4",
"C9",
"DJ",
"E",
"EM",
"F",
"I",
"N",
"PGH",
"PLC",
"PLE",
"PLW",
"RSE",
"RET",
"RUF",
"SLF",
"SIM",
"TCH",
"TID",
"W",
]
ignore = ["PGH004", "TID252", "E501", "I001", "EM101", "SIM108", "SIM110"]
line-length = 120
target-version = "py37"
[tool.ruff.mccabe]
max-complexity = 16
[tool.coverage.run]
omit = [
"ipware/__version__.py"
]