Skip to content

Commit

Permalink
Merge pull request #115 from gforcada/switch-to-pyproject-toml
Browse files Browse the repository at this point in the history
Switch to pyproject.toml
  • Loading branch information
gforcada committed Nov 1, 2023
2 parents 3482a92 + 0cf3586 commit b2649c3
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 64 deletions.
6 changes: 6 additions & 0 deletions CHANGES.rst
Expand Up @@ -12,6 +12,12 @@ Changelog
- Test pre-release of python 3.12.
[gforcada]

- Use `pyproject.toml` rather than `setup.py`.
[gforcada]

- Switch from `setuptools` to `hatchling`.
[gforcada]

2.1.0 (2022-12-23)
------------------

Expand Down
46 changes: 46 additions & 0 deletions pyproject.toml
@@ -0,0 +1,46 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "flake8-builtins"
version = "2.1.1.dev0"
authors = [
{ name="Gil Forcada Codinachs", email="gil.gnome@gmail.com" },
]
description = "Check for python builtins being used as variables or parameters"
keywords = ["pep8", "flake8", "python", ]
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",
]
dependencies = ["flake8"]

[project.urls]
"Homepage" = "https://github.com/gforcada/flake8-builtins"
"Bug Tracker" = "https://github.com/gforcada/flake8-builtins/issues"
"Changelog" = "https://github.com/gforcada/flake8-builtins/blob/master/CHANGES.rst"

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

[project.entry-points."flake8.extension"]
A00 = "flake8_builtins:BuiltinsChecker"
64 changes: 0 additions & 64 deletions setup.py

This file was deleted.

0 comments on commit b2649c3

Please sign in to comment.