summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
author谭九鼎 <109224573@qq.com>2020-06-11 14:25:03 +0800
committerGitHub <noreply@github.com>2020-06-11 08:25:03 +0200
commit201daa6f77a6ea2c630629cb7a944f341b46a454 (patch)
tree0a8c16577a684d8956ff7aac1f2f60346b590606 /doc
parent2a883cbc4361603c720addae6d9420e8a156e313 (diff)
downloadpylint-git-201daa6f77a6ea2c630629cb7a944f341b46a454.tar.gz
Chore: use https links (#3679)
Diffstat (limited to 'doc')
-rw-r--r--doc/conf.py4
-rw-r--r--doc/development_guide/contribute.rst10
-rw-r--r--doc/faq.rst4
-rw-r--r--doc/how_tos/custom_checkers.rst2
-rw-r--r--doc/how_tos/transform_plugins.rst2
-rw-r--r--doc/tutorial.rst4
-rw-r--r--doc/user_guide/ide-integration.rst24
-rw-r--r--doc/user_guide/output.rst2
-rw-r--r--doc/whatsnew/2.0.rst2
9 files changed, 27 insertions, 27 deletions
diff --git a/doc/conf.py b/doc/conf.py
index 86accb25b..c2d1a6d1b 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -108,7 +108,7 @@ html_theme_options = {
"collapsiblesidebar": True,
"issues_url": "https://github.com/pycqa/pylint/issues/new",
"root_name": "PyCQA",
- "root_url": "http://meta.pycqa.org/en/latest/",
+ "root_url": "https://meta.pycqa.org/en/latest/",
}
# Add any paths that contain custom themes here, relative to this directory.
@@ -233,7 +233,7 @@ man_pages = [
]
intersphinx_mapping = {
- "astroid": ("http://astroid.readthedocs.io/en/latest/", None),
+ "astroid": ("https://astroid.readthedocs.io/en/latest/", None),
"python": ("https://docs.python.org/3", None),
}
diff --git a/doc/development_guide/contribute.rst b/doc/development_guide/contribute.rst
index 5bf74a17c..b9a2385bd 100644
--- a/doc/development_guide/contribute.rst
+++ b/doc/development_guide/contribute.rst
@@ -34,13 +34,13 @@ Mailing lists
-------------
You can subscribe to this mailing list at
-http://mail.python.org/mailman/listinfo/code-quality
+https://mail.python.org/mailman/listinfo/code-quality
Archives are available at
-http://mail.python.org/pipermail/code-quality/
+https://mail.python.org/pipermail/code-quality/
Archives before April 2013 are available at
-http://lists.logilab.org/pipermail/python-projects/
+https://lists.logilab.org/pipermail/python-projects/
.. _repository:
@@ -162,8 +162,8 @@ current environment in order to have faster feedback. Run with::
.. _`Closing issues via commit messages`: https://help.github.com/articles/closing-issues-via-commit-messages/
.. _`About pull requests`: https://help.github.com/articles/using-pull-requests/
-.. _tox: http://tox.readthedocs.io/en/latest/
-.. _pytest: http://pytest.readthedocs.io/en/latest/
+.. _tox: https://tox.readthedocs.io/en/latest/
+.. _pytest: https://pytest.readthedocs.io/en/latest/
.. _black: https://github.com/ambv/black
.. _isort: https://github.com/timothycrosley/isort
.. _astroid: https://github.com/pycqa/astroid
diff --git a/doc/faq.rst b/doc/faq.rst
index a777b7c0a..7a57d16f6 100644
--- a/doc/faq.rst
+++ b/doc/faq.rst
@@ -16,7 +16,7 @@ Pylint is a `static code checker`_, meaning it can analyse your code without
actually running it. Pylint checks for errors, tries to enforce a coding
standard, and tries to enforce a coding style.
-.. _`static code checker`: http://en.wikipedia.org/wiki/Static_code_analysis
+.. _`static code checker`: https://en.wikipedia.org/wiki/Static_code_analysis
2. Installation
@@ -36,7 +36,7 @@ Pylint from the repository, simply invoke ::
git clone https://github.com/PyCQA/pylint
-.. _git: http://git-scm.com/
+.. _git: https://git-scm.com/
2.3 What are Pylint's dependencies?
-----------------------------------
diff --git a/doc/how_tos/custom_checkers.rst b/doc/how_tos/custom_checkers.rst
index eb2287988..4285def49 100644
--- a/doc/how_tos/custom_checkers.rst
+++ b/doc/how_tos/custom_checkers.rst
@@ -170,7 +170,7 @@ We could also construct a more complete example::
For :func:`astroid.extract_node`, you can use ``#@`` at the end of a line to choose which statements will be extracted into nodes.
For more information on :func:`astroid.extract_node`,
-see the `astroid documentation <http://astroid.readthedocs.io/en/latest/>`_.
+see the `astroid documentation <https://astroid.readthedocs.io/en/latest/>`_.
Now we know how to use the astroid node, we can implement our check.
diff --git a/doc/how_tos/transform_plugins.rst b/doc/how_tos/transform_plugins.rst
index de51ef229..e376e5345 100644
--- a/doc/how_tos/transform_plugins.rst
+++ b/doc/how_tos/transform_plugins.rst
@@ -105,5 +105,5 @@ an example, any code transformation can be done by plugins.
See `astroid/brain`_ for real life examples of transform plugins.
-.. _`warnings.py`: http://hg.python.org/cpython/file/2.7/Lib/warnings.py
+.. _`warnings.py`: https://hg.python.org/cpython/file/2.7/Lib/warnings.py
.. _`astroid/brain`: https://github.com/PyCQA/astroid/tree/master/astroid/brain
diff --git a/doc/tutorial.rst b/doc/tutorial.rst
index 8cb27bab6..4badab090 100644
--- a/doc/tutorial.rst
+++ b/doc/tutorial.rst
@@ -38,7 +38,7 @@ My command line prompt for these examples is:
robertk01 Desktop$
-.. _PEP 8: http://www.python.org/dev/peps/pep-0008/
+.. _PEP 8: https://www.python.org/dev/peps/pep-0008/
Getting Started
---------------
@@ -283,4 +283,4 @@ example but go ahead and `read up`_ on them if you want.
That's it for the basic intro. More tutorials will follow.
-.. _`read up`: http://docs.python.org/library/re.html
+.. _`read up`: https://docs.python.org/library/re.html
diff --git a/doc/user_guide/ide-integration.rst b/doc/user_guide/ide-integration.rst
index 71af09697..d8faa73d6 100644
--- a/doc/user_guide/ide-integration.rst
+++ b/doc/user_guide/ide-integration.rst
@@ -6,13 +6,13 @@
To use Pylint with:
- - Emacs_, see http://www.emacswiki.org/emacs/PythonProgrammingInEmacs#toc8,
- - Vim_, see http://www.vim.org/scripts/script.php?script_id=891,
+ - Emacs_, see https://www.emacswiki.org/emacs/PythonProgrammingInEmacs#toc8,
+ - Vim_, see https://www.vim.org/scripts/script.php?script_id=891,
- `Visual Studio`_, see https://docs.microsoft.com/visualstudio/python/code-pylint,
- - Eclipse_ and PyDev_, see http://pydev.org/manual_adv_pylint.html,
+ - Eclipse_ and PyDev_, see https://pydev.org/manual_adv_pylint.html,
- Komodo_, see http://mateusz.loskot.net/posts/2006/01/15/running-pylint-from-komodo/,
- gedit_, see https://launchpad.net/gedit-pylint-2 or https://wiki.gnome.org/Apps/Gedit/PylintPlugin,
- - WingIDE_, see http://www.wingware.com/doc/edit/pylint,
+ - WingIDE_, see https://www.wingware.com/doc/edit/pylint,
- PyCharm_, see :ref:`the section below <pylint_in_pycharm>`,
- TextMate_, see :ref:`the section below <pylint_in_textmate>`
- `Visual Studio Code`_, see https://code.visualstudio.com/docs/python/linting#_pylint,
@@ -26,19 +26,19 @@ Pylint is integrated in:
- pyscripter_, see the `Tool -> Tools` menu.
- `Visual Studio Code`_, see the `Preferences -> Settings` menu.
-.. _Emacs: http://www.gnu.org/software/emacs/
-.. _Vim: http://www.vim.org/
+.. _Emacs: https://www.gnu.org/software/emacs/
+.. _Vim: https://www.vim.org/
.. _Visual Studio: https://www.visualstudio.com/
.. _Eclipse: https://www.eclipse.org/
-.. _Eric: http://eric-ide.python-projects.org/
-.. _pyscripter: http://code.google.com/p/pyscripter/
-.. _pydev: http://pydev.org
+.. _Eric: https://eric-ide.python-projects.org/
+.. _pyscripter: https://github.com/pyscripter/pyscripter
+.. _pydev: https://pydev.org
.. _Komodo: http://www.activestate.com/Products/Komodo/
.. _gedit: https://wiki.gnome.org/Apps/Gedit
-.. _WingIDE: http://www.wingware.com/
+.. _WingIDE: https://www.wingware.com/
.. _spyder: https://www.spyder-ide.org/
-.. _PyCharm: http://www.jetbrains.com/pycharm/
-.. _TextMate: http://macromates.com
+.. _PyCharm: https://www.jetbrains.com/pycharm/
+.. _TextMate: https://macromates.com
.. _Visual Studio Code: https://code.visualstudio.com/
Using Pylint thru flymake in Emacs
diff --git a/doc/user_guide/output.rst b/doc/user_guide/output.rst
index 3c7a3e133..30d3dfc6e 100644
--- a/doc/user_guide/output.rst
+++ b/doc/user_guide/output.rst
@@ -52,7 +52,7 @@ A few other examples:
{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}
-.. _Python new format syntax: http://docs.python.org/2/library/string.html#formatstrings
+.. _Python new format syntax: https://docs.python.org/2/library/string.html#formatstrings
Source code analysis section
''''''''''''''''''''''''''''
diff --git a/doc/whatsnew/2.0.rst b/doc/whatsnew/2.0.rst
index e01bfa842..9aad81562 100644
--- a/doc/whatsnew/2.0.rst
+++ b/doc/whatsnew/2.0.rst
@@ -355,5 +355,5 @@ Other Changes
.. _PEP 563: https://www.python.org/dev/peps/pep-0563/
-.. _style guide: http://docs.python-guide.org/en/latest/writing/style/
+.. _style guide: https://docs.python-guide.org/en/latest/writing/style/
.. _swap values presentation: http://python.net/~goodger/projects/pycon/2007/idiomatic/handout.html#swap-values