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 <me@cooperlees.com> * 3.11.0-rc - 3.11 * Upgrade minimum Python from 3.6 to 3.7 Co-authored-by: Cooper Lees <me@cooperlees.com>
- 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 = "lukasz@langa.pl"}] | ||
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