Skip to content

Commit 3b8505d

Browse files
committed
add and apply setup-cfg-fmt
1 parent b2785e9 commit 3b8505d

2 files changed

Lines changed: 20 additions & 13 deletions

File tree

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,8 @@ repos:
4040
- id: pydocstyle
4141
args: ["--convention", "google"]
4242
files: "src/"
43+
44+
- repo: https://github.com/asottile/setup-cfg-fmt
45+
rev: v1.15.1
46+
hooks:
47+
- id: setup-cfg-fmt

setup.cfg

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,50 +3,52 @@ name = humanize
33
description = Python humanize utilities
44
long_description = file: README.md
55
long_description_content_type = text/markdown
6+
url = https://github.com/jmoiron/humanize
67
author = Jason Moiron
78
author_email = jmoiron@jmoiron.net
89
maintainer = Hugo van Kemenade
9-
url = https://github.com/jmoiron/humanize
10-
project_urls =
11-
Source=https://github.com/jmoiron/humanize
12-
Issue tracker=https://github.com/jmoiron/humanize/issues
13-
Funding=https://tidelift.com/subscription/pkg/pypi-humanize?utm_source=pypi-humanize&utm_medium=pypi
1410
license = MIT
15-
keywords = humanize time size
11+
license_file = LICENCE
1612
classifiers =
1713
Development Status :: 5 - Production/Stable
1814
Intended Audience :: Developers
1915
License :: OSI Approved :: MIT License
2016
Operating System :: OS Independent
2117
Programming Language :: Python
2218
Programming Language :: Python :: 3
19+
Programming Language :: Python :: 3 :: Only
2320
Programming Language :: Python :: 3.6
2421
Programming Language :: Python :: 3.7
2522
Programming Language :: Python :: 3.8
2623
Programming Language :: Python :: 3.9
27-
Programming Language :: Python :: 3 :: Only
2824
Programming Language :: Python :: Implementation :: CPython
2925
Programming Language :: Python :: Implementation :: PyPy
3026
Topic :: Text Processing
3127
Topic :: Text Processing :: General
28+
keywords = humanize time size
29+
project_urls =
30+
Source=https://github.com/jmoiron/humanize
31+
Issue tracker=https://github.com/jmoiron/humanize/issues
32+
Funding=https://tidelift.com/subscription/pkg/pypi-humanize?utm_source=pypi-humanize&utm_medium=pypi
3233

3334
[options]
3435
packages = find:
35-
package_dir = =src
36+
install_requires =
37+
setuptools
38+
python_requires = >=3.6
3639
include_package_data = True
40+
package_dir = =src
3741
zip_safe = False
38-
install_requires = setuptools
39-
python_requires = >=3.6
40-
41-
[options.packages.find]
42-
where = src
4342

4443
[options.extras_require]
4544
tests =
4645
freezegun
4746
pytest
4847
pytest-cov
4948

49+
[options.packages.find]
50+
where = src
51+
5052
[flake8]
5153
max_line_length = 88
5254

0 commit comments

Comments
 (0)