diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2023-03-29 21:21:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-29 21:21:43 +0200 |
commit | 9f2de9123b579fadd512e31e9b68c7eb40a9c62d (patch) | |
tree | a9329f19f490e97916cfcce82d1318bf2de2b333 /tests/config | |
parent | 1be16bb8c4eb1a19c2a3d7ea828feb4fd9c069a8 (diff) | |
download | pylint-git-9f2de9123b579fadd512e31e9b68c7eb40a9c62d.tar.gz |
[PyCQA migration] Upgrade links to the repositories in code and doc (#8514)
Diffstat (limited to 'tests/config')
22 files changed, 37 insertions, 37 deletions
diff --git a/tests/config/conftest.py b/tests/config/conftest.py index 491b16267..a5f9a7125 100644 --- a/tests/config/conftest.py +++ b/tests/config/conftest.py @@ -1,6 +1,6 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt from pathlib import Path diff --git a/tests/config/file_to_lint.py b/tests/config/file_to_lint.py index b6a8c14c8..174cc5609 100644 --- a/tests/config/file_to_lint.py +++ b/tests/config/file_to_lint.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/main/LICENSE -# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt """Perfect module with only documentation for configuration tests.""" diff --git a/tests/config/functional/ini/pylintrc_with_deleted_message.8.out b/tests/config/functional/ini/pylintrc_with_deleted_message.8.out index bb7bad8d9..61044918d 100644 --- a/tests/config/functional/ini/pylintrc_with_deleted_message.8.out +++ b/tests/config/functional/ini/pylintrc_with_deleted_message.8.out @@ -1,3 +1,3 @@ ************* Module {abspath} -{relpath}:1:0: R0022: Useless option value for '--disable', 'buffer-builtin' was removed from pylint, see https://github.com/PyCQA/pylint/pull/4942. (useless-option-value) -{relpath}:1:0: R0022: Useless option value for '--enable', 'cmp-builtin' was removed from pylint, see https://github.com/PyCQA/pylint/pull/4942. (useless-option-value) +{relpath}:1:0: R0022: Useless option value for '--disable', 'buffer-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. (useless-option-value) +{relpath}:1:0: R0022: Useless option value for '--enable', 'cmp-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942. (useless-option-value) diff --git a/tests/config/functional/ini/pylintrc_with_deleted_message.ini b/tests/config/functional/ini/pylintrc_with_deleted_message.ini index 51b821750..89eaa715e 100644 --- a/tests/config/functional/ini/pylintrc_with_deleted_message.ini +++ b/tests/config/functional/ini/pylintrc_with_deleted_message.ini @@ -1,5 +1,5 @@ # Check that we raise an informational when a deleted messages exists in a .pylintrc file -# See https://github.com/PyCQA/pylint/issues/6794 +# See https://github.com/pylint-dev/pylint/issues/6794 [messages control] disable = logging-not-lazy, buffer-builtin enable = useless-option-value, locally-disabled, cmp-builtin diff --git a/tests/config/functional/ini/pylintrc_with_missing_comma.ini b/tests/config/functional/ini/pylintrc_with_missing_comma.ini index a30efed21..2242a23a1 100644 --- a/tests/config/functional/ini/pylintrc_with_missing_comma.ini +++ b/tests/config/functional/ini/pylintrc_with_missing_comma.ini @@ -1,5 +1,5 @@ # Check that we raise an warning when commas are missing in INI .pylintrc file -# See https://github.com/PyCQA/pylint/issues/3122 +# See https://github.com/pylint-dev/pylint/issues/3122 [messages control] disable = logging-not-lazylogging-format-interpolation enable = locally-disabled diff --git a/tests/config/functional/ini/pylintrc_with_multi_line_init_hook.ini b/tests/config/functional/ini/pylintrc_with_multi_line_init_hook.ini index 015246d5a..e1cd6876a 100644 --- a/tests/config/functional/ini/pylintrc_with_multi_line_init_hook.ini +++ b/tests/config/functional/ini/pylintrc_with_multi_line_init_hook.ini @@ -1,4 +1,4 @@ -# Reported in https://github.com/PyCQA/pylint/issues/6888 +# Reported in https://github.com/pylint-dev/pylint/issues/6888 [MASTER] init-hook= try: import pylint_venv diff --git a/tests/config/functional/ini/pylintrc_with_quoted_init_hook.ini b/tests/config/functional/ini/pylintrc_with_quoted_init_hook.ini index 8b10877ed..415f57b0f 100644 --- a/tests/config/functional/ini/pylintrc_with_quoted_init_hook.ini +++ b/tests/config/functional/ini/pylintrc_with_quoted_init_hook.ini @@ -1,4 +1,4 @@ # Check that we support quoted init-hooks -# See https://github.com/PyCQA/pylint/issues/7006 +# See https://github.com/pylint-dev/pylint/issues/7006 [MAIN] init-hook='print("I should just print")' diff --git a/tests/config/functional/setup_cfg/identical_name_in_flake8/setup.cfg b/tests/config/functional/setup_cfg/identical_name_in_flake8/setup.cfg index 51a2c307b..042f53a83 100644 --- a/tests/config/functional/setup_cfg/identical_name_in_flake8/setup.cfg +++ b/tests/config/functional/setup_cfg/identical_name_in_flake8/setup.cfg @@ -1,4 +1,4 @@ -# Test for the behavior of https://github.com/PyCQA/pylint/issues/4371 +# Test for the behavior of https://github.com/pylint-dev/pylint/issues/4371 [pylint.MAIN] persistent=no ignore = migrations diff --git a/tests/config/functional/setup_cfg/issue_4272/option_in_wrong_section.cfg b/tests/config/functional/setup_cfg/issue_4272/option_in_wrong_section.cfg index b045873c9..7a1d778c7 100644 --- a/tests/config/functional/setup_cfg/issue_4272/option_in_wrong_section.cfg +++ b/tests/config/functional/setup_cfg/issue_4272/option_in_wrong_section.cfg @@ -1,4 +1,4 @@ -# Test for the behaviour of https://github.com/PyCQA/pylint/issues/4272 +# Test for the behaviour of https://github.com/pylint-dev/pylint/issues/4272 [pylint.NOTMAIN] load-plugins=pylint.extensions.bad_builtin [pylint.MAIN] diff --git a/tests/config/functional/toml/issue_3122/toml_with_missing_comma.toml b/tests/config/functional/toml/issue_3122/toml_with_missing_comma.toml index da810e832..1c2ee3031 100644 --- a/tests/config/functional/toml/issue_3122/toml_with_missing_comma.toml +++ b/tests/config/functional/toml/issue_3122/toml_with_missing_comma.toml @@ -1,5 +1,5 @@ # Check that we raise an error when a comma is missing -# See https://github.com/PyCQA/pylint/issues/3122 +# See https://github.com/pylint-dev/pylint/issues/3122 [tool.pylint."messages control"] disable = "logging-not-lazylogging-format-interpolation,missing-docstring" enable = "locally-disabledsuppressed-message,missing-module-docstring" diff --git a/tests/config/functional/toml/issue_3181/top_level_list_of_disable.toml b/tests/config/functional/toml/issue_3181/top_level_list_of_disable.toml index 4d3f753d0..7ef4de4bf 100644 --- a/tests/config/functional/toml/issue_3181/top_level_list_of_disable.toml +++ b/tests/config/functional/toml/issue_3181/top_level_list_of_disable.toml @@ -1,4 +1,4 @@ -# This crashed previously see https://github.com/PyCQA/pylint/issues/3181 +# This crashed previously see https://github.com/pylint-dev/pylint/issues/3181 [tool.pylint] max-line-length = 120 disable = ["C0121"] diff --git a/tests/config/functional/toml/unknown_msgid/enable_unknown_msgid.toml b/tests/config/functional/toml/unknown_msgid/enable_unknown_msgid.toml index 691883527..65fe56090 100644 --- a/tests/config/functional/toml/unknown_msgid/enable_unknown_msgid.toml +++ b/tests/config/functional/toml/unknown_msgid/enable_unknown_msgid.toml @@ -1,5 +1,5 @@ # Check the behavior for unkonwn symbol/msgid -# (Originally) reported in https://github.com/PyCQA/pylint/pull/6293 +# (Originally) reported in https://github.com/pylint-dev/pylint/pull/6293 [tool.pylint."messages control"] disable = "logging-not-layzy,logging-format-interpolation" diff --git a/tests/config/functional/tox/unrecognized_options/tox.ini b/tests/config/functional/tox/unrecognized_options/tox.ini index 7bc38df51..e5db6d116 100644 --- a/tests/config/functional/tox/unrecognized_options/tox.ini +++ b/tests/config/functional/tox/unrecognized_options/tox.ini @@ -1,4 +1,4 @@ -; Test for https://github.com/PyCQA/pylint/issues/6800 +; Test for https://github.com/pylint-dev/pylint/issues/6800 [tox] skipsdist = True diff --git a/tests/config/pylint_config/test_pylint_config_generate.py b/tests/config/pylint_config/test_pylint_config_generate.py index adf7129a5..61f158aef 100644 --- a/tests/config/pylint_config/test_pylint_config_generate.py +++ b/tests/config/pylint_config/test_pylint_config_generate.py @@ -1,6 +1,6 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt """Test for the 'pylint-config generate' command.""" diff --git a/tests/config/pylint_config/test_pylint_config_help.py b/tests/config/pylint_config/test_pylint_config_help.py index fcd57894a..5393a28fb 100644 --- a/tests/config/pylint_config/test_pylint_config_help.py +++ b/tests/config/pylint_config/test_pylint_config_help.py @@ -1,6 +1,6 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt """Test for the 'pylint-config generate' command.""" diff --git a/tests/config/pylint_config/test_pylint_config_utils.py b/tests/config/pylint_config/test_pylint_config_utils.py index d41afec1d..b68e331fd 100644 --- a/tests/config/pylint_config/test_pylint_config_utils.py +++ b/tests/config/pylint_config/test_pylint_config_utils.py @@ -1,6 +1,6 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt """Test for the 'pylint-config' utils.""" diff --git a/tests/config/pylint_config/test_run_pylint_config.py b/tests/config/pylint_config/test_run_pylint_config.py index 9795e2183..1d282ed86 100644 --- a/tests/config/pylint_config/test_run_pylint_config.py +++ b/tests/config/pylint_config/test_run_pylint_config.py @@ -1,6 +1,6 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt """Test for the 'pylint-config generate' command.""" diff --git a/tests/config/test_argparse_config.py b/tests/config/test_argparse_config.py index a9d7f70c2..dfa0fd4dd 100644 --- a/tests/config/test_argparse_config.py +++ b/tests/config/test_argparse_config.py @@ -1,6 +1,6 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt """Test for the (new) implementation of option parsing with argparse""" diff --git a/tests/config/test_config.py b/tests/config/test_config.py index 5eab597fd..ff49d901e 100644 --- a/tests/config/test_config.py +++ b/tests/config/test_config.py @@ -1,6 +1,6 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt from __future__ import annotations @@ -155,7 +155,7 @@ def test_short_verbose(capsys: CaptureFixture) -> None: def test_argument_separator() -> None: """Check that we support using '--' to separate argument types. - Reported in https://github.com/PyCQA/pylint/issues/7003. + Reported in https://github.com/pylint-dev/pylint/issues/7003. """ runner = Run(["--", str(EMPTY_MODULE)], exit=False) assert not runner.linter.stats.by_msg diff --git a/tests/config/test_find_default_config_files.py b/tests/config/test_find_default_config_files.py index f72c816e6..f78f640b2 100644 --- a/tests/config/test_find_default_config_files.py +++ b/tests/config/test_find_default_config_files.py @@ -1,6 +1,6 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt from __future__ import annotations @@ -242,7 +242,7 @@ def test_cfg_has_config(content: str, expected: bool, tmp_path: Path) -> None: def test_non_existent_home() -> None: """Test that we handle a non-existent home directory. - Reported in https://github.com/PyCQA/pylint/issues/6802. + Reported in https://github.com/pylint-dev/pylint/issues/6802. """ with mock.patch("pathlib.Path.home", side_effect=RuntimeError): current_dir = os.getcwd() @@ -256,7 +256,7 @@ def test_non_existent_home() -> None: def test_permission_error() -> None: """Test that we handle PermissionError correctly in find_default_config_files. - Reported in https://github.com/PyCQA/pylint/issues/7169. + Reported in https://github.com/pylint-dev/pylint/issues/7169. """ with mock.patch("pathlib.Path.is_file", side_effect=PermissionError): list(config.find_default_config_files()) diff --git a/tests/config/test_functional_config_loading.py b/tests/config/test_functional_config_loading.py index d5a2ba7ca..0bbfe50ff 100644 --- a/tests/config/test_functional_config_loading.py +++ b/tests/config/test_functional_config_loading.py @@ -1,6 +1,6 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt """This launches the configuration functional tests. This permits to test configuration files by providing a file with the appropriate extension in the ``tests/config/functional`` diff --git a/tests/config/test_per_directory_config.py b/tests/config/test_per_directory_config.py index 85d918a21..b888dd405 100644 --- a/tests/config/test_per_directory_config.py +++ b/tests/config/test_per_directory_config.py @@ -1,6 +1,6 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt from pathlib import Path |