Skip to content

Commit b9d1151

Browse files
Updated files with 'repo_helper'. (#3)
Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
1 parent 8165997 commit b9d1151

File tree

4 files changed

+7
-19
lines changed

4 files changed

+7
-19
lines changed

.bumpversion.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,7 @@ tag = True
1414
[bumpversion:file:testing_tox/__init__.py]
1515
search = : str = "{current_version}"
1616
replace = : str = "{new_version}"
17+
18+
[bumpversion:file:setup.cfg]
19+
search = name = {current_version}
20+
replace = name = {new_version}

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ repos:
3131
args:
3232
- --allow-git
3333
- id: check-docstring-first
34-
exclude: ^(doc-source/conf|__pkginfo__|make_conda_recipe|setup|tests/.*)\.py$
34+
exclude: ^(doc-source/conf|__pkginfo__|setup|tests/.*)\.py$
3535
- id: bind-requirements
3636

3737
- repo: https://github.com/domdfcoding/flake8-dunder-all
@@ -71,7 +71,7 @@ repos:
7171
rev: v0.4.3
7272
hooks:
7373
- id: formate
74-
exclude: ^(doc-source/conf|__pkginfo__|make_conda_recipe|setup)\.(_)?py$
74+
exclude: ^(doc-source/conf|__pkginfo__|setup)\.(_)?py$
7575

7676
- repo: https://github.com/domdfcoding/dep_checker
7777
rev: v0.6.1

README.rst

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ testing-tox
2020
* - Activity
2121
- |commits-latest| |commits-since| |maintained|
2222
* - QA
23-
- |codefactor| |actions_flake8| |actions_mypy| |pre_commit_ci|
23+
- |codefactor| |actions_flake8| |actions_mypy|
2424
* - Other
2525
- |license| |language| |requires|
2626

@@ -70,10 +70,6 @@ testing-tox
7070
.. |maintained| image:: https://img.shields.io/maintenance/yes/2021
7171
:alt: Maintenance
7272

73-
.. |pre_commit_ci| image:: https://results.pre-commit.ci/badge/github/python-coincidence/testing-tox/master.svg
74-
:target: https://results.pre-commit.ci/latest/github/python-coincidence/testing-tox/master
75-
:alt: pre-commit.ci status
76-
7773
.. end shields
7874
7975
Installation

__pkginfo__.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,10 @@
1111
# This script based on https://github.com/rocky/python-uncompyle6/blob/master/__pkginfo__.py
1212
#
1313

14-
# stdlib
15-
import pathlib
16-
1714
__all__ = [
18-
"__copyright__",
1915
"__version__",
20-
"repo_root",
21-
"install_requires",
2216
"extras_require",
2317
]
2418

25-
__copyright__ = """
26-
2021 Dominic Davis-Foster <dominic@davis-foster.co.uk>
27-
"""
28-
2919
__version__ = "0.0.0"
30-
repo_root = pathlib.Path(__file__).parent
31-
install_requires = (repo_root / "requirements.txt").read_text(encoding="utf-8").split('\n')
3220
extras_require = {}

0 commit comments

Comments
 (0)