summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarc Mueller <30130371+cdce8p@users.noreply.github.com>2021-06-29 21:52:14 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-06-30 23:31:30 +0200
commit9016dbd7d73ff3551aa515c1daa9c4f29f68564a (patch)
tree5c15adafd06b43b27955770d8f9dfc61732ba8fd /doc
parent69404bbf1a513381fd90e8f0c777d64b7923e429 (diff)
downloadpylint-git-9016dbd7d73ff3551aa515c1daa9c4f29f68564a.tar.gz
Update links to use main
Diffstat (limited to 'doc')
-rw-r--r--doc/how_tos/custom_checkers.rst6
-rw-r--r--doc/how_tos/transform_plugins.rst2
2 files changed, 4 insertions, 4 deletions
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