Skip to content

Commit be2ad52

Browse files
authored
Add setup-cfg-fmt to pre-commit (#518)
1 parent 43480c4 commit be2ad52

2 files changed

Lines changed: 20 additions & 13 deletions

File tree

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ repos:
1313
- id: check-toml
1414
- id: end-of-file-fixer
1515
- id: trailing-whitespace
16+
- repo: https://github.com/asottile/setup-cfg-fmt
17+
rev: v2.2.0
18+
hooks:
19+
- id: setup-cfg-fmt
20+
args:
21+
- --include-version-classifiers
1622
- repo: https://github.com/asottile/pyupgrade
1723
rev: v3.3.1
1824
hooks:

setup.cfg

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,42 @@
11
[metadata]
2-
name = pytest-randomly
2+
name = pytest_randomly
33
version = 3.12.0
44
description = Pytest plugin to randomly order tests and control random.seed.
55
long_description = file: README.rst
66
long_description_content_type = text/x-rst
7+
url = https://github.com/pytest-dev/pytest-randomly
78
author = Adam Johnson
89
author_email = me@adamj.eu
9-
url = https://github.com/pytest-dev/pytest-randomly
10-
project_urls =
11-
Changelog = https://github.com/pytest-dev/pytest-randomly/blob/main/HISTORY.rst
12-
Twitter = https://twitter.com/adamchainz
1310
license = MIT
14-
keywords = pytest, random, randomize, randomise, randomly
11+
license_file = LICENSE
1512
classifiers =
1613
Development Status :: 5 - Production/Stable
1714
Framework :: Pytest
1815
Intended Audience :: Developers
1916
License :: OSI Approved :: MIT License
2017
Natural Language :: English
21-
Programming Language :: Python :: 3 :: Only
2218
Programming Language :: Python :: 3
19+
Programming Language :: Python :: 3 :: Only
2320
Programming Language :: Python :: 3.7
2421
Programming Language :: Python :: 3.8
2522
Programming Language :: Python :: 3.9
2623
Programming Language :: Python :: 3.10
2724
Programming Language :: Python :: 3.11
2825
Typing :: Typed
26+
keywords = pytest, random, randomize, randomise, randomly
27+
project_urls =
28+
Changelog = https://github.com/pytest-dev/pytest-randomly/blob/main/HISTORY.rst
29+
Twitter = https://twitter.com/adamchainz
2930

3031
[options]
31-
package_dir=
32-
=src
3332
packages = find:
34-
include_package_data = True
3533
install_requires =
36-
importlib-metadata >= 3.6.0 ; python_version < "3.10"
3734
pytest
35+
importlib-metadata>=3.6.0 ;python_version < "3.10"
3836
python_requires = >=3.7
37+
include_package_data = True
38+
package_dir =
39+
=src
3940
zip_safe = False
4041

4142
[options.packages.find]
@@ -54,8 +55,8 @@ source =
5455

5556
[coverage:paths]
5657
source =
57-
src
58-
.tox/**/site-packages
58+
src
59+
.tox/**/site-packages
5960

6061
[coverage:report]
6162
show_missing = True

0 commit comments

Comments
 (0)