File tree Expand file tree Collapse file tree 6 files changed +12
-19
lines changed Expand file tree Collapse file tree 6 files changed +12
-19
lines changed Original file line number Diff line number Diff line change @@ -15,3 +15,7 @@ search = : str = "{current_version}"
15
15
replace = : str = " {new_version}"
16
16
17
17
[bumpversion:file:pyproject.toml]
18
+
19
+ [bumpversion:file:setup.cfg]
20
+ search = name = {current_version}
21
+ replace = name = {new_version}
Original file line number Diff line number Diff line change 31
31
args :
32
32
- --allow-git
33
33
- 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$
35
35
- id : bind-requirements
36
36
37
37
- repo : https://github.com/domdfcoding/flake8-dunder-all
71
71
rev : v0.4.3
72
72
hooks :
73
73
- id : formate
74
- exclude : ^(doc-source/conf|__pkginfo__|make_conda_recipe| setup)\.(_)?py$
74
+ exclude : ^(doc-source/conf|__pkginfo__|setup)\.(_)?py$
75
75
76
76
- repo : https://github.com/domdfcoding/dep_checker
77
77
rev : v0.6.1
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ See https://github.com/TypedDjango/pytest-mypy-plugins for the action pytest plu
24
24
* - Activity
25
25
- |commits-latest | |commits-since | |maintained | |pypi-downloads |
26
26
* - QA
27
- - |codefactor | |actions_flake8 | |actions_mypy | | pre_commit_ci |
27
+ - |codefactor | |actions_flake8 | |actions_mypy |
28
28
* - Other
29
29
- |license | |language | |requires |
30
30
@@ -94,10 +94,6 @@ See https://github.com/TypedDjango/pytest-mypy-plugins for the action pytest plu
94
94
:target: https://pypi.org/project/pytest-mypy-plugins-shim/
95
95
:alt: PyPI - Downloads
96
96
97
- .. |pre_commit_ci | image :: https://results.pre-commit.ci/badge/github/python-coincidence/pytest-mypy-plugins-shim/master.svg
98
- :target: https://results.pre-commit.ci/latest/github/python-coincidence/pytest-mypy-plugins-shim/master
99
- :alt: pre-commit.ci status
100
-
101
97
.. end shields
102
98
103
99
Installation
Original file line number Diff line number Diff line change 11
11
# This script based on https://github.com/rocky/python-uncompyle6/blob/master/__pkginfo__.py
12
12
#
13
13
14
- # stdlib
15
- import pathlib
16
-
17
14
__all__ = [
18
- "__copyright__" ,
19
15
"__version__" ,
20
- "repo_root" ,
21
- "install_requires" ,
22
16
"extras_require" ,
23
17
]
24
18
25
- __copyright__ = """
26
- 2021 Dominic Davis-Foster <dominic@davis-foster.co.uk>
27
- """
28
-
29
19
__version__ = "0.1.0"
30
- repo_root = pathlib .Path (__file__ ).parent
31
- install_requires = (repo_root / "requirements.txt" ).read_text (encoding = "utf-8" ).split ('\n ' )
32
20
extras_require = {}
Original file line number Diff line number Diff line change 8
8
9
9
[metadata]
10
10
name = pytest-mypy-plugins-shim
11
+ version = 0.1.0
11
12
author = Dominic Davis-Foster
12
13
author_email = dominic@davis-foster.co.uk
13
14
license = MIT License
Original file line number Diff line number Diff line change 2
2
# This file is managed by 'repo_helper'. Don't edit it directly.
3
3
4
4
# stdlib
5
+ import pathlib
5
6
import shutil
6
7
import sys
7
8
13
14
# this package
14
15
from __pkginfo__ import * # pylint: disable=wildcard-import
15
16
17
+ repo_root = pathlib .Path (__file__ ).parent
18
+ install_requires = (repo_root / "requirements.txt" ).read_text (encoding = "UTF-8" ).split ('\n ' )
19
+
16
20
setup (
17
21
description =
18
22
"Substitute for \" pytest-mypy-plugins\" for Python implementations which aren't supported by mypy." ,
You can’t perform that action at this time.
0 commit comments