Skip to content

Commit 892c556

Browse files
committed
Added code
1 parent 2ecf120 commit 892c556

File tree

15 files changed

+110
-56
lines changed

15 files changed

+110
-56
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ tag = True
99

1010
[bumpversion:file:README.rst]
1111

12-
[bumpversion:file:pytest_mypy_plugin_shim/__init__.py]
12+
[bumpversion:file:pytest_mypy_plugins_shim/__init__.py]

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ THE ISSUE WILL BE CLOSED IF INSUFFICIENT INFORMATION IS PROVIDED.
3838

3939
* Operating System:
4040
* Python:
41-
* pytest-mypy-plugin-shim:
41+
* pytest-mypy-plugins-shim:
4242

4343
## Installation source
4444
<!-- e.g. Github repository, Github Releases, PyPI/pip, Anaconda/conda -->

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ assignees: domdfcoding
2020

2121
* Operating System:
2222
* Python:
23-
* pytest-mypy-plugin-shim:
23+
* pytest-mypy-plugins-shim:
2424

2525

2626
## Other Additional Information:

.github/workflows/octocheese.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
- uses: domdfcoding/octocheese@master
1616
with:
17-
pypi_name: "pytest-mypy-plugin-shim"
17+
pypi_name: "pytest-mypy-plugins-shim"
1818
env:
1919
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
2020
if: startsWith(github.ref, 'refs/tags/') != true

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ repos:
3838
rev: v0.1.5
3939
hooks:
4040
- id: ensure-dunder-all
41-
files: ^pytest_mypy_plugin_shim/.*\.py$
41+
files: ^pytest_mypy_plugins_shim/.*\.py$
4242

4343
- repo: https://github.com/domdfcoding/flake2lint
4444
rev: v0.2.0
@@ -78,6 +78,6 @@ repos:
7878
hooks:
7979
- id: dep_checker
8080
args:
81-
- pytest_mypy_plugin_shim
81+
- pytest_mypy_plugins_shim
8282

8383
# Custom hooks can be added below this comment

CONTRIBUTING.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Contributing
44

55
.. This file based on https://github.com/PyGithub/PyGithub/blob/master/CONTRIBUTING.md
66
7-
``pytest-mypy-plugin-shim`` uses `tox <https://tox.readthedocs.io>`_ to automate testing and packaging,
7+
``pytest-mypy-plugins-shim`` uses `tox <https://tox.readthedocs.io>`_ to automate testing and packaging,
88
and `pre-commit <https://pre-commit.com>`_ to maintain code quality.
99

1010
Install ``pre-commit`` with ``pip`` and install the git hook:

LICENSE

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
Copyright (c) 2021 Dominic Davis-Foster
22

3+
Based on https://github.com/TypedDjango/pytest-mypy-plugins
4+
Copyright 2018 Maksim Kurnikov
5+
36
Permission is hereby granted, free of charge, to any person obtaining a copy
47
of this software and associated documentation files (the "Software"), to deal
58
in the Software without restriction, including without limitation the rights

MANIFEST.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ include __pkginfo__.py
22
include LICENSE
33
include requirements.txt
44
prune **/__pycache__
5-
recursive-include pytest_mypy_plugin_shim *.pyi
6-
include pytest_mypy_plugin_shim/py.typed
5+
recursive-include pytest_mypy_plugins_shim *.pyi
6+
include pytest_mypy_plugins_shim/py.typed

README.rst

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -26,74 +26,74 @@ pytest-mypy-plugin-shim
2626
* - Other
2727
- |license| |language| |requires|
2828

29-
.. |actions_linux| image:: https://github.com/domdfcoding/pytest-mypy-plugin-shim/workflows/Linux/badge.svg
30-
:target: https://github.com/domdfcoding/pytest-mypy-plugin-shim/actions?query=workflow%3A%22Linux%22
29+
.. |actions_linux| image:: https://github.com/domdfcoding/pytest-mypy-plugins-shim/workflows/Linux/badge.svg
30+
:target: https://github.com/domdfcoding/pytest-mypy-plugins-shim/actions?query=workflow%3A%22Linux%22
3131
:alt: Linux Test Status
3232

33-
.. |actions_windows| image:: https://github.com/domdfcoding/pytest-mypy-plugin-shim/workflows/Windows/badge.svg
34-
:target: https://github.com/domdfcoding/pytest-mypy-plugin-shim/actions?query=workflow%3A%22Windows%22
33+
.. |actions_windows| image:: https://github.com/domdfcoding/pytest-mypy-plugins-shim/workflows/Windows/badge.svg
34+
:target: https://github.com/domdfcoding/pytest-mypy-plugins-shim/actions?query=workflow%3A%22Windows%22
3535
:alt: Windows Test Status
3636

37-
.. |actions_macos| image:: https://github.com/domdfcoding/pytest-mypy-plugin-shim/workflows/macOS/badge.svg
38-
:target: https://github.com/domdfcoding/pytest-mypy-plugin-shim/actions?query=workflow%3A%22macOS%22
37+
.. |actions_macos| image:: https://github.com/domdfcoding/pytest-mypy-plugins-shim/workflows/macOS/badge.svg
38+
:target: https://github.com/domdfcoding/pytest-mypy-plugins-shim/actions?query=workflow%3A%22macOS%22
3939
:alt: macOS Test Status
4040

41-
.. |actions_flake8| image:: https://github.com/domdfcoding/pytest-mypy-plugin-shim/workflows/Flake8/badge.svg
42-
:target: https://github.com/domdfcoding/pytest-mypy-plugin-shim/actions?query=workflow%3A%22Flake8%22
41+
.. |actions_flake8| image:: https://github.com/domdfcoding/pytest-mypy-plugins-shim/workflows/Flake8/badge.svg
42+
:target: https://github.com/domdfcoding/pytest-mypy-plugins-shim/actions?query=workflow%3A%22Flake8%22
4343
:alt: Flake8 Status
4444

45-
.. |actions_mypy| image:: https://github.com/domdfcoding/pytest-mypy-plugin-shim/workflows/mypy/badge.svg
46-
:target: https://github.com/domdfcoding/pytest-mypy-plugin-shim/actions?query=workflow%3A%22mypy%22
45+
.. |actions_mypy| image:: https://github.com/domdfcoding/pytest-mypy-plugins-shim/workflows/mypy/badge.svg
46+
:target: https://github.com/domdfcoding/pytest-mypy-plugins-shim/actions?query=workflow%3A%22mypy%22
4747
:alt: mypy status
4848

49-
.. |requires| image:: https://requires.io/github/domdfcoding/pytest-mypy-plugin-shim/requirements.svg?branch=master
50-
:target: https://requires.io/github/domdfcoding/pytest-mypy-plugin-shim/requirements/?branch=master
49+
.. |requires| image:: https://requires.io/github/domdfcoding/pytest-mypy-plugins-shim/requirements.svg?branch=master
50+
:target: https://requires.io/github/domdfcoding/pytest-mypy-plugins-shim/requirements/?branch=master
5151
:alt: Requirements Status
5252

53-
.. |codefactor| image:: https://img.shields.io/codefactor/grade/github/domdfcoding/pytest-mypy-plugin-shim?logo=codefactor
54-
:target: https://www.codefactor.io/repository/github/domdfcoding/pytest-mypy-plugin-shim
53+
.. |codefactor| image:: https://img.shields.io/codefactor/grade/github/domdfcoding/pytest-mypy-plugins-shim?logo=codefactor
54+
:target: https://www.codefactor.io/repository/github/domdfcoding/pytest-mypy-plugins-shim
5555
:alt: CodeFactor Grade
5656

57-
.. |pypi-version| image:: https://img.shields.io/pypi/v/pytest-mypy-plugin-shim
58-
:target: https://pypi.org/project/pytest-mypy-plugin-shim/
57+
.. |pypi-version| image:: https://img.shields.io/pypi/v/pytest-mypy-plugins-shim
58+
:target: https://pypi.org/project/pytest-mypy-plugins-shim/
5959
:alt: PyPI - Package Version
6060

61-
.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/pytest-mypy-plugin-shim?logo=python&logoColor=white
62-
:target: https://pypi.org/project/pytest-mypy-plugin-shim/
61+
.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/pytest-mypy-plugins-shim?logo=python&logoColor=white
62+
:target: https://pypi.org/project/pytest-mypy-plugins-shim/
6363
:alt: PyPI - Supported Python Versions
6464

65-
.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/pytest-mypy-plugin-shim
66-
:target: https://pypi.org/project/pytest-mypy-plugin-shim/
65+
.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/pytest-mypy-plugins-shim
66+
:target: https://pypi.org/project/pytest-mypy-plugins-shim/
6767
:alt: PyPI - Supported Implementations
6868

69-
.. |wheel| image:: https://img.shields.io/pypi/wheel/pytest-mypy-plugin-shim
70-
:target: https://pypi.org/project/pytest-mypy-plugin-shim/
69+
.. |wheel| image:: https://img.shields.io/pypi/wheel/pytest-mypy-plugins-shim
70+
:target: https://pypi.org/project/pytest-mypy-plugins-shim/
7171
:alt: PyPI - Wheel
7272

73-
.. |license| image:: https://img.shields.io/github/license/domdfcoding/pytest-mypy-plugin-shim
74-
:target: https://github.com/domdfcoding/pytest-mypy-plugin-shim/blob/master/LICENSE
73+
.. |license| image:: https://img.shields.io/github/license/domdfcoding/pytest-mypy-plugins-shim
74+
:target: https://github.com/domdfcoding/pytest-mypy-plugins-shim/blob/master/LICENSE
7575
:alt: License
7676

77-
.. |language| image:: https://img.shields.io/github/languages/top/domdfcoding/pytest-mypy-plugin-shim
77+
.. |language| image:: https://img.shields.io/github/languages/top/domdfcoding/pytest-mypy-plugins-shim
7878
:alt: GitHub top language
7979

80-
.. |commits-since| image:: https://img.shields.io/github/commits-since/domdfcoding/pytest-mypy-plugin-shim/v0.0.0
81-
:target: https://github.com/domdfcoding/pytest-mypy-plugin-shim/pulse
80+
.. |commits-since| image:: https://img.shields.io/github/commits-since/domdfcoding/pytest-mypy-plugins-shim/v0.0.0
81+
:target: https://github.com/domdfcoding/pytest-mypy-plugins-shim/pulse
8282
:alt: GitHub commits since tagged version
8383

84-
.. |commits-latest| image:: https://img.shields.io/github/last-commit/domdfcoding/pytest-mypy-plugin-shim
85-
:target: https://github.com/domdfcoding/pytest-mypy-plugin-shim/commit/master
84+
.. |commits-latest| image:: https://img.shields.io/github/last-commit/domdfcoding/pytest-mypy-plugins-shim
85+
:target: https://github.com/domdfcoding/pytest-mypy-plugins-shim/commit/master
8686
:alt: GitHub last commit
8787

8888
.. |maintained| image:: https://img.shields.io/maintenance/yes/2021
8989
:alt: Maintenance
9090

91-
.. |pypi-downloads| image:: https://img.shields.io/pypi/dm/pytest-mypy-plugin-shim
92-
:target: https://pypi.org/project/pytest-mypy-plugin-shim/
91+
.. |pypi-downloads| image:: https://img.shields.io/pypi/dm/pytest-mypy-plugins-shim
92+
:target: https://pypi.org/project/pytest-mypy-plugins-shim/
9393
:alt: PyPI - Downloads
9494

95-
.. |pre_commit_ci| image:: https://results.pre-commit.ci/badge/github/domdfcoding/pytest-mypy-plugin-shim/master.svg
96-
:target: https://results.pre-commit.ci/latest/github/domdfcoding/pytest-mypy-plugin-shim/master
95+
.. |pre_commit_ci| image:: https://results.pre-commit.ci/badge/github/domdfcoding/pytest-mypy-plugins-shim/master.svg
96+
:target: https://results.pre-commit.ci/latest/github/domdfcoding/pytest-mypy-plugins-shim/master
9797
:alt: pre-commit.ci status
9898

9999
.. end shields
@@ -103,12 +103,12 @@ Installation
103103

104104
.. start installation
105105
106-
``pytest-mypy-plugin-shim`` can be installed from PyPI.
106+
``pytest-mypy-plugins-shim`` can be installed from PyPI.
107107

108108
To install with ``pip``:
109109

110110
.. code-block:: bash
111111
112-
$ python -m pip install pytest-mypy-plugin-shim
112+
$ python -m pip install pytest-mypy-plugins-shim
113113
114114
.. end installation

formate.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ lines_between_types = 0
3131
use_parentheses = true
3232
remove_redundant_aliases = true
3333
default_section = "THIRDPARTY"
34-
known_third_party = []
35-
known_first_party = "pytest_mypy_plugin_shim"
34+
known_third_party = [ "pytest",]
35+
known_first_party = "pytest_mypy_plugins_shim"

0 commit comments

Comments
 (0)