Skip to content

Commit 354f873

Browse files
authored
Merge pull request #1852 from PyCQA/setup-cfg-fmt
use setup-cfg-fmt
2 parents 24be8ad + 5233d88 commit 354f873

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.pre-commit-config.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ repos:
77
- id: end-of-file-fixer
88
- id: trailing-whitespace
99
exclude: ^tests/fixtures/
10+
- repo: https://github.com/asottile/setup-cfg-fmt
11+
rev: v2.4.0
12+
hooks:
13+
- id: setup-cfg-fmt
1014
- repo: https://github.com/asottile/reorder-python-imports
1115
rev: v3.10.0
1216
hooks:

setup.cfg

+3-8
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ author_email = [email protected]
1010
maintainer = Ian Stapleton Cordasco
1111
maintainer_email = [email protected]
1212
license = MIT
13-
license_file = LICENSE
13+
license_files = LICENSE
1414
classifiers =
1515
Development Status :: 5 - Production/Stable
1616
Environment :: Console
@@ -27,18 +27,13 @@ classifiers =
2727

2828
[options]
2929
packages = find:
30-
package_dir =
31-
=src
32-
# We document the reasoning for using ranges here:
33-
# https://flake8.pycqa.org/en/latest/faq.html#why-does-flake8-use-ranges-for-its-dependencies
34-
# And in which releases we will update those ranges here:
35-
# https://flake8.pycqa.org/en/latest/internal/releases.html#releasing-flake8
3630
install_requires =
3731
mccabe>=0.7.0,<0.8.0
3832
pycodestyle>=2.11.0,<2.12.0
3933
pyflakes>=3.1.0,<3.2.0
40-
# 3.8.0's importlib.metadata is broken
4134
python_requires = >=3.8.1
35+
package_dir =
36+
=src
4237

4338
[options.packages.find]
4439
where = src

0 commit comments

Comments
 (0)