Skip to content

Commit

Permalink
adopt main terminology in the configs
Browse files Browse the repository at this point in the history
  • Loading branch information
RonnyPfannschmidt committed Mar 9, 2021
1 parent 38d8deb commit b76fff4
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 15 deletions.
5 changes: 2 additions & 3 deletions CONTRIBUTING.rst
Expand Up @@ -199,7 +199,6 @@ Short version
#. Follow **PEP-8** for naming and `black <https://github.com/psf/black>`_ for formatting.
#. Tests are run using ``tox``::

tox -e linting,py37

The test environments above are usually enough to cover most cases locally.

Expand Down Expand Up @@ -236,7 +235,7 @@ Here is a simple overview, with pytest-specific bits:
$ cd pytest
# now, create your own branch off "master":

$ git checkout -b your-bugfix-branch-name master
$ git checkout -b your-bugfix-branch-name main

Given we have "major.minor.micro" version numbers, bug fixes will usually
be released in micro releases whereas features will be released in
Expand Down Expand Up @@ -318,7 +317,7 @@ Here is a simple overview, with pytest-specific bits:
compare: your-branch-name

base-fork: pytest-dev/pytest
base: master
base: main


Writing Tests
Expand Down
Empty file added HOWTORELEASE.rst
Empty file.
10 changes: 5 additions & 5 deletions README.rst
@@ -1,4 +1,4 @@
.. image:: https://github.com/pytest-dev/pytest/raw/master/doc/en/img/pytest_logo_curves.svg
.. image:: https://github.com/pytest-dev/pytest/raw/main/doc/en/img/pytest_logo_curves.svg
:target: https://docs.pytest.org/en/stable/
:align: center
:height: 200
Expand All @@ -16,14 +16,14 @@
.. image:: https://img.shields.io/pypi/pyversions/pytest.svg
:target: https://pypi.org/project/pytest/

.. image:: https://codecov.io/gh/pytest-dev/pytest/branch/master/graph/badge.svg
.. image:: https://codecov.io/gh/pytest-dev/pytest/branch/main/graph/badge.svg
:target: https://codecov.io/gh/pytest-dev/pytest
:alt: Code coverage Status

.. image:: https://github.com/pytest-dev/pytest/workflows/main/badge.svg
:target: https://github.com/pytest-dev/pytest/actions?query=workflow%3Amain

.. image:: https://results.pre-commit.ci/badge/github/pytest-dev/pytest/master.svg
.. image:: https://results.pre-commit.ci/badge/github/pytest-dev/pytest/main.svg
:target: https://results.pre-commit.ci/latest/github/pytest-dev/pytest/master
:alt: pre-commit.ci status

Expand Down Expand Up @@ -151,8 +151,8 @@ Tidelift will coordinate the fix and disclosure.
License
-------

Copyright Holger Krekel and others, 2004-2020.
Copyright Holger Krekel and others, 2004-2021.

Distributed under the terms of the `MIT`_ license, pytest is free and open source software.

.. _`MIT`: https://github.com/pytest-dev/pytest/blob/master/LICENSE
.. _`MIT`: https://github.com/pytest-dev/pytest/blob/main/LICENSE
Empty file added azure-pipelines.yml
Empty file.
2 changes: 1 addition & 1 deletion doc/en/funcarg_compare.rst
Expand Up @@ -168,7 +168,7 @@ pytest for a long time offered a pytest_configure and a pytest_sessionstart
hook which are often used to setup global resources. This suffers from
several problems:

1. in distributed testing the master process would setup test resources
1. in distributed testing the managing process would setup test resources
that are never needed because it only co-ordinates the test run
activities of the worker processes.

Expand Down
4 changes: 2 additions & 2 deletions doc/en/index.rst
Expand Up @@ -129,8 +129,8 @@ Tidelift will coordinate the fix and disclosure.
License
-------

Copyright Holger Krekel and others, 2004-2020.
Copyright Holger Krekel and others, 2004-2021.

Distributed under the terms of the `MIT`_ license, pytest is free and open source software.

.. _`MIT`: https://github.com/pytest-dev/pytest/blob/master/LICENSE
.. _`MIT`: https://github.com/pytest-dev/pytest/blob/main/LICENSE
2 changes: 1 addition & 1 deletion doc/en/license.rst
Expand Up @@ -29,4 +29,4 @@ Distributed under the terms of the `MIT`_ license, pytest is free and open sourc
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
.. _`MIT`: https://github.com/pytest-dev/pytest/blob/master/LICENSE
.. _`MIT`: https://github.com/pytest-dev/pytest/blob/main/LICENSE
2 changes: 1 addition & 1 deletion testing/test_config.py
Expand Up @@ -1780,7 +1780,7 @@ class DummyPlugin:
)
def test_config_blocked_default_plugins(pytester: Pytester, plugin: str) -> None:
if plugin == "debugging":
# Fixed in xdist master (after 1.27.0).
# Fixed in xdist (after 1.27.0).
# https://github.com/pytest-dev/pytest-xdist/pull/422
try:
import xdist # noqa: F401
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Expand Up @@ -9,7 +9,7 @@ envlist =
py38
py39
pypy3
py37-{pexpect,xdist,unittestextras,numpy,pluggymaster}
py37-{pexpect,xdist,unittestextras,numpy,pluggymain}
doctesting
plugins
py37-freeze
Expand Down Expand Up @@ -45,7 +45,7 @@ deps =
doctesting: PyYAML
numpy: numpy>=1.19.4
pexpect: pexpect>=4.8.0
pluggymaster: git+https://github.com/pytest-dev/pluggy.git@master
pluggymain: pluggy @ git+https://github.com/pytest-dev/pluggy.git
pygments>=2.7.2
unittestextras: twisted
unittestextras: asynctest
Expand Down

0 comments on commit b76fff4

Please sign in to comment.