Skip to content

Commit 7a489b4

Browse files
committed
Improve pyproject.toml organization
1 parent 24226c0 commit 7a489b4

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

pyproject.toml

+18-18
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,24 @@ test = [
3737
"pytest-httpserver>=1.0.10",
3838
]
3939

40+
[project.urls]
41+
Homepage = "https://www.maxmind.com/"
42+
Documentation = "https://minfraud.readthedocs.org/"
43+
"Source Code" = "https://github.com/maxmind/minfraud-api-python"
44+
"Issue Tracker" = "https://github.com/maxmind/minfraud-api-python/issues"
45+
46+
[build-system]
47+
requires = [
48+
"setuptools>=61.0.0",
49+
"setuptools-scm",
50+
]
51+
build-backend = "setuptools.build_meta"
52+
53+
[tool.black]
54+
# src is showing up in our GitHub linting builds. It seems to
55+
# contain deps.
56+
extend-exclude = '^/src/'
57+
4058
[tool.ruff.lint]
4159
select = ["ALL"]
4260
ignore = [
@@ -66,21 +84,3 @@ ignore = [
6684

6785
[tool.setuptools.package-data]
6886
minfraud = ["py.typed"]
69-
70-
[project.urls]
71-
Homepage = "https://www.maxmind.com/"
72-
Documentation = "https://minfraud.readthedocs.org/"
73-
"Source Code" = "https://github.com/maxmind/minfraud-api-python"
74-
"Issue Tracker" = "https://github.com/maxmind/minfraud-api-python/issues"
75-
76-
[build-system]
77-
requires = [
78-
"setuptools>=61.0.0",
79-
"setuptools-scm",
80-
]
81-
build-backend = "setuptools.build_meta"
82-
83-
[tool.black]
84-
# src is showing up in our GitHub linting builds. It seems to
85-
# contain deps.
86-
extend-exclude = '^/src/'

0 commit comments

Comments
 (0)