diff options
31 files changed, 56 insertions, 56 deletions
diff --git a/.github/ISSUE_TEMPLATE/3_Question.md b/.github/ISSUE_TEMPLATE/3_Question.md index 8af6e512d..5787c384b 100644 --- a/.github/ISSUE_TEMPLATE/3_Question.md +++ b/.github/ISSUE_TEMPLATE/3_Question.md @@ -1,6 +1,6 @@ --- name: Support question -about: Questions about pylint that are not covered in the documentation (http://pylint.pycqa.org/en/latest/) +about: Questions about pylint that are not covered in the documentation (https://pylint.pycqa.org/en/latest/) --- diff --git a/README.rst b/README.rst index fe9a266a9..20e053f72 100644 --- a/README.rst +++ b/README.rst @@ -1,5 +1,5 @@ -README for Pylint - http://pylint.pycqa.org/ +README for Pylint - https://pylint.pycqa.org/ ============================================ .. image:: https://travis-ci.org/PyCQA/pylint.svg?branch=master @@ -18,7 +18,7 @@ README for Pylint - http://pylint.pycqa.org/ :target: https://pypi.python.org/pypi/pylint .. image:: https://readthedocs.org/projects/pylint/badge/?version=latest - :target: http://pylint.readthedocs.io/en/latest/?badge=latest + :target: https://pylint.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status .. image:: https://img.shields.io/badge/code%20style-black-000000.svg @@ -95,7 +95,7 @@ can be found here_. Documentation ------------- -The documentation lives at http://pylint.pycqa.org/. +The documentation lives at https://pylint.pycqa.org/. Pylint is shipped with following additional commands: @@ -152,7 +152,7 @@ Do not forget to clone astroid_ and install the last version:: For more detailed information, check the documentation. -.. _here: http://pylint.pycqa.org/en/latest/user_guide/installation.html +.. _here: https://pylint.pycqa.org/en/latest/user_guide/installation.html .. _tox: https://tox.readthedocs.io/en/latest/ .. _pytest: https://docs.pytest.org/en/latest/ .. _pytest-cov: https://pypi.org/project/pytest-cov/ diff --git a/debian/control b/debian/control index d556c1dcc..57a3d1148 100644 --- a/debian/control +++ b/debian/control @@ -9,7 +9,7 @@ Build-Depends: debhelper (>= 5.0.38), python (>= 2.5) Build-Depends-Indep: python-support XS-Python-Version: >= 2.5 Standards-Version: 3.8.2 -Homepage: http://www.pylint.org +Homepage: https://www.pylint.org Vcs-Svn: svn://svn.debian.org/svn/python-apps/packages/pylint/trunk/ Vcs-Hg: https://bitbucket.org/logilab/pylint Vcs-Browser: https://bitbucket.org/logilab/pylint/src diff --git a/debian/rules b/debian/rules index ebb56efbf..2d5463baa 100755 --- a/debian/rules +++ b/debian/rules @@ -3,10 +3,10 @@ # GNU copyright 1997 to 1999 by Joey Hess. # # adapted by Logilab for automatic generation by debianize -# (part of the devtools project, http://www.logilab.org/projects/devtools) +# (part of the devtools project, https://www.logilab.org/projects/devtools) # # Copyright (c) 2003-2010 LOGILAB S.A. (Paris, FRANCE). -# http://www.logilab.fr/ -- mailto:contact@logilab.fr +# https://www.logilab.fr/ -- mailto:contact@logilab.fr # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 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 diff --git a/man/pyreverse.1 b/man/pyreverse.1 index 0b8bbe8a5..11631d3da 100644 --- a/man/pyreverse.1 +++ b/man/pyreverse.1 @@ -109,7 +109,7 @@ Python .SH "SEE ALSO" .B dot(1), pylint(1) -.I http://www.logilab.org/pyreverse +.I https://www.logilab.org/pyreverse .SH AUTHORS Sylvain Thenault, Emile Anclin diff --git a/pylint/checkers/python3.py b/pylint/checkers/python3.py index f0849042c..1bc3211f9 100644 --- a/pylint/checkers/python3.py +++ b/pylint/checkers/python3.py @@ -198,7 +198,7 @@ class Python3Checker(checkers.BaseChecker): "unpacking-in-except", "Python3 will not allow implicit unpacking of " "exceptions in except clauses. " - "See http://www.python.org/dev/peps/pep-3110/", + "See https://www.python.org/dev/peps/pep-3110/", {"old_names": [("W0712", "old-unpacking-in-except")]}, ), "E1604": ( diff --git a/pylint/checkers/raw_metrics.py b/pylint/checkers/raw_metrics.py index 44d54a09d..0016eb2a4 100644 --- a/pylint/checkers/raw_metrics.py +++ b/pylint/checkers/raw_metrics.py @@ -12,7 +12,7 @@ # For details: https://github.com/PyCQA/pylint/blob/master/COPYING """ Copyright (c) 2003-2010 LOGILAB S.A. (Paris, FRANCE). - http://www.logilab.fr/ -- mailto:contact@logilab.fr + https://www.logilab.fr/ -- mailto:contact@logilab.fr Raw metrics checker """ diff --git a/pylint/checkers/stdlib.py b/pylint/checkers/stdlib.py index 29c0cbb52..587a1a082 100644 --- a/pylint/checkers/stdlib.py +++ b/pylint/checkers/stdlib.py @@ -89,7 +89,7 @@ class StdlibChecker(BaseChecker): "bad-open-mode", "Python supports: r, w, a[, x] modes with b, +, " "and U (only with r) options. " - "See http://docs.python.org/2/library/functions.html#open", + "See https://docs.python.org/2/library/functions.html#open", ), "W1502": ( "Using datetime.time in a boolean context.", @@ -97,7 +97,7 @@ class StdlibChecker(BaseChecker): "Using datetime.time in a boolean context can hide " "subtle bugs when the time they represent matches " "midnight UTC. This behaviour was fixed in Python 3.5. " - "See http://bugs.python.org/issue13936 for reference.", + "See https://bugs.python.org/issue13936 for reference.", {"maxversion": (3, 5)}, ), "W1503": ( diff --git a/pylint/checkers/strings.py b/pylint/checkers/strings.py index ad198fbe2..9b8cbdc7d 100644 --- a/pylint/checkers/strings.py +++ b/pylint/checkers/strings.py @@ -828,7 +828,7 @@ class StringConstantChecker(BaseTokenChecker): # # Accept a backslash when it escapes a backslash, or a quote, or # end-of-line, or one of the letters that introduce a special escape - # sequence <http://docs.python.org/reference/lexical_analysis.html> + # sequence <https://docs.python.org/reference/lexical_analysis.html> # index = 0 while True: diff --git a/pylint/graph.py b/pylint/graph.py index 856b6170d..823713e61 100644 --- a/pylint/graph.py +++ b/pylint/graph.py @@ -131,7 +131,7 @@ class DotBackend: def emit_edge(self, name1, name2, **props): """emit an edge from <name1> to <name2>. - edge properties: see http://www.graphviz.org/doc/info/attrs.html + edge properties: see https://www.graphviz.org/doc/info/attrs.html """ attrs = ['%s="%s"' % (prop, value) for prop, value in props.items()] n_from, n_to = normalize_node_id(name1), normalize_node_id(name2) @@ -139,7 +139,7 @@ class DotBackend: def emit_node(self, name, **props): """emit a node with given properties. - node properties: see http://www.graphviz.org/doc/info/attrs.html + node properties: see https://www.graphviz.org/doc/info/attrs.html """ attrs = ['%s="%s"' % (prop, value) for prop, value in props.items()] self.emit("%s [%s];" % (normalize_node_id(name), ", ".join(sorted(attrs)))) diff --git a/pylint/message/message.py b/pylint/message/message.py index 215556ed9..af1907237 100644 --- a/pylint/message/message.py +++ b/pylint/message/message.py @@ -44,7 +44,7 @@ class Message(_MsgBase): """Format the message according to the given template. The template format is the one of the format method : - cf. http://docs.python.org/2/library/string.html#formatstrings + cf. https://docs.python.org/2/library/string.html#formatstrings """ # For some reason, _asdict on derived namedtuples does not work with # Python 3.4. Needs some investigation. diff --git a/pylint/pyreverse/vcgutils.py b/pylint/pyreverse/vcgutils.py index 3bb60663a..bca67facf 100644 --- a/pylint/pyreverse/vcgutils.py +++ b/pylint/pyreverse/vcgutils.py @@ -9,7 +9,7 @@ """Functions to generate files readable with Georg Sander's vcg (Visualization of Compiler Graphs). -You can download vcg at http://rw4.cs.uni-sb.de/~sander/html/gshome.html +You can download vcg at https://rw4.cs.uni-sb.de/~sander/html/gshome.html Note that vcg exists as a debian package. See vcg's documentation for explanation about the different values that diff --git a/pylint/testutils.py b/pylint/testutils.py index 6ae98ad0c..a1b03aa8a 100644 --- a/pylint/testutils.py +++ b/pylint/testutils.py @@ -286,7 +286,7 @@ def _create_tempfile(content=None): """ # Can't use tempfile.NamedTemporaryFile here # because on Windows the file must be closed before writing to it, - # see http://bugs.python.org/issue14243 + # see https://bugs.python.org/issue14243 file_handle, tmp = tempfile.mkstemp() if content: # erff diff --git a/pylint/utils/utils.py b/pylint/utils/utils.py index 658316cf2..21dd8d251 100644 --- a/pylint/utils/utils.py +++ b/pylint/utils/utils.py @@ -166,7 +166,7 @@ def expand_modules(files_or_modules, black_list, black_list_re): continue except (ImportError, SyntaxError) as ex: # The SyntaxError is a Python bug and should be - # removed once we move away from imp.find_module: http://bugs.python.org/issue10588 + # removed once we move away from imp.find_module: https://bugs.python.org/issue10588 errors.append({"key": "fatal", "mod": modname, "ex": ex}) continue diff --git a/tests/functional/d/defined_and_used_on_same_line.py b/tests/functional/d/defined_and_used_on_same_line.py index b329e5891..a9b9eb7d5 100644 --- a/tests/functional/d/defined_and_used_on_same_line.py +++ b/tests/functional/d/defined_and_used_on_same_line.py @@ -21,7 +21,7 @@ j = 4; LAMB = lambda x: x+j FUNC4 = lambda a, b: a != b -# test http://www.logilab.org/ticket/6954: +# test https://www.logilab.org/ticket/6954: with open('f') as f: print(f.read()) diff --git a/tests/functional/r/redundant_unittest_assert.py b/tests/functional/r/redundant_unittest_assert.py index 2eb73e3d4..b7efffc4e 100644 --- a/tests/functional/r/redundant_unittest_assert.py +++ b/tests/functional/r/redundant_unittest_assert.py @@ -1,6 +1,6 @@ # pylint: disable=missing-docstring,too-few-public-methods """ -http://www.logilab.org/ticket/355 +https://www.logilab.org/ticket/355 If you are using assertTrue or assertFalse and the first argument is a constant(like a string), then the assert will always be true. Therefore, it should emit a warning message. diff --git a/tests/functional/s/singledispatch_functions.rc b/tests/functional/s/singledispatch_functions.rc index fc795dc6d..69713a63d 100644 --- a/tests/functional/s/singledispatch_functions.rc +++ b/tests/functional/s/singledispatch_functions.rc @@ -1,3 +1,3 @@ [testoptions] -;http://bugs.python.org/issue10445 +;https://bugs.python.org/issue10445 max_pyver=3.0 diff --git a/tests/functional/s/singledispatch_functions_py3.rc b/tests/functional/s/singledispatch_functions_py3.rc index d43f6c339..e481c3b54 100644 --- a/tests/functional/s/singledispatch_functions_py3.rc +++ b/tests/functional/s/singledispatch_functions_py3.rc @@ -1,3 +1,3 @@ [testoptions] -;http://bugs.python.org/issue10445 +;https://bugs.python.org/issue10445 min_pyver=3.4 diff --git a/tests/input/func_module___dict__.py b/tests/input/func_module___dict__.py index 54514224a..612080fb8 100644 --- a/tests/input/func_module___dict__.py +++ b/tests/input/func_module___dict__.py @@ -1,4 +1,4 @@ -"""http://www.logilab.org/ticket/6949.""" +"""https://www.logilab.org/ticket/6949.""" from __future__ import print_function __revision__ = None diff --git a/tests/input/func_noerror_e1101_9588_base_attr_aug_assign.py b/tests/input/func_noerror_e1101_9588_base_attr_aug_assign.py index 14be39853..11472010c 100644 --- a/tests/input/func_noerror_e1101_9588_base_attr_aug_assign.py +++ b/tests/input/func_noerror_e1101_9588_base_attr_aug_assign.py @@ -5,7 +5,7 @@ False positive case of E1101: The error is triggered when the attribute set in the base class is modified with augmented assignment in a derived class. -http://www.logilab.org/ticket/9588 +https://www.logilab.org/ticket/9588 """ __revision__ = 0 diff --git a/tests/input/func_noerror_yield_assign_py25.py b/tests/input/func_noerror_yield_assign_py25.py index f40d8d96e..6a5ae00b2 100644 --- a/tests/input/func_noerror_yield_assign_py25.py +++ b/tests/input/func_noerror_yield_assign_py25.py @@ -1,4 +1,4 @@ -"""http://www.logilab.org/ticket/8771""" +"""https://www.logilab.org/ticket/8771""" from __future__ import print_function diff --git a/tests/regrtest_data/absimp/string.py b/tests/regrtest_data/absimp/string.py index f47e9a5e9..9a60e26ab 100644 --- a/tests/regrtest_data/absimp/string.py +++ b/tests/regrtest_data/absimp/string.py @@ -1,6 +1,6 @@ """ -http://www.logilab.org/ticket/70495 -http://www.logilab.org/ticket/70565 +https://www.logilab.org/ticket/70495 +https://www.logilab.org/ticket/70565 """ from __future__ import absolute_import, print_function import string |