mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-29 10:36:53 +00:00
use setup-cfg-fmt
This commit is contained in:
parent
f2641954c4
commit
5233d88069
2 changed files with 7 additions and 8 deletions
|
|
@ -7,6 +7,10 @@ repos:
|
|||
- id: end-of-file-fixer
|
||||
- id: trailing-whitespace
|
||||
exclude: ^tests/fixtures/
|
||||
- repo: https://github.com/asottile/setup-cfg-fmt
|
||||
rev: v2.4.0
|
||||
hooks:
|
||||
- id: setup-cfg-fmt
|
||||
- repo: https://github.com/asottile/reorder-python-imports
|
||||
rev: v3.10.0
|
||||
hooks:
|
||||
|
|
|
|||
11
setup.cfg
11
setup.cfg
|
|
@ -10,7 +10,7 @@ author_email = tarek@ziade.org
|
|||
maintainer = Ian Stapleton Cordasco
|
||||
maintainer_email = graffatcolmingov@gmail.com
|
||||
license = MIT
|
||||
license_file = LICENSE
|
||||
license_files = LICENSE
|
||||
classifiers =
|
||||
Development Status :: 5 - Production/Stable
|
||||
Environment :: Console
|
||||
|
|
@ -27,18 +27,13 @@ classifiers =
|
|||
|
||||
[options]
|
||||
packages = find:
|
||||
package_dir =
|
||||
=src
|
||||
# We document the reasoning for using ranges here:
|
||||
# https://flake8.pycqa.org/en/latest/faq.html#why-does-flake8-use-ranges-for-its-dependencies
|
||||
# And in which releases we will update those ranges here:
|
||||
# https://flake8.pycqa.org/en/latest/internal/releases.html#releasing-flake8
|
||||
install_requires =
|
||||
mccabe>=0.7.0,<0.8.0
|
||||
pycodestyle>=2.11.0,<2.12.0
|
||||
pyflakes>=3.1.0,<3.2.0
|
||||
# 3.8.0's importlib.metadata is broken
|
||||
python_requires = >=3.8.1
|
||||
package_dir =
|
||||
=src
|
||||
|
||||
[options.packages.find]
|
||||
where = src
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue