diff options
author | Marc Mueller <30130371+cdce8p@users.noreply.github.com> | 2021-06-29 21:52:14 +0200 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-06-30 23:31:30 +0200 |
commit | 9016dbd7d73ff3551aa515c1daa9c4f29f68564a (patch) | |
tree | 5c15adafd06b43b27955770d8f9dfc61732ba8fd | |
parent | 69404bbf1a513381fd90e8f0c777d64b7923e429 (diff) | |
download | pylint-git-9016dbd7d73ff3551aa515c1daa9c4f29f68564a.tar.gz |
Update links to use main
-rw-r--r-- | .github/CONTRIBUTING.md | 2 | ||||
-rw-r--r-- | .github/PULL_REQUEST_TEMPLATE.md | 2 | ||||
-rw-r--r-- | README.rst | 18 | ||||
-rw-r--r-- | doc/how_tos/custom_checkers.rst | 6 | ||||
-rw-r--r-- | doc/how_tos/transform_plugins.rst | 2 |
5 files changed, 15 insertions, 15 deletions
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index e3c97eb96..0fe17f860 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -1,2 +1,2 @@ Please read the -[contribute doc](https://github.com/PyCQA/pylint/blob/master/doc/development_guide/contribute.rst). +[contribute doc](https://github.com/PyCQA/pylint/blob/main/doc/development_guide/contribute.rst). diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 05a2447d4..b272731b2 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -5,7 +5,7 @@ Thank you for submitting a PR to pylint! To ease the process of reviewing your PR, do make sure to complete the following boxes. You can also read more about contributing to pylint in this document: -https://github.com/PyCQA/pylint/blob/master/doc/development_guide/contribute.rst#repository +https://github.com/PyCQA/pylint/blob/main/doc/development_guide/contribute.rst#repository --> ## Steps diff --git a/README.rst b/README.rst index af52d058c..388a974cc 100644 --- a/README.rst +++ b/README.rst @@ -2,11 +2,11 @@ README for Pylint - https://pylint.pycqa.org/ ============================================= -.. image:: https://github.com/PyCQA/pylint/actions/workflows/ci.yaml/badge.svg?branch=master +.. image:: https://github.com/PyCQA/pylint/actions/workflows/ci.yaml/badge.svg?branch=main :target: https://github.com/PyCQA/pylint/actions -.. image:: https://coveralls.io/repos/github/PyCQA/pylint/badge.svg?branch=master - :target: https://coveralls.io/github/PyCQA/pylint?branch=master +.. image:: https://coveralls.io/repos/github/PyCQA/pylint/badge.svg?branch=main + :target: https://coveralls.io/github/PyCQA/pylint?branch=main .. image:: https://img.shields.io/pypi/v/pylint.svg @@ -20,11 +20,11 @@ README for Pylint - https://pylint.pycqa.org/ .. image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/ambv/black -.. image:: https://results.pre-commit.ci/badge/github/PyCQA/pylint/master.svg - :target: https://results.pre-commit.ci/latest/github/PyCQA/pylint/master +.. image:: https://results.pre-commit.ci/badge/github/PyCQA/pylint/main.svg + :target: https://results.pre-commit.ci/latest/github/PyCQA/pylint/main :alt: pre-commit.ci status -.. |tideliftlogo| image:: https://raw.githubusercontent.com/PyCQA/pylint/master/doc/media/Tidelift_Logos_RGB_Tidelift_Shorthand_On-White.png +.. |tideliftlogo| image:: https://raw.githubusercontent.com/PyCQA/pylint/main/doc/media/Tidelift_Logos_RGB_Tidelift_Shorthand_On-White.png :width: 75 :height: 60 :alt: Tidelift @@ -162,9 +162,9 @@ For more detailed information, check the documentation. License ------- -pylint is, with a few exceptions listed below, `GPLv2 <https://github.com/PyCQA/pylint/blob/master/LICENSE>`_. +pylint is, with a few exceptions listed below, `GPLv2 <https://github.com/PyCQA/pylint/blob/main/LICENSE>`_. The icon files are licensed under the `CC BY-SA 4.0 <https://creativecommons.org/licenses/by-sa/4.0/>`_ license: -- `doc/logo.png <https://raw.githubusercontent.com/PyCQA/pylint/master/doc/logo.png>`_ -- `doc/logo.svg <https://raw.githubusercontent.com/PyCQA/pylint/master/doc/logo.svg>`_ +- `doc/logo.png <https://raw.githubusercontent.com/PyCQA/pylint/main/doc/logo.png>`_ +- `doc/logo.svg <https://raw.githubusercontent.com/PyCQA/pylint/main/doc/logo.svg>`_ diff --git a/doc/how_tos/custom_checkers.rst b/doc/how_tos/custom_checkers.rst index 996517bf0..add8e1a69 100644 --- a/doc/how_tos/custom_checkers.rst +++ b/doc/how_tos/custom_checkers.rst @@ -3,11 +3,11 @@ How to Write a Checker ====================== You can find some simple examples in the distribution -(`custom.py <https://github.com/PyCQA/pylint/blob/master/examples/custom.py>`_ +(`custom.py <https://github.com/PyCQA/pylint/blob/main/examples/custom.py>`_ , -`custom_raw.py <https://github.com/PyCQA/pylint/blob/master/examples/custom_raw.py>`_ +`custom_raw.py <https://github.com/PyCQA/pylint/blob/main/examples/custom_raw.py>`_ and -`deprecation_checker.py <https://github.com/PyCQA/pylint/blob/master/examples/deprecation_checker.py>`_). +`deprecation_checker.py <https://github.com/PyCQA/pylint/blob/main/examples/deprecation_checker.py>`_). .. TODO Create custom_token.py diff --git a/doc/how_tos/transform_plugins.rst b/doc/how_tos/transform_plugins.rst index 323cacf12..30e057820 100644 --- a/doc/how_tos/transform_plugins.rst +++ b/doc/how_tos/transform_plugins.rst @@ -105,4 +105,4 @@ an example, any code transformation can be done by plugins. See `astroid/brain`_ for real life examples of transform plugins. .. _`warnings.py`: https://hg.python.org/cpython/file/2.7/Lib/warnings.py -.. _`astroid/brain`: https://github.com/PyCQA/astroid/tree/master/astroid/brain +.. _`astroid/brain`: https://github.com/PyCQA/astroid/tree/main/astroid/brain |