-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PEP 621: Migrate to pyproject.toml (#291)
* PEP 621: Migrate to pyproject.toml * Update .github/workflows/ci.yml Correct. It will. I was a bit concerned about how long the 3.11 tests take. Co-authored-by: Cooper Lees <[email protected]> * 3.11.0-rc - 3.11 * Upgrade minimum Python from 3.6 to 3.7 Co-authored-by: Cooper Lees <[email protected]>
- Loading branch information
1 parent
846ba72
commit 0fec7e5
Showing
5 changed files
with
71 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,67 @@ | ||
[build-system] | ||
requires = ["setuptools>=61.2"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "flake8-bugbear" | ||
authors = [{name = "Łukasz Langa", email = "[email protected]"}] | ||
license = {text = "MIT"} | ||
description = "A plugin for flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodestyle." | ||
keywords = [ | ||
"flake8", | ||
"bugbear", | ||
"bugs", | ||
"pyflakes", | ||
"pylint", | ||
"linter", | ||
"qa", | ||
] | ||
readme = "README.rst" | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Console", | ||
"Framework :: Flake8", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"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 :: Only", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
"Topic :: Software Development :: Quality Assurance", | ||
] | ||
requires-python = ">=3.7" | ||
dependencies = ["flake8 >= 3.0.0", "attrs>=19.2.0"] | ||
dynamic = ["version"] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/PyCQA/flake8-bugbear" | ||
"Change Log" = "https://github.com/PyCQA/flake8-bugbear#change-log" | ||
|
||
[project.entry-points] | ||
"flake8.extension" = {B = "bugbear:BugBearChecker"} | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"coverage", | ||
"hypothesis", | ||
"hypothesmith>=0.2", | ||
"pre-commit", | ||
] | ||
|
||
[tool.setuptools] | ||
py-modules = ["bugbear"] | ||
zip-safe = false | ||
# test-suite = "tests.test_bugbear" # Deprecated since setuptools v41.5.0 | ||
license-files = ["LICENSE"] | ||
include-package-data = false | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "bugbear.__version__"} | ||
|
||
[tool.isort] | ||
profile = "black" | ||
profile = "black" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,3 @@ | ||
[metadata] | ||
license_file = LICENSE | ||
name = flake8-bugbear | ||
version = attr: bugbear.__version__ | ||
author = Łukasz Langa | ||
author_email = [email protected] | ||
license = MIT | ||
description = A plugin for flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodestyle. | ||
keywords = | ||
flake8 | ||
bugbear | ||
bugs | ||
pyflakes | ||
pylint | ||
linter | ||
qa | ||
url = https://github.com/PyCQA/flake8-bugbear | ||
long_description = file: README.rst | ||
classifiers = | ||
Development Status :: 5 - Production/Stable | ||
Environment :: Console | ||
Framework :: Flake8 | ||
Intended Audience :: Developers | ||
License :: OSI Approved :: MIT License | ||
Operating System :: OS Independent | ||
Programming Language :: Python | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3.6 | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
Programming Language :: Python :: 3 :: Only | ||
Topic :: Software Development :: Libraries :: Python Modules | ||
Topic :: Software Development :: Quality Assurance | ||
project_urls = | ||
Change Log = https://github.com/PyCQA/flake8-bugbear#change-log | ||
[options] | ||
py_modules = bugbear | ||
zip_safe = False | ||
install_requires = flake8 >= 3.0.0; attrs>=19.2.0 | ||
python_requires = >=3.6 | ||
test_suite = tests.test_bugbear | ||
[options.entry_points] | ||
flake8.extension = B = bugbear:BugBearChecker | ||
[options.extras_require] | ||
dev = | ||
coverage | ||
hypothesis | ||
hypothesmith>=0.2 | ||
pre-commit | ||
[flake8] | ||
# Keep in sync with .flake8. This copy here is needed for source packages | ||
# to be able to pass tests without failing selfclean check. | ||
|