Skip to content

Commit

Permalink
chore: adjust pyproject.toml
Browse files Browse the repository at this point in the history
Use the same template as `flake8-deprecated` and all other flake8
plugins I maintain.
  • Loading branch information
gforcada committed Nov 3, 2023
1 parent 63f32a2 commit 3ea6c36
Showing 1 changed file with 43 additions and 37 deletions.
80 changes: 43 additions & 37 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,55 +1,61 @@
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "flake8-isort"
version = "6.1.1.dev0"
authors = [{ name = "Gil Forcada", email = "[email protected]" }]
license = { text = "GPL version 2" }
description = "flake8 plugin that integrates isort ."
authors = [
{ name="Gil Forcada Codinachs", email="[email protected]" },
]
description = "flake8 plugin that integrates isort"
keywords = ["pep8", "flake8", "python", "isort", "imports"]
license = {file = "LICENSE"}
readme = "README.rst"
requires-python = ">=3.8"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Framework :: Flake8",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development",
"Topic :: Software Development :: Quality Assurance",
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Framework :: Flake8",
'Framework :: Plone',
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development",
"Topic :: Software Development :: Quality Assurance",
]
urls = { Homepage = "https://github.com/gforcada/flake8-isort" }
requires-python = ">=3.8"
dependencies = ["flake8", "isort >= 5.0.0, <6"]

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

[project.optional-dependencies]
test = ["pytest"]

[tool.setuptools]
py-modules = ["flake8_isort"]
zip-safe = false
include-package-data = true
[project.entry-points."flake8.extension"]
I00 = "flake8_isort:Flake8Isort"

[tool.isort]
profile = "plone"

[tool."zest.releaser"]
create-wheel = "yes"
[tool.black]
target-version = ["py38"]
skip-string-normalization = true

[tool.check-manifest]
ignore = """
.installed.cfg"""

[tool.isort]
profile = "black"
ignore = [
".vscode/*",
"venv/*",
]

0 comments on commit 3ea6c36

Please sign in to comment.