Skip to content

Commit 3ea6c36

Browse files
committed
chore: adjust pyproject.toml
Use the same template as `flake8-deprecated` and all other flake8 plugins I maintain.
1 parent 63f32a2 commit 3ea6c36

File tree

1 file changed

+43
-37
lines changed

1 file changed

+43
-37
lines changed

pyproject.toml

Lines changed: 43 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,61 @@
11
[build-system]
2-
requires = ["setuptools>=61.2"]
3-
build-backend = "setuptools.build_meta"
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
44

55
[project]
66
name = "flake8-isort"
77
version = "6.1.1.dev0"
8-
authors = [{ name = "Gil Forcada", email = "gil.gnome@gmail.com" }]
9-
license = { text = "GPL version 2" }
10-
description = "flake8 plugin that integrates isort ."
8+
authors = [
9+
{ name="Gil Forcada Codinachs", email="gil.gnome@gmail.com" },
10+
]
11+
description = "flake8 plugin that integrates isort"
1112
keywords = ["pep8", "flake8", "python", "isort", "imports"]
13+
license = {file = "LICENSE"}
1214
readme = "README.rst"
15+
requires-python = ">=3.8"
1316
classifiers = [
14-
"Development Status :: 5 - Production/Stable",
15-
"Environment :: Console",
16-
"Framework :: Flake8",
17-
"Intended Audience :: Developers",
18-
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
19-
"Operating System :: OS Independent",
20-
"Programming Language :: Python",
21-
"Programming Language :: Python :: 3",
22-
"Programming Language :: Python :: 3 :: Only",
23-
"Programming Language :: Python :: 3.8",
24-
"Programming Language :: Python :: 3.9",
25-
"Programming Language :: Python :: 3.10",
26-
"Programming Language :: Python :: 3.11",
27-
"Programming Language :: Python :: Implementation :: CPython",
28-
"Programming Language :: Python :: Implementation :: PyPy",
29-
"Topic :: Software Development",
30-
"Topic :: Software Development :: Quality Assurance",
17+
"Development Status :: 5 - Production/Stable",
18+
"Environment :: Console",
19+
"Framework :: Flake8",
20+
'Framework :: Plone',
21+
"Intended Audience :: Developers",
22+
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
23+
"Operating System :: OS Independent",
24+
"Programming Language :: Python",
25+
"Programming Language :: Python :: 3",
26+
"Programming Language :: Python :: 3 :: Only",
27+
"Programming Language :: Python :: 3.8",
28+
"Programming Language :: Python :: 3.9",
29+
"Programming Language :: Python :: 3.10",
30+
"Programming Language :: Python :: 3.11",
31+
"Programming Language :: Python :: 3.12",
32+
"Programming Language :: Python :: Implementation :: CPython",
33+
"Programming Language :: Python :: Implementation :: PyPy",
34+
"Topic :: Software Development",
35+
"Topic :: Software Development :: Quality Assurance",
3136
]
32-
urls = { Homepage = "https://github.com/gforcada/flake8-isort" }
33-
requires-python = ">=3.8"
3437
dependencies = ["flake8", "isort >= 5.0.0, <6"]
3538

36-
[project.entry-points]
37-
"flake8.extension" = { I00 = "flake8_isort:Flake8Isort" }
39+
[project.urls]
40+
"Homepage" = "https://github.com/gforcada/flake8-isort"
41+
"Bug Tracker" = "https://github.com/gforcada/flake8-isort/issues"
42+
"Changelog" = "https://github.com/gforcada/flake8-isort/blob/main/CHANGES.rst"
3843

3944
[project.optional-dependencies]
4045
test = ["pytest"]
4146

42-
[tool.setuptools]
43-
py-modules = ["flake8_isort"]
44-
zip-safe = false
45-
include-package-data = true
47+
[project.entry-points."flake8.extension"]
48+
I00 = "flake8_isort:Flake8Isort"
49+
50+
[tool.isort]
51+
profile = "plone"
4652

47-
[tool."zest.releaser"]
48-
create-wheel = "yes"
53+
[tool.black]
54+
target-version = ["py38"]
55+
skip-string-normalization = true
4956

5057
[tool.check-manifest]
51-
ignore = """
52-
.installed.cfg"""
53-
54-
[tool.isort]
55-
profile = "black"
58+
ignore = [
59+
".vscode/*",
60+
"venv/*",
61+
]

0 commit comments

Comments
 (0)