diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-04-11 15:29:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-11 15:29:34 +0200 |
commit | af52033971eccecea47597ebbfaeac15773b3e1b (patch) | |
tree | 38b29bf4b2ef3edc58c7d916c9008c6e26d0cc33 | |
parent | 5949e4805d932411985aeeb6e55b7c9be6ef2c21 (diff) | |
download | pylint-git-af52033971eccecea47597ebbfaeac15773b3e1b.tar.gz |
Rename copying to license and upgrade the setup.cfg (#4338)
164 files changed, 165 insertions, 167 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 99cbcd198..c824adc49 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,10 +6,6 @@ repos: exclude: "tests/functional/t/trailing_whitespaces.py" - id: end-of-file-fixer exclude: "tests/functional/m/missing/missing_final_newline.py|tests/functional/t/trailing_newlines.py" - - repo: https://github.com/asottile/setup-cfg-fmt - rev: v1.17.0 - hooks: - - id: setup-cfg-fmt - repo: https://github.com/myint/autoflake rev: v1.4 hooks: @@ -25,6 +25,8 @@ Release date: Undefined only contain ``__version__`` (also accessible with ``pylint.__version__``), other meta-information are still accessible with ``import importlib;metadata.metadata('pylint')``. +* COPYING has been renamed to LICENSE for standardization. + * Fix false-positive ``used-before-assignment`` in function returns. Closes #4301 diff --git a/doc/exts/pylint_extensions.py b/doc/exts/pylint_extensions.py index c06c90e08..824514be5 100755 --- a/doc/exts/pylint_extensions.py +++ b/doc/exts/pylint_extensions.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Script used to generate the extensions file before building the actual documentation.""" diff --git a/doc/exts/pylint_features.py b/doc/exts/pylint_features.py index c70c454aa..e202f9880 100755 --- a/doc/exts/pylint_features.py +++ b/doc/exts/pylint_features.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Script used to generate the features file before building the actual documentation.""" diff --git a/pylint/__init__.py b/pylint/__init__.py index e33904356..b84259d81 100644 --- a/pylint/__init__.py +++ b/pylint/__init__.py @@ -7,7 +7,7 @@ # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import os import sys diff --git a/pylint/__main__.py b/pylint/__main__.py index 4d7653718..0415e32ac 100644 --- a/pylint/__main__.py +++ b/pylint/__main__.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import pylint diff --git a/pylint/__pkginfo__.py b/pylint/__pkginfo__.py index 518a4657a..887029357 100644 --- a/pylint/__pkginfo__.py +++ b/pylint/__pkginfo__.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE from typing import Optional diff --git a/pylint/checkers/__init__.py b/pylint/checkers/__init__.py index 778b710f9..3ba3b2c55 100644 --- a/pylint/checkers/__init__.py +++ b/pylint/checkers/__init__.py @@ -15,7 +15,7 @@ # Copyright (c) 2021 Matus Valo <matusvalo@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """utilities methods and classes for checkers diff --git a/pylint/checkers/async.py b/pylint/checkers/async.py index 9fde4f551..4dd019266 100644 --- a/pylint/checkers/async.py +++ b/pylint/checkers/async.py @@ -4,7 +4,7 @@ # Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Checker for anything related to the async protocol (PEP 492).""" diff --git a/pylint/checkers/base.py b/pylint/checkers/base.py index 9cf68083a..0f641f723 100644 --- a/pylint/checkers/base.py +++ b/pylint/checkers/base.py @@ -56,7 +56,7 @@ # Copyright (c) 2021 Or Bahari <orbahari@mail.tau.ac.il> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """basic checker for Python code""" import builtins diff --git a/pylint/checkers/base_checker.py b/pylint/checkers/base_checker.py index 1c5c57c49..0ef186f66 100644 --- a/pylint/checkers/base_checker.py +++ b/pylint/checkers/base_checker.py @@ -13,7 +13,7 @@ # Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import functools from inspect import cleandoc from typing import Any diff --git a/pylint/checkers/classes.py b/pylint/checkers/classes.py index 40390afbb..e4c1151ff 100644 --- a/pylint/checkers/classes.py +++ b/pylint/checkers/classes.py @@ -37,7 +37,7 @@ # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """classes checker for Python code """ diff --git a/pylint/checkers/deprecated.py b/pylint/checkers/deprecated.py index 8aaa02506..74ee5db83 100644 --- a/pylint/checkers/deprecated.py +++ b/pylint/checkers/deprecated.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Checker mixin for deprecated functionality.""" from itertools import chain diff --git a/pylint/checkers/design_analysis.py b/pylint/checkers/design_analysis.py index e41b78ae4..bdb35437c 100644 --- a/pylint/checkers/design_analysis.py +++ b/pylint/checkers/design_analysis.py @@ -18,7 +18,7 @@ # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """check for signs of poor design""" diff --git a/pylint/checkers/exceptions.py b/pylint/checkers/exceptions.py index 3993c65c0..981cb9052 100644 --- a/pylint/checkers/exceptions.py +++ b/pylint/checkers/exceptions.py @@ -28,7 +28,7 @@ # Copyright (c) 2020 Anthony Sottile <asottile@umich.edu> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Checks for various exception related errors.""" import builtins diff --git a/pylint/checkers/format.py b/pylint/checkers/format.py index 170253f43..3193cf683 100644 --- a/pylint/checkers/format.py +++ b/pylint/checkers/format.py @@ -38,7 +38,7 @@ # Copyright (c) 2020 Raphael Gaschignard <raphael@rtpg.co> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Python code format's checker. diff --git a/pylint/checkers/imports.py b/pylint/checkers/imports.py index 0b83c6ea9..a9f03545c 100644 --- a/pylint/checkers/imports.py +++ b/pylint/checkers/imports.py @@ -38,7 +38,7 @@ # Copyright (c) 2021 Matus Valo <matusvalo@users.noreply.github.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """imports checkers for Python code""" diff --git a/pylint/checkers/logging.py b/pylint/checkers/logging.py index 852c47370..932130e0e 100644 --- a/pylint/checkers/logging.py +++ b/pylint/checkers/logging.py @@ -18,7 +18,7 @@ # Copyright (c) 2019 Svet <svet@hyperscience.com> # Copyright (c) 2020 Anthony Sottile <asottile@umich.edu> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """checker for use of Python logging """ diff --git a/pylint/checkers/mapreduce_checker.py b/pylint/checkers/mapreduce_checker.py index a9dfca508..65b12c31d 100644 --- a/pylint/checkers/mapreduce_checker.py +++ b/pylint/checkers/mapreduce_checker.py @@ -2,7 +2,7 @@ # Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import abc diff --git a/pylint/checkers/misc.py b/pylint/checkers/misc.py index 26cb00a9c..070abbc94 100644 --- a/pylint/checkers/misc.py +++ b/pylint/checkers/misc.py @@ -19,7 +19,7 @@ # Copyright (c) 2021 Konstantina Saketou <56515303+ksaketou@users.noreply.github.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Check source code is ascii only or has an encoding declaration (PEP 263)""" diff --git a/pylint/checkers/newstyle.py b/pylint/checkers/newstyle.py index 3f930e96e..49eebadeb 100644 --- a/pylint/checkers/newstyle.py +++ b/pylint/checkers/newstyle.py @@ -16,7 +16,7 @@ # Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """check for new / old style related problems """ diff --git a/pylint/checkers/python3.py b/pylint/checkers/python3.py index 96a9152de..935a6ac97 100644 --- a/pylint/checkers/python3.py +++ b/pylint/checkers/python3.py @@ -35,7 +35,7 @@ # Copyright (c) 2021 Tiago Honorato <tiagohonorato1@gmail.com> # Copyright (c) 2021 tiagohonorato <61059243+tiagohonorato@users.noreply.github.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Check Python 2 code for Python 2/3 source-compatible issues.""" import itertools diff --git a/pylint/checkers/raw_metrics.py b/pylint/checkers/raw_metrics.py index 0bdd20f69..d9e438466 100644 --- a/pylint/checkers/raw_metrics.py +++ b/pylint/checkers/raw_metrics.py @@ -11,7 +11,7 @@ # Copyright (c) 2020 谭九鼎 <109224573@qq.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import tokenize from typing import Any diff --git a/pylint/checkers/refactoring/__init__.py b/pylint/checkers/refactoring/__init__.py index e6b87ec65..4f30084cc 100644 --- a/pylint/checkers/refactoring/__init__.py +++ b/pylint/checkers/refactoring/__init__.py @@ -31,7 +31,7 @@ # Copyright (c) 2020 Anthony Sottile <asottile@umich.edu> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Looks for code which can be refactored.""" diff --git a/pylint/checkers/refactoring/len_checker.py b/pylint/checkers/refactoring/len_checker.py index a5897915c..9ee7760be 100644 --- a/pylint/checkers/refactoring/len_checker.py +++ b/pylint/checkers/refactoring/len_checker.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE from typing import List import astroid diff --git a/pylint/checkers/refactoring/not_checker.py b/pylint/checkers/refactoring/not_checker.py index 48592c1b5..ea3bae30f 100644 --- a/pylint/checkers/refactoring/not_checker.py +++ b/pylint/checkers/refactoring/not_checker.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import builtins diff --git a/pylint/checkers/refactoring/recommendation_checker.py b/pylint/checkers/refactoring/recommendation_checker.py index 062cda882..b1175f03e 100644 --- a/pylint/checkers/refactoring/recommendation_checker.py +++ b/pylint/checkers/refactoring/recommendation_checker.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import astroid diff --git a/pylint/checkers/refactoring/refactoring_checker.py b/pylint/checkers/refactoring/refactoring_checker.py index b1db89581..a95bed97b 100644 --- a/pylint/checkers/refactoring/refactoring_checker.py +++ b/pylint/checkers/refactoring/refactoring_checker.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import collections import copy diff --git a/pylint/checkers/similar.py b/pylint/checkers/similar.py index b594a032c..e15c0f032 100644 --- a/pylint/checkers/similar.py +++ b/pylint/checkers/similar.py @@ -19,7 +19,7 @@ # Copyright (c) 2020 Shiv Venkatasubrahmanyam <shvenkat@users.noreply.github.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE # pylint: disable=redefined-builtin """a similarities / code duplication command line tool and pylint checker diff --git a/pylint/checkers/spelling.py b/pylint/checkers/spelling.py index 41e53afbe..3f32d4762 100644 --- a/pylint/checkers/spelling.py +++ b/pylint/checkers/spelling.py @@ -20,7 +20,7 @@ # Copyright (c) 2021 Eli Fine <ejfine@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Checker for spelling errors in comments and docstrings. """ diff --git a/pylint/checkers/stdlib.py b/pylint/checkers/stdlib.py index 0c0be85b4..f2a2ac2c9 100644 --- a/pylint/checkers/stdlib.py +++ b/pylint/checkers/stdlib.py @@ -29,7 +29,7 @@ # Copyright (c) 2021 Matus Valo <matusvalo@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Checkers for various standard library functions.""" diff --git a/pylint/checkers/strings.py b/pylint/checkers/strings.py index 5e6b9db57..5268ea54b 100644 --- a/pylint/checkers/strings.py +++ b/pylint/checkers/strings.py @@ -27,7 +27,7 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Checker for string formatting operations. """ diff --git a/pylint/checkers/typecheck.py b/pylint/checkers/typecheck.py index e08cf15b7..f05892152 100644 --- a/pylint/checkers/typecheck.py +++ b/pylint/checkers/typecheck.py @@ -47,7 +47,7 @@ # Copyright (c) 2021 Ikraduya Edian <ikraduya@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """try to find more bugs in the code using astroid inference capabilities """ diff --git a/pylint/checkers/utils.py b/pylint/checkers/utils.py index ab6e3e96c..2e1c659ed 100644 --- a/pylint/checkers/utils.py +++ b/pylint/checkers/utils.py @@ -44,7 +44,7 @@ # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """some functions that may be useful for various checkers """ diff --git a/pylint/checkers/variables.py b/pylint/checkers/variables.py index 66bd4fdd4..2a1587eeb 100644 --- a/pylint/checkers/variables.py +++ b/pylint/checkers/variables.py @@ -43,7 +43,7 @@ # Copyright (c) 2021 Alexander Kapshuna <kapsh@kap.sh> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """variables checkers for Python code """ diff --git a/pylint/config/__init__.py b/pylint/config/__init__.py index 69e13d099..a4246e26b 100644 --- a/pylint/config/__init__.py +++ b/pylint/config/__init__.py @@ -29,7 +29,7 @@ # Copyright (c) 2019 Hugo van Kemenade <hugovk@users.noreply.github.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import os import pickle diff --git a/pylint/config/configuration_mixin.py b/pylint/config/configuration_mixin.py index 1dcb51ef6..2b8402b1d 100644 --- a/pylint/config/configuration_mixin.py +++ b/pylint/config/configuration_mixin.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE from pylint.config.option_manager_mixin import OptionsManagerMixIn from pylint.config.options_provider_mixin import OptionsProviderMixIn diff --git a/pylint/config/find_default_config_files.py b/pylint/config/find_default_config_files.py index b1457a892..54cfad00f 100644 --- a/pylint/config/find_default_config_files.py +++ b/pylint/config/find_default_config_files.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import configparser import os diff --git a/pylint/config/man_help_formatter.py b/pylint/config/man_help_formatter.py index bd15e76a3..0d4ec278d 100644 --- a/pylint/config/man_help_formatter.py +++ b/pylint/config/man_help_formatter.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import optparse import sys diff --git a/pylint/config/option.py b/pylint/config/option.py index b2573e96e..034c2094d 100644 --- a/pylint/config/option.py +++ b/pylint/config/option.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import copy import optparse diff --git a/pylint/config/option_manager_mixin.py b/pylint/config/option_manager_mixin.py index db75fa8f2..f8625aa56 100644 --- a/pylint/config/option_manager_mixin.py +++ b/pylint/config/option_manager_mixin.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import collections diff --git a/pylint/config/option_parser.py b/pylint/config/option_parser.py index 36ebbe5fa..096d81a6b 100644 --- a/pylint/config/option_parser.py +++ b/pylint/config/option_parser.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import optparse diff --git a/pylint/config/options_provider_mixin.py b/pylint/config/options_provider_mixin.py index 395626aec..8ad7dfa46 100644 --- a/pylint/config/options_provider_mixin.py +++ b/pylint/config/options_provider_mixin.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import optparse diff --git a/pylint/constants.py b/pylint/constants.py index 805d565b8..b95d701c0 100644 --- a/pylint/constants.py +++ b/pylint/constants.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import sys diff --git a/pylint/epylint.py b/pylint/epylint.py index 849955cee..a969bf0b1 100755 --- a/pylint/epylint.py +++ b/pylint/epylint.py @@ -22,7 +22,7 @@ # Copyright (c) 2020 Anthony Sottile <asottile@umich.edu> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Emacs and Flymake compatible Pylint. diff --git a/pylint/exceptions.py b/pylint/exceptions.py index fa3f0ffb6..f159f3e3d 100644 --- a/pylint/exceptions.py +++ b/pylint/exceptions.py @@ -7,7 +7,7 @@ # Copyright (c) 2020 Anthony Sottile <asottile@umich.edu> # Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Exception classes raised by various operations within pylint.""" diff --git a/pylint/extensions/_check_docs_utils.py b/pylint/extensions/_check_docs_utils.py index 7e01de8fb..0a6f230df 100644 --- a/pylint/extensions/_check_docs_utils.py +++ b/pylint/extensions/_check_docs_utils.py @@ -16,7 +16,7 @@ # Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Utility methods for docstring checking.""" diff --git a/pylint/extensions/bad_builtin.py b/pylint/extensions/bad_builtin.py index 2405461e2..bb2090114 100644 --- a/pylint/extensions/bad_builtin.py +++ b/pylint/extensions/bad_builtin.py @@ -5,7 +5,7 @@ # Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Checker for deprecated builtins.""" import astroid diff --git a/pylint/extensions/broad_try_clause.py b/pylint/extensions/broad_try_clause.py index cea49e6c1..5c14c99fe 100644 --- a/pylint/extensions/broad_try_clause.py +++ b/pylint/extensions/broad_try_clause.py @@ -5,7 +5,7 @@ # Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Looks for try/except statements with too much code in the try clause.""" diff --git a/pylint/extensions/check_docs.py b/pylint/extensions/check_docs.py index b3eec9b5a..0a34b098a 100644 --- a/pylint/extensions/check_docs.py +++ b/pylint/extensions/check_docs.py @@ -5,7 +5,7 @@ # Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import warnings diff --git a/pylint/extensions/check_elif.py b/pylint/extensions/check_elif.py index e58b51238..613f17f4e 100644 --- a/pylint/extensions/check_elif.py +++ b/pylint/extensions/check_elif.py @@ -7,7 +7,7 @@ # Copyright (c) 2020 Anthony Sottile <asottile@umich.edu> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import astroid diff --git a/pylint/extensions/comparetozero.py b/pylint/extensions/comparetozero.py index 2ae019adf..4379b348d 100644 --- a/pylint/extensions/comparetozero.py +++ b/pylint/extensions/comparetozero.py @@ -5,7 +5,7 @@ # Copyright (c) 2020 Anthony Sottile <asottile@umich.edu> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Looks for comparisons to zero.""" diff --git a/pylint/extensions/confusing_elif.py b/pylint/extensions/confusing_elif.py index f61be02f9..70222b778 100644 --- a/pylint/extensions/confusing_elif.py +++ b/pylint/extensions/confusing_elif.py @@ -1,7 +1,7 @@ # Copyright (c) 2021 Andreas Finkler <andi.finkler@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import astroid diff --git a/pylint/extensions/docparams.py b/pylint/extensions/docparams.py index 93fc27234..b53802bce 100644 --- a/pylint/extensions/docparams.py +++ b/pylint/extensions/docparams.py @@ -18,7 +18,7 @@ # Copyright (c) 2021 Logan Miller <14319179+komodo472@users.noreply.github.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Pylint plugin for checking in Sphinx, Google, or Numpy style docstrings """ diff --git a/pylint/extensions/docstyle.py b/pylint/extensions/docstyle.py index 52f41b1a7..9f0e54566 100644 --- a/pylint/extensions/docstyle.py +++ b/pylint/extensions/docstyle.py @@ -6,7 +6,7 @@ # Copyright (c) 2020 Anthony Sottile <asottile@umich.edu> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import linecache diff --git a/pylint/extensions/emptystring.py b/pylint/extensions/emptystring.py index 7a1649fac..82a1a5fe6 100644 --- a/pylint/extensions/emptystring.py +++ b/pylint/extensions/emptystring.py @@ -5,7 +5,7 @@ # Copyright (c) 2020 Anthony Sottile <asottile@umich.edu> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Looks for comparisons to empty string.""" diff --git a/pylint/extensions/mccabe.py b/pylint/extensions/mccabe.py index 2b35fda91..a541d09ae 100644 --- a/pylint/extensions/mccabe.py +++ b/pylint/extensions/mccabe.py @@ -6,7 +6,7 @@ # Copyright (c) 2020 Anthony Sottile <asottile@umich.edu> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Module to add McCabe checker class for pylint. """ diff --git a/pylint/extensions/overlapping_exceptions.py b/pylint/extensions/overlapping_exceptions.py index 4c019cc66..4f9f41b45 100644 --- a/pylint/extensions/overlapping_exceptions.py +++ b/pylint/extensions/overlapping_exceptions.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Looks for overlapping exceptions.""" diff --git a/pylint/extensions/redefined_variable_type.py b/pylint/extensions/redefined_variable_type.py index 2409967d4..4bfa1addd 100644 --- a/pylint/extensions/redefined_variable_type.py +++ b/pylint/extensions/redefined_variable_type.py @@ -7,7 +7,7 @@ # Copyright (c) 2020 Anthony Sottile <asottile@umich.edu> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import astroid diff --git a/pylint/graph.py b/pylint/graph.py index 519012f87..88095cb0d 100644 --- a/pylint/graph.py +++ b/pylint/graph.py @@ -11,7 +11,7 @@ # Copyright (c) 2021 Andrew Howe <howeaj@users.noreply.github.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Graph manipulation utilities. diff --git a/pylint/interfaces.py b/pylint/interfaces.py index 44ded414d..e61a04928 100644 --- a/pylint/interfaces.py +++ b/pylint/interfaces.py @@ -12,7 +12,7 @@ # Copyright (c) 2020 Anthony Sottile <asottile@umich.edu> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Interfaces for Pylint objects""" from collections import namedtuple diff --git a/pylint/lint/__init__.py b/pylint/lint/__init__.py index 658212edc..a7c50f3ad 100644 --- a/pylint/lint/__init__.py +++ b/pylint/lint/__init__.py @@ -56,7 +56,7 @@ # Copyright (c) 2020 anubh-v <anubhav@u.nus.edu> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """ pylint [options] modules_or_packages diff --git a/pylint/lint/parallel.py b/pylint/lint/parallel.py index fe9ce0605..29fc2c1d0 100644 --- a/pylint/lint/parallel.py +++ b/pylint/lint/parallel.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import collections import functools diff --git a/pylint/lint/pylinter.py b/pylint/lint/pylinter.py index 1fe6f96be..a151c4451 100644 --- a/pylint/lint/pylinter.py +++ b/pylint/lint/pylinter.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import collections import contextlib diff --git a/pylint/lint/report_functions.py b/pylint/lint/report_functions.py index 8c36588d5..34afbde1e 100644 --- a/pylint/lint/report_functions.py +++ b/pylint/lint/report_functions.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import collections diff --git a/pylint/lint/run.py b/pylint/lint/run.py index 825d0d7f6..020faf781 100644 --- a/pylint/lint/run.py +++ b/pylint/lint/run.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import os import sys diff --git a/pylint/lint/utils.py b/pylint/lint/utils.py index 3d17f3b38..a90abfb97 100644 --- a/pylint/lint/utils.py +++ b/pylint/lint/utils.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import contextlib import sys diff --git a/pylint/message/__init__.py b/pylint/message/__init__.py index 516277346..45403bce9 100644 --- a/pylint/message/__init__.py +++ b/pylint/message/__init__.py @@ -34,7 +34,7 @@ # Copyright (c) 2018 Nick Drozd <nicholasdrozd@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """All the classes related to Message handling.""" diff --git a/pylint/message/message.py b/pylint/message/message.py index 3453f535e..ae99c94ae 100644 --- a/pylint/message/message.py +++ b/pylint/message/message.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import collections diff --git a/pylint/message/message_definition.py b/pylint/message/message_definition.py index 6f5f0dc51..f286a1748 100644 --- a/pylint/message/message_definition.py +++ b/pylint/message/message_definition.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import sys diff --git a/pylint/message/message_definition_store.py b/pylint/message/message_definition_store.py index 07c3be8b2..417c2ac4f 100644 --- a/pylint/message/message_definition_store.py +++ b/pylint/message/message_definition_store.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import collections diff --git a/pylint/message/message_handler_mix_in.py b/pylint/message/message_handler_mix_in.py index 94d36c6a9..5bd83992a 100644 --- a/pylint/message/message_handler_mix_in.py +++ b/pylint/message/message_handler_mix_in.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import sys from typing import List, Tuple diff --git a/pylint/message/message_id_store.py b/pylint/message/message_id_store.py index 3f156fcb8..9f4d4fd2a 100644 --- a/pylint/message/message_id_store.py +++ b/pylint/message/message_id_store.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE from typing import List diff --git a/pylint/pyreverse/__init__.py b/pylint/pyreverse/__init__.py index 9ca1da5c6..95a760d44 100644 --- a/pylint/pyreverse/__init__.py +++ b/pylint/pyreverse/__init__.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """ pyreverse.extensions diff --git a/pylint/pyreverse/diadefslib.py b/pylint/pyreverse/diadefslib.py index 9ccaaf4ef..5d803c929 100644 --- a/pylint/pyreverse/diadefslib.py +++ b/pylint/pyreverse/diadefslib.py @@ -14,7 +14,7 @@ # Copyright (c) 2020 Anthony Sottile <asottile@umich.edu> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """handle diagram generation options for class diagram or default diagrams """ diff --git a/pylint/pyreverse/diagrams.py b/pylint/pyreverse/diagrams.py index a958aede2..bf9f67af6 100644 --- a/pylint/pyreverse/diagrams.py +++ b/pylint/pyreverse/diagrams.py @@ -8,7 +8,7 @@ # Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """diagram objects """ diff --git a/pylint/pyreverse/inspector.py b/pylint/pyreverse/inspector.py index fab88bee7..8fa122022 100644 --- a/pylint/pyreverse/inspector.py +++ b/pylint/pyreverse/inspector.py @@ -8,7 +8,7 @@ # Copyright (c) 2020 Anthony Sottile <asottile@umich.edu> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """ Visitor doing some postprocessing on the astroid tree. diff --git a/pylint/pyreverse/main.py b/pylint/pyreverse/main.py index 5839f6292..a62a1c2e7 100644 --- a/pylint/pyreverse/main.py +++ b/pylint/pyreverse/main.py @@ -12,7 +12,7 @@ # Copyright (c) 2021 Mark Byrne <mbyrnepr2@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """ %prog [options] <packages> diff --git a/pylint/pyreverse/utils.py b/pylint/pyreverse/utils.py index 237e32304..a28f16d3a 100644 --- a/pylint/pyreverse/utils.py +++ b/pylint/pyreverse/utils.py @@ -12,7 +12,7 @@ # Copyright (c) 2020 bernie gray <bfgray3@users.noreply.github.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Generic classes/functions for pyreverse core/extensions. """ import os diff --git a/pylint/pyreverse/vcgutils.py b/pylint/pyreverse/vcgutils.py index a76198e7f..38193b325 100644 --- a/pylint/pyreverse/vcgutils.py +++ b/pylint/pyreverse/vcgutils.py @@ -8,7 +8,7 @@ # Copyright (c) 2020 Anthony Sottile <asottile@umich.edu> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Functions to generate files readable with Georg Sander's vcg (Visualization of Compiler Graphs). diff --git a/pylint/pyreverse/writer.py b/pylint/pyreverse/writer.py index 0ea1ead14..5feb1eb68 100644 --- a/pylint/pyreverse/writer.py +++ b/pylint/pyreverse/writer.py @@ -11,7 +11,7 @@ # Copyright (c) 2021 Mark Byrne <mbyrnepr2@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Utilities for creating VCG and Dot diagrams""" diff --git a/pylint/reporters/__init__.py b/pylint/reporters/__init__.py index e764e2554..5db03d1ee 100644 --- a/pylint/reporters/__init__.py +++ b/pylint/reporters/__init__.py @@ -16,7 +16,7 @@ # Copyright (c) 2020 Anthony Sottile <asottile@umich.edu> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """utilities methods and classes for reporters""" diff --git a/pylint/reporters/base_reporter.py b/pylint/reporters/base_reporter.py index 279ede610..8fd66a434 100644 --- a/pylint/reporters/base_reporter.py +++ b/pylint/reporters/base_reporter.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import os import sys diff --git a/pylint/reporters/collecting_reporter.py b/pylint/reporters/collecting_reporter.py index f33451ee3..68c0cbf9e 100644 --- a/pylint/reporters/collecting_reporter.py +++ b/pylint/reporters/collecting_reporter.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE from pylint.reporters.base_reporter import BaseReporter diff --git a/pylint/reporters/json_reporter.py b/pylint/reporters/json_reporter.py index acdd61478..1a53f5f3d 100644 --- a/pylint/reporters/json_reporter.py +++ b/pylint/reporters/json_reporter.py @@ -8,7 +8,7 @@ # Copyright (c) 2020 Clément Pit-Claudel <cpitclaudel@users.noreply.github.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """JSON reporter""" import json diff --git a/pylint/reporters/reports_handler_mix_in.py b/pylint/reporters/reports_handler_mix_in.py index 101f52ea1..2d7cc8bc2 100644 --- a/pylint/reporters/reports_handler_mix_in.py +++ b/pylint/reporters/reports_handler_mix_in.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import collections diff --git a/pylint/reporters/text.py b/pylint/reporters/text.py index 72d40eb94..9142c594e 100644 --- a/pylint/reporters/text.py +++ b/pylint/reporters/text.py @@ -14,7 +14,7 @@ # Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Plain text reporters: diff --git a/pylint/reporters/ureports/__init__.py b/pylint/reporters/ureports/__init__.py index f2d254376..53a3a37b7 100644 --- a/pylint/reporters/ureports/__init__.py +++ b/pylint/reporters/ureports/__init__.py @@ -6,7 +6,7 @@ # Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Universal report objects and some formatting drivers. diff --git a/pylint/reporters/ureports/nodes.py b/pylint/reporters/ureports/nodes.py index 87420b544..dbc34d48a 100644 --- a/pylint/reporters/ureports/nodes.py +++ b/pylint/reporters/ureports/nodes.py @@ -7,7 +7,7 @@ # Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Micro reports objects. diff --git a/pylint/reporters/ureports/text_writer.py b/pylint/reporters/ureports/text_writer.py index 139156703..17272080b 100644 --- a/pylint/reporters/ureports/text_writer.py +++ b/pylint/reporters/ureports/text_writer.py @@ -5,7 +5,7 @@ # Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Text formatting drivers for ureports""" diff --git a/pylint/testutils/__init__.py b/pylint/testutils/__init__.py index 0dd9c6fdd..52bfcf254 100644 --- a/pylint/testutils/__init__.py +++ b/pylint/testutils/__init__.py @@ -24,7 +24,7 @@ # Copyright (c) 2021 Lefteris Karapetsas <lefteris@refu.co> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Functional/non regression tests for pylint""" diff --git a/pylint/testutils/checker_test_case.py b/pylint/testutils/checker_test_case.py index d6846e18f..77fe6f226 100644 --- a/pylint/testutils/checker_test_case.py +++ b/pylint/testutils/checker_test_case.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import contextlib from typing import Dict, Optional, Type diff --git a/pylint/testutils/constants.py b/pylint/testutils/constants.py index f56cb8ae4..e5a7c84a1 100644 --- a/pylint/testutils/constants.py +++ b/pylint/testutils/constants.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import operator import re diff --git a/pylint/testutils/decorator.py b/pylint/testutils/decorator.py index 5e5077e7b..52440ee71 100644 --- a/pylint/testutils/decorator.py +++ b/pylint/testutils/decorator.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import functools diff --git a/pylint/testutils/functional_test_file.py b/pylint/testutils/functional_test_file.py index 53651527b..2923412e9 100644 --- a/pylint/testutils/functional_test_file.py +++ b/pylint/testutils/functional_test_file.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import configparser from os.path import basename, exists, join diff --git a/pylint/testutils/get_test_info.py b/pylint/testutils/get_test_info.py index ea2caea1e..1e0c1263c 100644 --- a/pylint/testutils/get_test_info.py +++ b/pylint/testutils/get_test_info.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE from glob import glob from os.path import basename, join, splitext diff --git a/pylint/testutils/global_test_linter.py b/pylint/testutils/global_test_linter.py index 75a55e9c0..905210e0a 100644 --- a/pylint/testutils/global_test_linter.py +++ b/pylint/testutils/global_test_linter.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE from pylint import checkers diff --git a/pylint/testutils/lint_module_test.py b/pylint/testutils/lint_module_test.py index 500513ce3..1d9396bff 100644 --- a/pylint/testutils/lint_module_test.py +++ b/pylint/testutils/lint_module_test.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import csv import operator diff --git a/pylint/testutils/output_line.py b/pylint/testutils/output_line.py index bad3d46ee..a5284e47f 100644 --- a/pylint/testutils/output_line.py +++ b/pylint/testutils/output_line.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import collections diff --git a/pylint/testutils/reporter_for_tests.py b/pylint/testutils/reporter_for_tests.py index 4343694a3..70cb8a843 100644 --- a/pylint/testutils/reporter_for_tests.py +++ b/pylint/testutils/reporter_for_tests.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE from io import StringIO from os import getcwd, linesep, sep diff --git a/pylint/testutils/tokenize_str.py b/pylint/testutils/tokenize_str.py index 2b3c5f2c1..96094faf8 100644 --- a/pylint/testutils/tokenize_str.py +++ b/pylint/testutils/tokenize_str.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import tokenize from io import StringIO diff --git a/pylint/testutils/unittest_linter.py b/pylint/testutils/unittest_linter.py index 540874611..ff902c273 100644 --- a/pylint/testutils/unittest_linter.py +++ b/pylint/testutils/unittest_linter.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE from pylint.testutils.global_test_linter import linter from pylint.testutils.output_line import Message diff --git a/pylint/utils/__init__.py b/pylint/utils/__init__.py index 76dab0ea7..1830ab839 100644 --- a/pylint/utils/__init__.py +++ b/pylint/utils/__init__.py @@ -36,7 +36,7 @@ # Copyright (c) 2020 Damien Baty <damien.baty@polyconseil.fr> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """some various utilities and helper classes, most of them used in the main pylint class diff --git a/pylint/utils/ast_walker.py b/pylint/utils/ast_walker.py index dbad0cc48..e9f801092 100644 --- a/pylint/utils/ast_walker.py +++ b/pylint/utils/ast_walker.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import collections diff --git a/pylint/utils/file_state.py b/pylint/utils/file_state.py index e42ce625f..ba843691c 100644 --- a/pylint/utils/file_state.py +++ b/pylint/utils/file_state.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import collections diff --git a/pylint/utils/pragma_parser.py b/pylint/utils/pragma_parser.py index b991855a9..060c6da87 100644 --- a/pylint/utils/pragma_parser.py +++ b/pylint/utils/pragma_parser.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import re from collections import namedtuple diff --git a/pylint/utils/utils.py b/pylint/utils/utils.py index 93324d078..4d4aecc1d 100644 --- a/pylint/utils/utils.py +++ b/pylint/utils/utils.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE try: @@ -7,15 +7,15 @@ long_description_content_type = text/x-rst url = https://github.com/PyCQA/pylint author = Python Code Quality Authority author_email = code-quality@python.org -license = GPL-2.0-or-later +license = GPL-2.0 license_files = - COPYING + LICENSE CONTRIBUTORS.txt classifiers = Development Status :: 6 - Mature Environment :: Console Intended Audience :: Developers - License :: OSI Approved :: GNU General Public License (GPL) + License :: OSI Approved :: GNU General Public License v2 (GPLv2) Operating System :: OS Independent Programming Language :: Python Programming Language :: Python :: 3 diff --git a/tests/acceptance/test_stdlib.py b/tests/acceptance/test_stdlib.py index 1b97fd2ea..17981177c 100644 --- a/tests/acceptance/test_stdlib.py +++ b/tests/acceptance/test_stdlib.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import contextlib import io diff --git a/tests/benchmark/test_baseline_benchmarks.py b/tests/benchmark/test_baseline_benchmarks.py index 60ab96574..368f376de 100644 --- a/tests/benchmark/test_baseline_benchmarks.py +++ b/tests/benchmark/test_baseline_benchmarks.py @@ -5,7 +5,7 @@ # Copyright (c) 2020 Frank Harrison <frank@doublethefish.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE # pylint: disable=protected-access,missing-function-docstring,no-self-use diff --git a/tests/checkers/unittest_base.py b/tests/checkers/unittest_base.py index 6ccfe1a35..a210d67d1 100644 --- a/tests/checkers/unittest_base.py +++ b/tests/checkers/unittest_base.py @@ -20,7 +20,7 @@ # Copyright (c) 2021 David Gilman <davidgilman1@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Unittest for the base checker.""" diff --git a/tests/checkers/unittest_classes.py b/tests/checkers/unittest_classes.py index daec6217b..4b4cda339 100644 --- a/tests/checkers/unittest_classes.py +++ b/tests/checkers/unittest_classes.py @@ -11,7 +11,7 @@ # Copyright (c) 2021 tiagohonorato <61059243+tiagohonorato@users.noreply.github.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Unit tests for the variables checker.""" import astroid diff --git a/tests/checkers/unittest_exceptions.py b/tests/checkers/unittest_exceptions.py index d6ad3e812..affd5cdc9 100644 --- a/tests/checkers/unittest_exceptions.py +++ b/tests/checkers/unittest_exceptions.py @@ -10,7 +10,7 @@ # Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Tests for pylint.checkers.exceptions.""" import astroid diff --git a/tests/checkers/unittest_format.py b/tests/checkers/unittest_format.py index 937b82739..80d654f98 100644 --- a/tests/checkers/unittest_format.py +++ b/tests/checkers/unittest_format.py @@ -21,7 +21,7 @@ # Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Check format checker helper functions""" diff --git a/tests/checkers/unittest_imports.py b/tests/checkers/unittest_imports.py index 6443b3679..f10255eba 100644 --- a/tests/checkers/unittest_imports.py +++ b/tests/checkers/unittest_imports.py @@ -13,7 +13,7 @@ # Copyright (c) 2020 Anthony Sottile <asottile@umich.edu> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Unit tests for the imports checker.""" diff --git a/tests/checkers/unittest_logging.py b/tests/checkers/unittest_logging.py index 7e315dbff..ee7824e1e 100644 --- a/tests/checkers/unittest_logging.py +++ b/tests/checkers/unittest_logging.py @@ -10,7 +10,7 @@ # Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Unittest for the logging checker.""" import sys diff --git a/tests/checkers/unittest_misc.py b/tests/checkers/unittest_misc.py index 0aa1afffe..fc059ba5c 100644 --- a/tests/checkers/unittest_misc.py +++ b/tests/checkers/unittest_misc.py @@ -12,7 +12,7 @@ # Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Tests for the misc checker.""" diff --git a/tests/checkers/unittest_python3.py b/tests/checkers/unittest_python3.py index 2593e7e67..c33d166a8 100644 --- a/tests/checkers/unittest_python3.py +++ b/tests/checkers/unittest_python3.py @@ -23,7 +23,7 @@ # Copyright (c) 2021 David Gilman <davidgilman1@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Tests for the python3 checkers.""" diff --git a/tests/checkers/unittest_refactoring.py b/tests/checkers/unittest_refactoring.py index 2a0ca99e2..15e18db46 100644 --- a/tests/checkers/unittest_refactoring.py +++ b/tests/checkers/unittest_refactoring.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import astroid diff --git a/tests/checkers/unittest_similar.py b/tests/checkers/unittest_similar.py index 66a8ae4bd..510dd64af 100644 --- a/tests/checkers/unittest_similar.py +++ b/tests/checkers/unittest_similar.py @@ -14,7 +14,7 @@ # Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE from contextlib import redirect_stdout from io import StringIO diff --git a/tests/checkers/unittest_spelling.py b/tests/checkers/unittest_spelling.py index 2d48670cb..176ae34db 100644 --- a/tests/checkers/unittest_spelling.py +++ b/tests/checkers/unittest_spelling.py @@ -12,7 +12,7 @@ # Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Unittest for the spelling checker.""" diff --git a/tests/checkers/unittest_stdlib.py b/tests/checkers/unittest_stdlib.py index fc5dc6050..962b33f37 100644 --- a/tests/checkers/unittest_stdlib.py +++ b/tests/checkers/unittest_stdlib.py @@ -7,7 +7,7 @@ # Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import contextlib diff --git a/tests/checkers/unittest_strings.py b/tests/checkers/unittest_strings.py index d7361f137..c8e860dcf 100644 --- a/tests/checkers/unittest_strings.py +++ b/tests/checkers/unittest_strings.py @@ -7,7 +7,7 @@ # Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import astroid diff --git a/tests/checkers/unittest_typecheck.py b/tests/checkers/unittest_typecheck.py index e67a49bfb..88d3dab4a 100644 --- a/tests/checkers/unittest_typecheck.py +++ b/tests/checkers/unittest_typecheck.py @@ -20,7 +20,7 @@ # Copyright (c) 2021 David Gilman <davidgilman1@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import astroid import pytest diff --git a/tests/checkers/unittest_utils.py b/tests/checkers/unittest_utils.py index e682cd25e..18115bfa4 100644 --- a/tests/checkers/unittest_utils.py +++ b/tests/checkers/unittest_utils.py @@ -13,7 +13,7 @@ # Copyright (c) 2020 Anthony Sottile <asottile@umich.edu> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Tests for the pylint.checkers.utils module.""" diff --git a/tests/checkers/unittest_variables.py b/tests/checkers/unittest_variables.py index c63574c10..65ab22f3c 100644 --- a/tests/checkers/unittest_variables.py +++ b/tests/checkers/unittest_variables.py @@ -15,7 +15,7 @@ # Copyright (c) 2020 Anthony Sottile <asottile@umich.edu> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import os import re diff --git a/tests/extensions/test_bad_builtin.py b/tests/extensions/test_bad_builtin.py index 3a7877bbe..427dd20ec 100644 --- a/tests/extensions/test_bad_builtin.py +++ b/tests/extensions/test_bad_builtin.py @@ -6,7 +6,7 @@ # Copyright (c) 2020 Damien Baty <damien.baty@polyconseil.fr> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Tests for the pylint checker in :mod:`pylint.extensions.bad_builtin """ diff --git a/tests/extensions/test_broad_try_clause.py b/tests/extensions/test_broad_try_clause.py index c3ce5830a..3ba2b8118 100644 --- a/tests/extensions/test_broad_try_clause.py +++ b/tests/extensions/test_broad_try_clause.py @@ -7,7 +7,7 @@ # Copyright (c) 2020 Anthony Sottile <asottile@umich.edu> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Tests for the pylint checker in :mod:`pylint.extensions.broad_try_clause`""" import unittest diff --git a/tests/extensions/test_check_docs.py b/tests/extensions/test_check_docs.py index daf8589a7..a65bf9316 100644 --- a/tests/extensions/test_check_docs.py +++ b/tests/extensions/test_check_docs.py @@ -15,7 +15,7 @@ # Copyright (c) 2021 Logan Miller <14319179+komodo472@users.noreply.github.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Unit tests for the pylint checkers in :mod:`pylint.extensions.check_docs`, in particular the parameter documentation checker `DocstringChecker` diff --git a/tests/extensions/test_check_docs_utils.py b/tests/extensions/test_check_docs_utils.py index ff0651f4a..49a2eacc9 100644 --- a/tests/extensions/test_check_docs_utils.py +++ b/tests/extensions/test_check_docs_utils.py @@ -8,7 +8,7 @@ # Copyright (c) 2020 Damien Baty <damien.baty@polyconseil.fr> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Unit tests for the pylint checkers in :mod:`pylint.extensions.check_docs`, in particular the parameter documentation checker `DocstringChecker` diff --git a/tests/extensions/test_check_mccabe.py b/tests/extensions/test_check_mccabe.py index db6d66d0b..0dcb347c0 100644 --- a/tests/extensions/test_check_mccabe.py +++ b/tests/extensions/test_check_mccabe.py @@ -7,7 +7,7 @@ # Copyright (c) 2020 Damien Baty <damien.baty@polyconseil.fr> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Tests for the pylint checker in :mod:`pylint.extensions.check_mccabe""" # pylint: disable=redefined-outer-name diff --git a/tests/extensions/test_check_raise_docs.py b/tests/extensions/test_check_raise_docs.py index aa85c6bed..7ed7c405c 100644 --- a/tests/extensions/test_check_raise_docs.py +++ b/tests/extensions/test_check_raise_docs.py @@ -10,7 +10,7 @@ # Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Unit tests for the raised exception documentation checking in the `DocstringChecker` in :mod:`pylint.extensions.check_docs` diff --git a/tests/extensions/test_check_return_docs.py b/tests/extensions/test_check_return_docs.py index de28eaa52..20494c972 100644 --- a/tests/extensions/test_check_return_docs.py +++ b/tests/extensions/test_check_return_docs.py @@ -11,7 +11,7 @@ # Copyright (c) 2020 Anthony Sottile <asottile@umich.edu> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Unit tests for the return documentation checking in the `DocstringChecker` in :mod:`pylint.extensions.check_docs` diff --git a/tests/extensions/test_check_yields_docs.py b/tests/extensions/test_check_yields_docs.py index bcf17cae1..3dc34345e 100644 --- a/tests/extensions/test_check_yields_docs.py +++ b/tests/extensions/test_check_yields_docs.py @@ -7,7 +7,7 @@ # Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Unit tests for the yield documentation checking in the `DocstringChecker` in :mod:`pylint.extensions.check_docs` diff --git a/tests/extensions/test_comparetozero.py b/tests/extensions/test_comparetozero.py index 87a81fa37..51af08498 100644 --- a/tests/extensions/test_comparetozero.py +++ b/tests/extensions/test_comparetozero.py @@ -7,7 +7,7 @@ # Copyright (c) 2020 Anthony Sottile <asottile@umich.edu> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Tests for the pylint checker in :mod:`pylint.extensions.emptystring""" diff --git a/tests/extensions/test_confusing_elif.py b/tests/extensions/test_confusing_elif.py index 3392b4401..f45589e85 100644 --- a/tests/extensions/test_confusing_elif.py +++ b/tests/extensions/test_confusing_elif.py @@ -1,7 +1,7 @@ # Copyright (c) 2021 Andreas Finkler <andi.finkler@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Tests for the pylint checker in :mod:`pylint.extensions.confusing_elif """ diff --git a/tests/extensions/test_docstyle.py b/tests/extensions/test_docstyle.py index 86579f956..336cd314f 100644 --- a/tests/extensions/test_docstyle.py +++ b/tests/extensions/test_docstyle.py @@ -6,7 +6,7 @@ # Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Tests for the pylint checker in :mod:`pylint.extensions.check_docstring """ diff --git a/tests/extensions/test_elseif_used.py b/tests/extensions/test_elseif_used.py index b3035f44b..8326458d0 100644 --- a/tests/extensions/test_elseif_used.py +++ b/tests/extensions/test_elseif_used.py @@ -7,7 +7,7 @@ # Copyright (c) 2020 Damien Baty <damien.baty@polyconseil.fr> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Tests for the pylint checker in :mod:`pylint.extensions.check_elif """ diff --git a/tests/extensions/test_emptystring.py b/tests/extensions/test_emptystring.py index f07e6f1c3..527918972 100644 --- a/tests/extensions/test_emptystring.py +++ b/tests/extensions/test_emptystring.py @@ -9,7 +9,7 @@ # Copyright (c) 2020 Anthony Sottile <asottile@umich.edu> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Tests for the pylint checker in :mod:`pylint.extensions.emptystring """ diff --git a/tests/extensions/test_overlapping_exceptions.py b/tests/extensions/test_overlapping_exceptions.py index 7f13bc726..e94a8f2a4 100644 --- a/tests/extensions/test_overlapping_exceptions.py +++ b/tests/extensions/test_overlapping_exceptions.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Tests for the pylint checker in :mod:`pylint.extensions.overlapping_exceptions """ diff --git a/tests/extensions/test_redefined.py b/tests/extensions/test_redefined.py index 343fc4051..eefe4b3df 100644 --- a/tests/extensions/test_redefined.py +++ b/tests/extensions/test_redefined.py @@ -6,7 +6,7 @@ # Copyright (c) 2020 Damien Baty <damien.baty@polyconseil.fr> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Tests for the pylint checker in :mod:`pylint.extensions.check_elif""" from os import path as osp diff --git a/tests/lint/unittest_expand_modules.py b/tests/lint/unittest_expand_modules.py index a1dd75c8f..f4d64b7b3 100644 --- a/tests/lint/unittest_expand_modules.py +++ b/tests/lint/unittest_expand_modules.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import re diff --git a/tests/lint/unittest_lint.py b/tests/lint/unittest_lint.py index f9438e200..7aa567490 100644 --- a/tests/lint/unittest_lint.py +++ b/tests/lint/unittest_lint.py @@ -30,7 +30,7 @@ # Copyright (c) 2020 Damien Baty <damien.baty@polyconseil.fr> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE # pylint: disable=redefined-outer-name import os diff --git a/tests/message/conftest.py b/tests/message/conftest.py index c4e50571e..1f5036db4 100644 --- a/tests/message/conftest.py +++ b/tests/message/conftest.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE # pylint: disable=redefined-outer-name diff --git a/tests/message/unittest_message.py b/tests/message/unittest_message.py index c74027013..583eb1494 100644 --- a/tests/message/unittest_message.py +++ b/tests/message/unittest_message.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE from pylint.message import Message diff --git a/tests/message/unittest_message_definition.py b/tests/message/unittest_message_definition.py index c9870e8a1..1935d8495 100644 --- a/tests/message/unittest_message_definition.py +++ b/tests/message/unittest_message_definition.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import sys from unittest import mock diff --git a/tests/message/unittest_message_definition_store.py b/tests/message/unittest_message_definition_store.py index 74db42327..bb65b3fdf 100644 --- a/tests/message/unittest_message_definition_store.py +++ b/tests/message/unittest_message_definition_store.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE from contextlib import redirect_stdout from io import StringIO diff --git a/tests/message/unittest_message_id_store.py b/tests/message/unittest_message_id_store.py index ad4ca3d9f..019dbfae3 100644 --- a/tests/message/unittest_message_id_store.py +++ b/tests/message/unittest_message_id_store.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import pytest diff --git a/tests/profile/test_profile_against_externals.py b/tests/profile/test_profile_against_externals.py index 147075e25..430014abc 100644 --- a/tests/profile/test_profile_against_externals.py +++ b/tests/profile/test_profile_against_externals.py @@ -3,7 +3,7 @@ # Copyright (c) 2020 Frank Harrison <frank@doublethefish.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE # pylint: disable=protected-access,missing-function-docstring,no-self-use diff --git a/tests/test_check_parallel.py b/tests/test_check_parallel.py index ddd1a5baf..fc437bec8 100644 --- a/tests/test_check_parallel.py +++ b/tests/test_check_parallel.py @@ -3,7 +3,7 @@ # Copyright (c) 2020 Frank Harrison <frank@doublethefish.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE # pylint: disable=protected-access,missing-function-docstring,no-self-use diff --git a/tests/test_func.py b/tests/test_func.py index 646371899..3141619f6 100644 --- a/tests/test_func.py +++ b/tests/test_func.py @@ -14,7 +14,7 @@ # Copyright (c) 2020 Anthony Sottile <asottile@umich.edu> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """functional/non regression tests for pylint""" diff --git a/tests/test_functional.py b/tests/test_functional.py index 806c273bd..0d82409e6 100644 --- a/tests/test_functional.py +++ b/tests/test_functional.py @@ -18,7 +18,7 @@ # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Functional full-module tests for PyLint.""" import csv diff --git a/tests/test_import_graph.py b/tests/test_import_graph.py index b40a4a3d2..816e78a0f 100644 --- a/tests/test_import_graph.py +++ b/tests/test_import_graph.py @@ -13,7 +13,7 @@ # Copyright (c) 2021 Andrew Howe <howeaj@users.noreply.github.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE # pylint: disable=redefined-outer-name import os diff --git a/tests/test_regr.py b/tests/test_regr.py index 886779196..995bab808 100644 --- a/tests/test_regr.py +++ b/tests/test_regr.py @@ -12,7 +12,7 @@ # Copyright (c) 2020 Damien Baty <damien.baty@polyconseil.fr> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """non regression tests for pylint, which requires a too specific configuration to be incorporated in the automatic functional test framework diff --git a/tests/test_self.py b/tests/test_self.py index 6761a6de8..b5664aea1 100644 --- a/tests/test_self.py +++ b/tests/test_self.py @@ -28,7 +28,7 @@ # Copyright (c) 2021 Louis Sautier <sautier.louis@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE # pylint: disable=too-many-public-methods diff --git a/tests/unittest_config.py b/tests/unittest_config.py index b811fd026..e43d81fe0 100644 --- a/tests/unittest_config.py +++ b/tests/unittest_config.py @@ -8,7 +8,7 @@ # Copyright (c) 2020 Anthony Sottile <asottile@umich.edu> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Unit tests for the config module.""" diff --git a/tests/unittest_pyreverse_diadefs.py b/tests/unittest_pyreverse_diadefs.py index d10f0c647..e90db2251 100644 --- a/tests/unittest_pyreverse_diadefs.py +++ b/tests/unittest_pyreverse_diadefs.py @@ -12,7 +12,7 @@ # Copyright (c) 2020 Anthony Sottile <asottile@umich.edu> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Unit test for the extensions.diadefslib modules""" # pylint: disable=redefined-outer-name diff --git a/tests/unittest_pyreverse_inspector.py b/tests/unittest_pyreverse_inspector.py index add2910d2..e1ff6378e 100644 --- a/tests/unittest_pyreverse_inspector.py +++ b/tests/unittest_pyreverse_inspector.py @@ -6,7 +6,7 @@ # Copyright (c) 2020 Damien Baty <damien.baty@polyconseil.fr> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """ for the visitors.diadefs module diff --git a/tests/unittest_pyreverse_writer.py b/tests/unittest_pyreverse_writer.py index 22fc27978..98bb01488 100644 --- a/tests/unittest_pyreverse_writer.py +++ b/tests/unittest_pyreverse_writer.py @@ -12,7 +12,7 @@ # Copyright (c) 2021 Mark Byrne <mbyrnepr2@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """ unit test for visitors.diadefs and extensions.diadefslib modules diff --git a/tests/unittest_reporters_json.py b/tests/unittest_reporters_json.py index 72baa1477..11d37760e 100644 --- a/tests/unittest_reporters_json.py +++ b/tests/unittest_reporters_json.py @@ -9,7 +9,7 @@ # Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE """Test for the JSON reporter.""" diff --git a/tests/unittest_reporting.py b/tests/unittest_reporting.py index beb3cd843..abd912b27 100644 --- a/tests/unittest_reporting.py +++ b/tests/unittest_reporting.py @@ -11,7 +11,7 @@ # Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE # pylint: disable=redefined-outer-name import warnings diff --git a/tests/utils/unittest_ast_walker.py b/tests/utils/unittest_ast_walker.py index 57487bd3f..5bf5b5bc6 100644 --- a/tests/utils/unittest_ast_walker.py +++ b/tests/utils/unittest_ast_walker.py @@ -1,5 +1,5 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import warnings diff --git a/tests/utils/unittest_utils.py b/tests/utils/unittest_utils.py index ae53a6129..9985b632b 100644 --- a/tests/utils/unittest_utils.py +++ b/tests/utils/unittest_utils.py @@ -15,7 +15,7 @@ # Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/master/COPYING +# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import io |