summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2023-03-29 21:21:43 +0200
committerGitHub <noreply@github.com>2023-03-29 21:21:43 +0200
commit9f2de9123b579fadd512e31e9b68c7eb40a9c62d (patch)
treea9329f19f490e97916cfcce82d1318bf2de2b333
parent1be16bb8c4eb1a19c2a3d7ea828feb4fd9c069a8 (diff)
downloadpylint-git-9f2de9123b579fadd512e31e9b68c7eb40a9c62d.tar.gz
[PyCQA migration] Upgrade links to the repositories in code and doc (#8514)
-rw-r--r--.github/ISSUE_TEMPLATE/BUG-REPORT.yml2
-rw-r--r--.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml2
-rw-r--r--.github/ISSUE_TEMPLATE/QUESTION.yml3
-rw-r--r--README.rst12
-rw-r--r--doc/conf.py10
-rw-r--r--doc/contact.rst2
-rw-r--r--doc/data/messages/b/bad-format-character/details.rst2
-rw-r--r--doc/data/messages/b/bad-plugin-value/details.rst2
-rw-r--r--doc/data/messages/b/bad-string-format-type/details.rst2
-rw-r--r--doc/data/messages/c/c-extension-no-member/details.rst2
-rw-r--r--doc/data/messages/c/consider-using-generator/related.rst4
-rw-r--r--doc/data/messages/c/cyclic-import/details.rst2
-rw-r--r--doc/data/messages/f/fixme/details.rst2
-rw-r--r--doc/data/messages/i/invalid-character-carriage-return/details.rst2
-rw-r--r--doc/data/messages/i/invalid-character-nul/details.rst2
-rw-r--r--doc/data/messages/l/line-too-long/details.rst2
-rw-r--r--doc/data/messages/m/mixed-line-endings/details.rst2
-rw-r--r--doc/data/messages/r/raw-checker-failed/details.rst2
-rw-r--r--doc/data/messages/r/relative-beyond-top-level/details.rst2
-rw-r--r--doc/data/messages/u/unrecognized-option/details.rst2
-rw-r--r--doc/data/messages/u/use-a-generator/related.rst2
-rw-r--r--doc/data/messages/u/useless-option-value/bad.py2
-rw-r--r--doc/data/messages/u/useless-option-value/good.py2
-rw-r--r--doc/development_guide/contributor_guide/contribute.rst32
-rw-r--r--doc/development_guide/contributor_guide/tests/install.rst2
-rw-r--r--doc/development_guide/how_tos/custom_checkers.rst6
-rwxr-xr-xdoc/exts/pylint_extensions.py4
-rwxr-xr-xdoc/exts/pylint_features.py4
-rw-r--r--doc/exts/pylint_messages.py6
-rw-r--r--doc/exts/pylint_options.py4
-rw-r--r--doc/test_messages_documentation.py4
-rw-r--r--doc/user_guide/installation/badge.rst6
-rw-r--r--doc/whatsnew/2/2.10/summary.rst2
-rw-r--r--doc/whatsnew/2/2.11/summary.rst2
-rw-r--r--doc/whatsnew/2/2.13/summary.rst2
-rw-r--r--doc/whatsnew/2/2.14/summary.rst2
-rw-r--r--doc/whatsnew/2/2.15/index.rst192
-rw-r--r--doc/whatsnew/2/2.16/index.rst274
-rw-r--r--doc/whatsnew/2/2.17/index.rst62
-rw-r--r--pylint/__init__.py8
-rw-r--r--pylint/__main__.py4
-rw-r--r--pylint/__pkginfo__.py8
-rw-r--r--pylint/checkers/__init__.py4
-rw-r--r--pylint/checkers/async.py4
-rw-r--r--pylint/checkers/bad_chained_comparison.py4
-rw-r--r--pylint/checkers/base/__init__.py4
-rw-r--r--pylint/checkers/base/basic_checker.py8
-rw-r--r--pylint/checkers/base/basic_error_checker.py4
-rw-r--r--pylint/checkers/base/comparison_checker.py4
-rw-r--r--pylint/checkers/base/docstring_checker.py4
-rw-r--r--pylint/checkers/base/name_checker/__init__.py4
-rw-r--r--pylint/checkers/base/name_checker/checker.py4
-rw-r--r--pylint/checkers/base/name_checker/naming_style.py4
-rw-r--r--pylint/checkers/base/pass_checker.py4
-rw-r--r--pylint/checkers/base_checker.py4
-rw-r--r--pylint/checkers/classes/__init__.py4
-rw-r--r--pylint/checkers/classes/class_checker.py4
-rw-r--r--pylint/checkers/classes/special_methods_checker.py4
-rw-r--r--pylint/checkers/deprecated.py4
-rw-r--r--pylint/checkers/design_analysis.py4
-rw-r--r--pylint/checkers/dunder_methods.py6
-rw-r--r--pylint/checkers/ellipsis_checker.py4
-rw-r--r--pylint/checkers/exceptions.py4
-rw-r--r--pylint/checkers/format.py10
-rw-r--r--pylint/checkers/imports.py4
-rw-r--r--pylint/checkers/lambda_expressions.py4
-rw-r--r--pylint/checkers/logging.py4
-rw-r--r--pylint/checkers/method_args.py4
-rw-r--r--pylint/checkers/misc.py4
-rw-r--r--pylint/checkers/modified_iterating_checker.py4
-rw-r--r--pylint/checkers/nested_min_max.py4
-rw-r--r--pylint/checkers/newstyle.py4
-rw-r--r--pylint/checkers/non_ascii_names.py4
-rw-r--r--pylint/checkers/raw_metrics.py4
-rw-r--r--pylint/checkers/refactoring/__init__.py4
-rw-r--r--pylint/checkers/refactoring/implicit_booleaness_checker.py4
-rw-r--r--pylint/checkers/refactoring/not_checker.py4
-rw-r--r--pylint/checkers/refactoring/recommendation_checker.py4
-rw-r--r--pylint/checkers/refactoring/refactoring_checker.py10
-rw-r--r--pylint/checkers/similar.py4
-rw-r--r--pylint/checkers/spelling.py4
-rw-r--r--pylint/checkers/stdlib.py4
-rw-r--r--pylint/checkers/strings.py6
-rw-r--r--pylint/checkers/threading_checker.py4
-rw-r--r--pylint/checkers/typecheck.py8
-rw-r--r--pylint/checkers/unicode.py4
-rw-r--r--pylint/checkers/unsupported_version.py4
-rw-r--r--pylint/checkers/utils.py4
-rw-r--r--pylint/checkers/variables.py15
-rw-r--r--pylint/config/__init__.py4
-rw-r--r--pylint/config/_pylint_config/__init__.py4
-rw-r--r--pylint/config/_pylint_config/generate_command.py4
-rw-r--r--pylint/config/_pylint_config/help_message.py4
-rw-r--r--pylint/config/_pylint_config/main.py4
-rw-r--r--pylint/config/_pylint_config/setup.py4
-rw-r--r--pylint/config/_pylint_config/utils.py4
-rw-r--r--pylint/config/argument.py4
-rw-r--r--pylint/config/arguments_manager.py4
-rw-r--r--pylint/config/arguments_provider.py4
-rw-r--r--pylint/config/callback_actions.py4
-rw-r--r--pylint/config/config_file_parser.py4
-rw-r--r--pylint/config/config_initialization.py4
-rw-r--r--pylint/config/deprecation_actions.py4
-rw-r--r--pylint/config/exceptions.py4
-rw-r--r--pylint/config/find_default_config_files.py4
-rw-r--r--pylint/config/help_formatter.py4
-rw-r--r--pylint/config/utils.py4
-rw-r--r--pylint/constants.py4
-rw-r--r--pylint/exceptions.py4
-rw-r--r--pylint/extensions/__init__.py4
-rw-r--r--pylint/extensions/_check_docs_utils.py4
-rw-r--r--pylint/extensions/bad_builtin.py4
-rw-r--r--pylint/extensions/broad_try_clause.py4
-rw-r--r--pylint/extensions/check_elif.py4
-rw-r--r--pylint/extensions/code_style.py4
-rw-r--r--pylint/extensions/comparetozero.py4
-rw-r--r--pylint/extensions/comparison_placement.py4
-rw-r--r--pylint/extensions/confusing_elif.py4
-rw-r--r--pylint/extensions/consider_refactoring_into_while_condition.py4
-rw-r--r--pylint/extensions/consider_ternary_expression.py4
-rw-r--r--pylint/extensions/dict_init_mutate.py4
-rw-r--r--pylint/extensions/docparams.py4
-rw-r--r--pylint/extensions/docstyle.py4
-rw-r--r--pylint/extensions/dunder.py4
-rw-r--r--pylint/extensions/empty_comment.py4
-rw-r--r--pylint/extensions/emptystring.py4
-rw-r--r--pylint/extensions/eq_without_hash.py6
-rw-r--r--pylint/extensions/for_any_all.py4
-rw-r--r--pylint/extensions/magic_value.py4
-rw-r--r--pylint/extensions/mccabe.py4
-rw-r--r--pylint/extensions/no_self_use.py4
-rw-r--r--pylint/extensions/overlapping_exceptions.py4
-rw-r--r--pylint/extensions/private_import.py4
-rw-r--r--pylint/extensions/redefined_loop_name.py4
-rw-r--r--pylint/extensions/redefined_variable_type.py4
-rw-r--r--pylint/extensions/set_membership.py4
-rw-r--r--pylint/extensions/typing.py4
-rw-r--r--pylint/extensions/while_used.py4
-rw-r--r--pylint/graph.py4
-rw-r--r--pylint/interfaces.py4
-rw-r--r--pylint/lint/__init__.py4
-rw-r--r--pylint/lint/base_options.py4
-rw-r--r--pylint/lint/caching.py4
-rw-r--r--pylint/lint/expand_modules.py4
-rw-r--r--pylint/lint/message_state_handler.py4
-rw-r--r--pylint/lint/parallel.py4
-rw-r--r--pylint/lint/pylinter.py4
-rw-r--r--pylint/lint/report_functions.py4
-rw-r--r--pylint/lint/run.py4
-rw-r--r--pylint/lint/utils.py8
-rw-r--r--pylint/message/__init__.py4
-rw-r--r--pylint/message/_deleted_message_ids.py16
-rw-r--r--pylint/message/message.py4
-rw-r--r--pylint/message/message_definition.py4
-rw-r--r--pylint/message/message_definition_store.py6
-rw-r--r--pylint/message/message_id_store.py4
-rw-r--r--pylint/pyreverse/__init__.py4
-rw-r--r--pylint/pyreverse/diadefslib.py4
-rw-r--r--pylint/pyreverse/diagrams.py4
-rw-r--r--pylint/pyreverse/dot_printer.py4
-rw-r--r--pylint/pyreverse/inspector.py4
-rw-r--r--pylint/pyreverse/main.py4
-rw-r--r--pylint/pyreverse/mermaidjs_printer.py4
-rw-r--r--pylint/pyreverse/plantuml_printer.py4
-rw-r--r--pylint/pyreverse/printer.py4
-rw-r--r--pylint/pyreverse/printer_factory.py4
-rw-r--r--pylint/pyreverse/utils.py4
-rw-r--r--pylint/pyreverse/writer.py4
-rw-r--r--pylint/reporters/__init__.py4
-rw-r--r--pylint/reporters/base_reporter.py4
-rw-r--r--pylint/reporters/collecting_reporter.py4
-rw-r--r--pylint/reporters/json_reporter.py4
-rw-r--r--pylint/reporters/multi_reporter.py4
-rw-r--r--pylint/reporters/reports_handler_mix_in.py4
-rw-r--r--pylint/reporters/text.py4
-rw-r--r--pylint/reporters/ureports/__init__.py4
-rw-r--r--pylint/reporters/ureports/base_writer.py4
-rw-r--r--pylint/reporters/ureports/nodes.py4
-rw-r--r--pylint/reporters/ureports/text_writer.py4
-rw-r--r--pylint/testutils/__init__.py4
-rw-r--r--pylint/testutils/_primer/__init__.py4
-rw-r--r--pylint/testutils/_primer/package_to_lint.py4
-rw-r--r--pylint/testutils/_primer/primer.py4
-rw-r--r--pylint/testutils/_primer/primer_command.py4
-rw-r--r--pylint/testutils/_primer/primer_compare_command.py4
-rw-r--r--pylint/testutils/_primer/primer_prepare_command.py4
-rw-r--r--pylint/testutils/_primer/primer_run_command.py4
-rw-r--r--pylint/testutils/_run.py4
-rw-r--r--pylint/testutils/checker_test_case.py4
-rw-r--r--pylint/testutils/configuration_test.py4
-rw-r--r--pylint/testutils/constants.py4
-rw-r--r--pylint/testutils/decorator.py4
-rw-r--r--pylint/testutils/functional/__init__.py4
-rw-r--r--pylint/testutils/functional/find_functional_tests.py4
-rw-r--r--pylint/testutils/functional/lint_module_output_update.py4
-rw-r--r--pylint/testutils/functional/test_file.py4
-rw-r--r--pylint/testutils/get_test_info.py4
-rw-r--r--pylint/testutils/global_test_linter.py4
-rw-r--r--pylint/testutils/lint_module_test.py4
-rw-r--r--pylint/testutils/output_line.py4
-rw-r--r--pylint/testutils/pyreverse.py4
-rw-r--r--pylint/testutils/reporter_for_tests.py6
-rw-r--r--pylint/testutils/tokenize_str.py4
-rw-r--r--pylint/testutils/unittest_linter.py4
-rw-r--r--pylint/testutils/utils.py4
-rw-r--r--pylint/typing.py4
-rw-r--r--pylint/utils/__init__.py4
-rw-r--r--pylint/utils/ast_walker.py4
-rw-r--r--pylint/utils/docs.py4
-rw-r--r--pylint/utils/file_state.py4
-rw-r--r--pylint/utils/linterstats.py4
-rw-r--r--pylint/utils/pragma_parser.py4
-rw-r--r--pylint/utils/utils.py4
-rw-r--r--pyproject.toml6
-rw-r--r--script/__init__.py4
-rw-r--r--script/bump_changelog.py4
-rw-r--r--script/check_newsfragments.py4
-rw-r--r--script/copyright.txt4
-rw-r--r--script/create_contributor_list.py4
-rw-r--r--script/get_unused_message_id_category.py4
-rw-r--r--tbump.toml2
-rw-r--r--tests/benchmark/test_baseline_benchmarks.py4
-rw-r--r--tests/checkers/base/unittest_base.py4
-rw-r--r--tests/checkers/base/unittest_multi_naming_style.py4
-rw-r--r--tests/checkers/base/unittest_name_preset.py4
-rw-r--r--tests/checkers/conftest.py4
-rw-r--r--tests/checkers/unittest_base_checker.py4
-rw-r--r--tests/checkers/unittest_deprecated.py4
-rw-r--r--tests/checkers/unittest_design.py4
-rw-r--r--tests/checkers/unittest_format.py4
-rw-r--r--tests/checkers/unittest_imports.py4
-rw-r--r--tests/checkers/unittest_misc.py4
-rw-r--r--tests/checkers/unittest_non_ascii_name.py4
-rw-r--r--tests/checkers/unittest_refactoring.py4
-rw-r--r--tests/checkers/unittest_similar.py4
-rw-r--r--tests/checkers/unittest_spelling.py4
-rw-r--r--tests/checkers/unittest_stdlib.py4
-rw-r--r--tests/checkers/unittest_strings.py4
-rw-r--r--tests/checkers/unittest_typecheck.py4
-rw-r--r--tests/checkers/unittest_unicode/__init__.py4
-rw-r--r--tests/checkers/unittest_unicode/unittest_bad_chars.py4
-rw-r--r--tests/checkers/unittest_unicode/unittest_bidirectional_unicode.py4
-rw-r--r--tests/checkers/unittest_unicode/unittest_functions.py4
-rw-r--r--tests/checkers/unittest_unicode/unittest_invalid_encoding.py4
-rw-r--r--tests/checkers/unittest_utils.py4
-rw-r--r--tests/checkers/unittest_variables.py8
-rw-r--r--tests/config/conftest.py4
-rw-r--r--tests/config/file_to_lint.py4
-rw-r--r--tests/config/functional/ini/pylintrc_with_deleted_message.8.out4
-rw-r--r--tests/config/functional/ini/pylintrc_with_deleted_message.ini2
-rw-r--r--tests/config/functional/ini/pylintrc_with_missing_comma.ini2
-rw-r--r--tests/config/functional/ini/pylintrc_with_multi_line_init_hook.ini2
-rw-r--r--tests/config/functional/ini/pylintrc_with_quoted_init_hook.ini2
-rw-r--r--tests/config/functional/setup_cfg/identical_name_in_flake8/setup.cfg2
-rw-r--r--tests/config/functional/setup_cfg/issue_4272/option_in_wrong_section.cfg2
-rw-r--r--tests/config/functional/toml/issue_3122/toml_with_missing_comma.toml2
-rw-r--r--tests/config/functional/toml/issue_3181/top_level_list_of_disable.toml2
-rw-r--r--tests/config/functional/toml/unknown_msgid/enable_unknown_msgid.toml2
-rw-r--r--tests/config/functional/tox/unrecognized_options/tox.ini2
-rw-r--r--tests/config/pylint_config/test_pylint_config_generate.py4
-rw-r--r--tests/config/pylint_config/test_pylint_config_help.py4
-rw-r--r--tests/config/pylint_config/test_pylint_config_utils.py4
-rw-r--r--tests/config/pylint_config/test_run_pylint_config.py4
-rw-r--r--tests/config/test_argparse_config.py4
-rw-r--r--tests/config/test_config.py6
-rw-r--r--tests/config/test_find_default_config_files.py8
-rw-r--r--tests/config/test_functional_config_loading.py4
-rw-r--r--tests/config/test_per_directory_config.py4
-rw-r--r--tests/conftest.py4
-rw-r--r--tests/extensions/__init__.py4
-rw-r--r--tests/extensions/test_check_docs_utils.py4
-rw-r--r--tests/extensions/test_private_import.py4
-rw-r--r--tests/functional/a/access/access_to_protected_members.py2
-rw-r--r--tests/functional/a/alternative/alternative_union_syntax_error.py2
-rw-r--r--tests/functional/a/alternative/alternative_union_syntax_py37.py2
-rw-r--r--tests/functional/a/alternative/alternative_union_syntax_regession_8119.py2
-rw-r--r--tests/functional/a/arguments.py2
-rw-r--r--tests/functional/a/arguments_differ.py6
-rw-r--r--tests/functional/a/arguments_differ_issue5371.py2
-rw-r--r--tests/functional/a/arguments_renamed.py2
-rw-r--r--tests/functional/a/assigning/assigning_non_slot.py2
-rw-r--r--tests/functional/a/assigning/assigning_non_slot_4509.py2
-rw-r--r--tests/functional/a/assignment/assignment_expression.py18
-rw-r--r--tests/functional/a/assignment/assignment_from_no_return.py2
-rw-r--r--tests/functional/b/bad_option_value.txt16
-rw-r--r--tests/functional/c/cached_property.py2
-rw-r--r--tests/functional/c/cellvar_escaping_loop.py2
-rw-r--r--tests/functional/c/class_protocol_ellipsis.py2
-rw-r--r--tests/functional/c/comparison_with_callable_typing_constants.py2
-rw-r--r--tests/functional/c/consider/consider_iterating_dictionary.py2
-rw-r--r--tests/functional/c/consider/consider_using_dict_items.py2
-rw-r--r--tests/functional/c/consider/consider_using_enumerate.py2
-rw-r--r--tests/functional/c/consider/consider_using_generator.py2
-rw-r--r--tests/functional/c/consider/consider_using_min_max_builtin.py2
-rw-r--r--tests/functional/c/consider/consider_using_with.py2
-rw-r--r--tests/functional/d/dataclass/dataclass_typecheck.py2
-rw-r--r--tests/functional/d/dataclass/dataclass_with_default_factory.py4
-rw-r--r--tests/functional/d/dataclass/dataclass_with_field.py2
-rw-r--r--tests/functional/d/disabled_msgid_in_pylintrc.py2
-rw-r--r--tests/functional/e/.#emacs_file_lock.py2
-rw-r--r--tests/functional/e/.#emacs_file_lock_by_conf.py2
-rw-r--r--tests/functional/e/enum_self_defined_member_5138.py2
-rw-r--r--tests/functional/e/enum_self_defined_member_6805.py2
-rw-r--r--tests/functional/e/enum_subclasses.py6
-rw-r--r--tests/functional/ext/code_style/cs_consider_using_augmented_assign.py2
-rw-r--r--tests/functional/ext/docparams/parameter/missing_param_doc_required_Google.py2
-rw-r--r--tests/functional/ext/docparams/parameter/missing_param_doc_required_Numpy.py4
-rw-r--r--tests/functional/ext/docparams/parameter/missing_param_doc_required_Sphinx.py4
-rw-r--r--tests/functional/ext/docparams/raise/missing_raises_doc_options.py2
-rw-r--r--tests/functional/ext/for_any_all/for_any_all.py2
-rw-r--r--tests/functional/ext/redefined_loop_name/redefined_loop_name.py2
-rw-r--r--tests/functional/ext/redefined_variable_type/redefined_variable_type.py2
-rw-r--r--tests/functional/ext/redefined_variable_type/regression_newtype_fstring.py2
-rw-r--r--tests/functional/ext/typing/typing_consider_using_alias.py2
-rw-r--r--tests/functional/ext/typing/typing_consider_using_alias_without_future.py2
-rw-r--r--tests/functional/ext/typing/typing_consider_using_union.py2
-rw-r--r--tests/functional/ext/typing/typing_consider_using_union_without_future.py2
-rw-r--r--tests/functional/g/generated_members.py2
-rw-r--r--tests/functional/g/globals.py2
-rw-r--r--tests/functional/i/import_error.py2
-rw-r--r--tests/functional/i/inconsistent/inconsistent_returns.py4
-rw-r--r--tests/functional/i/inference_crash_4692.py2
-rw-r--r--tests/functional/i/init_not_called.py2
-rw-r--r--tests/functional/i/invalid/invalid_class_object.py2
-rw-r--r--tests/functional/i/invalid/invalid_exceptions/invalid_exceptions_raised.py2
-rw-r--r--tests/functional/i/invalid/invalid_metaclass.py2
-rw-r--r--tests/functional/i/invalid/invalid_name/invalid_name-module-disable.py2
-rw-r--r--tests/functional/i/invalid/invalid_name/invalid_name_issue_3405.py2
-rw-r--r--tests/functional/i/invalid/invalid_overridden_method.py2
-rw-r--r--tests/functional/i/invalid/invalid_sequence_index.py2
-rw-r--r--tests/functional/i/iterable_context.py2
-rw-r--r--tests/functional/m/member/member_checks_inference_improvements.py2
-rw-r--r--tests/functional/m/modified_iterating.py4
-rw-r--r--tests/functional/n/no/no_member.py8
-rw-r--r--tests/functional/n/no/no_member_assign_same_line.py2
-rw-r--r--tests/functional/n/no/no_member_augassign.py2
-rw-r--r--tests/functional/n/no/no_member_binary_operations.py2
-rw-r--r--tests/functional/n/no/no_member_dataclasses.py6
-rw-r--r--tests/functional/n/no/no_member_if_statements.py6
-rw-r--r--tests/functional/n/no/no_member_subclassed_dataclasses.py2
-rw-r--r--tests/functional/n/no/no_name_in_module.py2
-rw-r--r--tests/functional/n/none_dunder_protocols.py2
-rw-r--r--tests/functional/n/nonlocal_without_binding.py2
-rw-r--r--tests/functional/n/not_callable.py12
-rw-r--r--tests/functional/o/overridden_final_method_py38.py2
-rw-r--r--tests/functional/p/postponed/postponed_evaluation_pep585.py2
-rw-r--r--tests/functional/p/postponed/postponed_evaluation_pep585_error.py2
-rw-r--r--tests/functional/r/recursion/recursion_error_2667.py2
-rw-r--r--tests/functional/r/recursion/recursion_error_2906.py2
-rw-r--r--tests/functional/r/recursion/recursion_error_3159.py2
-rw-r--r--tests/functional/r/recursion/recursion_error_crash.py2
-rw-r--r--tests/functional/r/recursion/recursion_error_crash_2683.py2
-rw-r--r--tests/functional/r/redefined/redefined_except_handler.py4
-rw-r--r--tests/functional/r/redefined/redefined_slots.py2
-rw-r--r--tests/functional/r/redundant_unittest_assert.py2
-rw-r--r--tests/functional/r/regression/regression_3416_unused_argument_raise.py2
-rw-r--r--tests/functional/r/regression/regression_3507_typing_alias_isinstance.py2
-rw-r--r--tests/functional/r/regression/regression_3535_double_enum_inherit.py2
-rw-r--r--tests/functional/r/regression/regression_3595_notcallable_collections.py2
-rw-r--r--tests/functional/r/regression/regression_4221_object_instanceattr.py2
-rw-r--r--tests/functional/r/regression/regression_4358_unsubscriptable_enum.py2
-rw-r--r--tests/functional/r/regression/regression_4439.py2
-rw-r--r--tests/functional/r/regression/regression_6531_crash_index_error.py2
-rw-r--r--tests/functional/r/regression/regression_issue_4633.py2
-rw-r--r--tests/functional/r/regression/regression_no_member_1078.py2
-rw-r--r--tests/functional/r/regression/regression_property_no_member_2641.py2
-rw-r--r--tests/functional/r/regression/regression_property_no_member_844.py2
-rw-r--r--tests/functional/r/regression/regression_property_no_member_870.py2
-rw-r--r--tests/functional/r/regression_02/regression_2567.py2
-rw-r--r--tests/functional/r/regression_02/regression_2964.py2
-rw-r--r--tests/functional/r/regression_02/regression_3976.py2
-rw-r--r--tests/functional/r/regression_02/regression_3979.py2
-rw-r--r--tests/functional/r/regression_02/regression_4660.py2
-rw-r--r--tests/functional/r/regression_02/regression_4982.py2
-rw-r--r--tests/functional/r/regression_02/regression_5030.py4
-rw-r--r--tests/functional/r/regression_02/regression_5048.py2
-rw-r--r--tests/functional/r/regression_02/regression_5244.py2
-rw-r--r--tests/functional/r/regression_02/regression_5408.py2
-rw-r--r--tests/functional/r/regression_02/regression_5461.py2
-rw-r--r--tests/functional/r/regression_02/regression_5479.py2
-rw-r--r--tests/functional/r/regression_02/regression_5776.py2
-rw-r--r--tests/functional/r/regression_02/regression_5801.py2
-rw-r--r--tests/functional/r/regression_02/regression_8109.py2
-rw-r--r--tests/functional/r/regression_02/regression_distutil_import_error_73.py4
-rw-r--r--tests/functional/r/regression_02/regression_no_member_7631.py2
-rw-r--r--tests/functional/r/regression_02/regression_node_statement_two.py2
-rw-r--r--tests/functional/r/regression_02/regression_property_slots_2439.py2
-rw-r--r--tests/functional/r/regression_02/regression_too_many_arguments_2335.py2
-rw-r--r--tests/functional/s/stop_iteration_inside_generator.py10
-rw-r--r--tests/functional/s/subclassed_final_class_py38.py2
-rw-r--r--tests/functional/s/super/super_checks.py4
-rw-r--r--tests/functional/s/super/super_init_not_called.py4
-rw-r--r--tests/functional/s/sys_stream_regression_1004.py2
-rw-r--r--tests/functional/t/too/too_few_public_methods_37.py2
-rw-r--r--tests/functional/t/too/too_many_ancestors.py4
-rw-r--r--tests/functional/t/too/too_many_arguments.py2
-rw-r--r--tests/functional/t/too/too_many_function_args.py2
-rw-r--r--tests/functional/t/too/too_many_instance_attributes.py2
-rw-r--r--tests/functional/t/too/too_many_instance_attributes_py37.py2
-rw-r--r--tests/functional/t/trailing_whitespaces.py4
-rw-r--r--tests/functional/t/typedDict.py2
-rw-r--r--tests/functional/t/typing_generic.py2
-rw-r--r--tests/functional/u/unbalanced/unbalanced_tuple_unpacking.py2
-rw-r--r--tests/functional/u/undefined/undefined_loop_variable.py10
-rw-r--r--tests/functional/u/undefined/undefined_loop_variable_py38.py2
-rw-r--r--tests/functional/u/undefined/undefined_variable.py4
-rw-r--r--tests/functional/u/undefined/undefined_variable_classes.py4
-rw-r--r--tests/functional/u/undefined/undefined_variable_decorators.py2
-rw-r--r--tests/functional/u/undefined/undefined_variable_py30.py4
-rw-r--r--tests/functional/u/undefined/undefined_variable_py38.py6
-rw-r--r--tests/functional/u/undefined/undefined_variable_typing.py6
-rw-r--r--tests/functional/u/unexpected_special_method_signature.py2
-rw-r--r--tests/functional/u/ungrouped_imports.py2
-rw-r--r--tests/functional/u/unnecessary/unnecessary_dict_index_lookup.py12
-rw-r--r--tests/functional/u/unnecessary/unnecessary_ellipsis.py2
-rw-r--r--tests/functional/u/unnecessary/unnecessary_list_index_lookup.py12
-rw-r--r--tests/functional/u/unpacking/unpacking_non_sequence_py37.py4
-rw-r--r--tests/functional/u/unreachable.py2
-rw-r--r--tests/functional/u/unspecified_encoding_py38.py10
-rw-r--r--tests/functional/u/unsubscriptable_object.py2
-rw-r--r--tests/functional/u/unused/unused_argument.py2
-rw-r--r--tests/functional/u/unused/unused_import.py2
-rw-r--r--tests/functional/u/unused/unused_import_class_def_keyword.py2
-rw-r--r--tests/functional/u/unused/unused_import_everything_disabled.py4
-rw-r--r--tests/functional/u/unused/unused_import_positional_only_py38.py2
-rw-r--r--tests/functional/u/unused/unused_private_member.py20
-rw-r--r--tests/functional/u/unused/unused_typing_imports.py2
-rw-r--r--tests/functional/u/unused/unused_variable_after_inference.py2
-rw-r--r--tests/functional/u/use/use_a_generator.py2
-rw-r--r--tests/functional/u/use/use_implicit_booleaness_not_comparison.py6
-rw-r--r--tests/functional/u/use/use_implicit_booleaness_not_len.py4
-rw-r--r--tests/functional/u/use/use_maxsplit_arg.py4
-rw-r--r--tests/functional/u/use/used_before_assignment_except_handler_for_try_with_return_py38.py2
-rw-r--r--tests/functional/u/used/used_before_assignment.py2
-rw-r--r--tests/functional/u/used/used_before_assignment_class_nested_under_function.py2
-rw-r--r--tests/functional/u/used/used_before_assignment_comprehension_homonyms.py6
-rw-r--r--tests/functional/u/used/used_before_assignment_else_return.py2
-rw-r--r--tests/functional/u/used/used_before_assignment_except_handler_for_try_with_return.py2
-rw-r--r--tests/functional/u/used/used_before_assignment_issue2615.py2
-rw-r--r--tests/functional/u/used/used_before_assignment_issue4761.py4
-rw-r--r--tests/functional/u/used/used_before_assignment_issue85.py4
-rw-r--r--tests/functional/u/used/used_before_assignment_nonlocal.py2
-rw-r--r--tests/functional/u/used/used_before_assignment_py37.py2
-rw-r--r--tests/functional/u/used/used_before_assignment_type_annotations.py2
-rw-r--r--tests/functional/u/used/used_before_assignment_typing.py10
-rw-r--r--tests/functional/u/useless/useless_parent_delegation.py2
-rw-r--r--tests/functional/u/useless/useless_suppression.py6
-rw-r--r--tests/input/func_noerror_cycle/__init__.py2
-rw-r--r--tests/lint/__init__.py4
-rw-r--r--tests/lint/test_caching.py4
-rw-r--r--tests/lint/test_pylinter.py4
-rw-r--r--tests/lint/test_run_pylint.py4
-rw-r--r--tests/lint/test_utils.py4
-rw-r--r--tests/lint/unittest_expand_modules.py4
-rw-r--r--tests/lint/unittest_lint.py8
-rw-r--r--tests/message/__init__.py4
-rw-r--r--tests/message/conftest.py4
-rw-r--r--tests/message/test_no_removed_msgid_or_symbol_used.py6
-rw-r--r--tests/message/unittest_message.py4
-rw-r--r--tests/message/unittest_message_definition.py4
-rw-r--r--tests/message/unittest_message_definition_store.py4
-rw-r--r--tests/message/unittest_message_id_store.py4
-rw-r--r--tests/primer/__main__.py4
-rw-r--r--tests/primer/test_primer_external.py4
-rw-r--r--tests/primer/test_primer_stdlib.py4
-rw-r--r--tests/profile/test_profile_against_externals.py4
-rw-r--r--tests/pyreverse/conftest.py4
-rw-r--r--tests/pyreverse/test_diadefs.py4
-rw-r--r--tests/pyreverse/test_diagrams.py4
-rw-r--r--tests/pyreverse/test_inspector.py4
-rw-r--r--tests/pyreverse/test_main.py4
-rw-r--r--tests/pyreverse/test_printer.py4
-rw-r--r--tests/pyreverse/test_printer_factory.py4
-rw-r--r--tests/pyreverse/test_pyreverse_functional.py4
-rw-r--r--tests/pyreverse/test_utils.py4
-rw-r--r--tests/pyreverse/test_writer.py4
-rw-r--r--tests/regrtest_data/line_too_long_no_code.py2
-rw-r--r--tests/regrtest_data/max_inferable_limit_for_classes/main.py2
-rw-r--r--tests/reporters/unittest_json_reporter.py4
-rw-r--r--tests/reporters/unittest_reporting.py4
-rw-r--r--tests/test_check_parallel.py8
-rw-r--r--tests/test_func.py4
-rw-r--r--tests/test_functional.py4
-rw-r--r--tests/test_functional_directories.py4
-rw-r--r--tests/test_import_graph.py4
-rw-r--r--tests/test_numversion.py4
-rw-r--r--tests/test_pragma_parser.py4
-rw-r--r--tests/test_pylint_runners.py8
-rw-r--r--tests/test_regr.py4
-rw-r--r--tests/test_self.py18
-rw-r--r--tests/test_similar.py4
-rw-r--r--tests/testutils/_primer/test_package_to_lint.py4
-rw-r--r--tests/testutils/_primer/test_primer.py4
-rw-r--r--tests/testutils/dummy_checker.py4
-rw-r--r--tests/testutils/test_configuration_test.py4
-rw-r--r--tests/testutils/test_functional_testutils.py4
-rw-r--r--tests/testutils/test_lint_module_output_update.py4
-rw-r--r--tests/testutils/test_output_line.py4
-rw-r--r--tests/testutils/test_pyreverse_testutils.py4
-rw-r--r--tests/testutils/test_testutils_utils.py4
-rw-r--r--tests/utils/unittest_ast_walker.py4
-rw-r--r--tests/utils/unittest_utils.py4
-rw-r--r--towncrier.toml2
503 files changed, 1225 insertions, 1221 deletions
diff --git a/.github/ISSUE_TEMPLATE/BUG-REPORT.yml b/.github/ISSUE_TEMPLATE/BUG-REPORT.yml
index e7a9f168c..811ed6360 100644
--- a/.github/ISSUE_TEMPLATE/BUG-REPORT.yml
+++ b/.github/ISSUE_TEMPLATE/BUG-REPORT.yml
@@ -10,7 +10,7 @@ body:
âš  Please make sure that this [issue wasn't already requested][issue search], or already implemented in the main branch.
- [issue search]: https://github.com/PyCQA/pylint/issues?q=is%3Aissue+is%3Aopen+
+ [issue search]: https://github.com/pylint-dev/pylint/issues?q=is%3Aissue+is%3Aopen+
- type: textarea
id: what-happened
diff --git a/.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml b/.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml
index a2b9b52e0..b537e69f0 100644
--- a/.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml
+++ b/.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml
@@ -10,7 +10,7 @@ body:
âš  Please make sure that [this feature wasn't already requested][issue search] or already implemented in the main branch.
- [issue search]: https://github.com/PyCQA/pylint/issues?q=is%3Aissue+is%3Aopen+
+ [issue search]: https://github.com/pylint-dev/pylint/issues?q=is%3Aissue+is%3Aopen+
- type: textarea
id: current-problem
diff --git a/.github/ISSUE_TEMPLATE/QUESTION.yml b/.github/ISSUE_TEMPLATE/QUESTION.yml
index 4af829fa3..ed26c9ffb 100644
--- a/.github/ISSUE_TEMPLATE/QUESTION.yml
+++ b/.github/ISSUE_TEMPLATE/QUESTION.yml
@@ -19,7 +19,8 @@ body:
on Discord][Discussions].
- [issue search]: https://github.com/PyCQA/pylint/issues?q=is%3Aissue+is%3Aopen+
+ [issue search]:
+ https://github.com/pylint-dev/pylint/issues?q=is%3Aissue+is%3Aopen+
[Discussions]: https://discord.com/invite/Egy6P8AMB5
diff --git a/README.rst b/README.rst
index 1573dcc09..2180f5162 100644
--- a/README.rst
+++ b/README.rst
@@ -5,8 +5,8 @@
.. This is used inside the doc to recover the start of the introduction
-.. image:: https://github.com/PyCQA/pylint/actions/workflows/tests.yaml/badge.svg?branch=main
- :target: https://github.com/PyCQA/pylint/actions
+.. image:: https://github.com/pylint-dev/pylint/actions/workflows/tests.yaml/badge.svg?branch=main
+ :target: https://github.com/pylint-dev/pylint/actions
.. image:: https://codecov.io/gh/PyCQA/pylint/branch/main/graph/badge.svg?token=ZETEzayrfk
:target: https://codecov.io/gh/PyCQA/pylint
@@ -23,7 +23,7 @@
:target: https://github.com/ambv/black
.. image:: https://img.shields.io/badge/linting-pylint-yellowgreen
- :target: https://github.com/PyCQA/pylint
+ :target: https://github.com/pylint-dev/pylint
.. image:: https://results.pre-commit.ci/badge/github/PyCQA/pylint/main.svg
:target: https://results.pre-commit.ci/latest/github/PyCQA/pylint/main
@@ -174,7 +174,7 @@ Please follow the `code of conduct`_ and check `the Contributor Guides`_ if you
make a code contribution.
.. _creating issues because you found a bug or want a feature: https://pylint.readthedocs.io/en/latest/contact.html#bug-reports-feedback
-.. _code of conduct: https://github.com/PyCQA/pylint/blob/main/CODE_OF_CONDUCT.md
+.. _code of conduct: https://github.com/pylint-dev/pylint/blob/main/CODE_OF_CONDUCT.md
.. _the Contributor Guides: https://pylint.readthedocs.io/en/latest/development_guide/contribute.html
.. This is used inside the doc to recover the end of the short text for contribution
@@ -185,7 +185,7 @@ Show your usage
You can place this badge in your README to let others know your project uses pylint.
.. image:: https://img.shields.io/badge/linting-pylint-yellowgreen
- :target: https://github.com/PyCQA/pylint
+ :target: https://github.com/pylint-dev/pylint
Learn how to add a badge to your documentation in the `the badge documentation`_.
@@ -194,7 +194,7 @@ Learn how to add a badge to your documentation in the `the badge documentation`_
License
-------
-pylint is, with a few exceptions listed below, `GPLv2 <https://github.com/PyCQA/pylint/blob/main/LICENSE>`_.
+pylint is, with a few exceptions listed below, `GPLv2 <https://github.com/pylint-dev/pylint/blob/main/LICENSE>`_.
The icon files are licensed under the `CC BY-SA 4.0 <https://creativecommons.org/licenses/by-sa/4.0/>`_ license:
diff --git a/doc/conf.py b/doc/conf.py
index 76968ec36..d48f9c28a 100644
--- a/doc/conf.py
+++ b/doc/conf.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
@@ -297,7 +297,9 @@ intersphinx_mapping = {
autosectionlabel_prefix_document = True
# Permit duplicated titles in the resulting document.
-# See https://github.com/PyCQA/pylint/issues/7362#issuecomment-1256932866
+# See https://github.com/pylint-dev/pylint/issues/7362#issuecomment-1256932866
autosectionlabel_maxdepth = 2
-linkcheck_ignore = ["https://github.com/PyCQA/pylint/blob/main/pylint/extensions/.*"]
+linkcheck_ignore = [
+ "https://github.com/pylint-dev/pylint/blob/main/pylint/extensions/.*"
+]
diff --git a/doc/contact.rst b/doc/contact.rst
index 5c3920dfc..be2eac41b 100644
--- a/doc/contact.rst
+++ b/doc/contact.rst
@@ -9,7 +9,7 @@ You think you have found a bug in Pylint? Well, this may be the case
since Pylint and Python are under heavy development!
Please take the time to check if it is already in the issue tracker at
-https://github.com/PyCQA/pylint
+https://github.com/pylint-dev/pylint
Note that the issue might also be reported in one of Pylint's major dependencies,
astroid:
diff --git a/doc/data/messages/b/bad-format-character/details.rst b/doc/data/messages/b/bad-format-character/details.rst
index 25a2d3f5c..94733967b 100644
--- a/doc/data/messages/b/bad-format-character/details.rst
+++ b/doc/data/messages/b/bad-format-character/details.rst
@@ -1,2 +1,2 @@
This check is currently only active for "old-style" string formatting as seen in the examples.
-See `Issue #6085 <https://github.com/PyCQA/pylint/issues/6085>`_ for more information.
+See `Issue #6085 <https://github.com/pylint-dev/pylint/issues/6085>`_ for more information.
diff --git a/doc/data/messages/b/bad-plugin-value/details.rst b/doc/data/messages/b/bad-plugin-value/details.rst
index ab8204529..c1e9b976a 100644
--- a/doc/data/messages/b/bad-plugin-value/details.rst
+++ b/doc/data/messages/b/bad-plugin-value/details.rst
@@ -1 +1 @@
-You can help us make the doc better `by contributing <https://github.com/PyCQA/pylint/issues/5953>`_ !
+You can help us make the doc better `by contributing <https://github.com/pylint-dev/pylint/issues/5953>`_ !
diff --git a/doc/data/messages/b/bad-string-format-type/details.rst b/doc/data/messages/b/bad-string-format-type/details.rst
index 65752275c..c60738410 100644
--- a/doc/data/messages/b/bad-string-format-type/details.rst
+++ b/doc/data/messages/b/bad-string-format-type/details.rst
@@ -1,2 +1,2 @@
This check is currently only active for "old-style" string formatting as seen in the examples.
-See `Issue #6085 <https://github.com/PyCQA/pylint/issues/6163>`_ for more information.
+See `Issue #6085 <https://github.com/pylint-dev/pylint/issues/6163>`_ for more information.
diff --git a/doc/data/messages/c/c-extension-no-member/details.rst b/doc/data/messages/c/c-extension-no-member/details.rst
index ab8204529..c1e9b976a 100644
--- a/doc/data/messages/c/c-extension-no-member/details.rst
+++ b/doc/data/messages/c/c-extension-no-member/details.rst
@@ -1 +1 @@
-You can help us make the doc better `by contributing <https://github.com/PyCQA/pylint/issues/5953>`_ !
+You can help us make the doc better `by contributing <https://github.com/pylint-dev/pylint/issues/5953>`_ !
diff --git a/doc/data/messages/c/consider-using-generator/related.rst b/doc/data/messages/c/consider-using-generator/related.rst
index f380655fb..24727cf25 100644
--- a/doc/data/messages/c/consider-using-generator/related.rst
+++ b/doc/data/messages/c/consider-using-generator/related.rst
@@ -1,3 +1,3 @@
- `PEP 289 <https://peps.python.org/pep-0289/>`_
-- `Benchmark and discussion for any/all/list/tuple <https://github.com/PyCQA/pylint/pull/3309#discussion_r576683109>`_
-- `Benchmark and discussion for sum/max/min <https://github.com/PyCQA/pylint/pull/6595#issuecomment-1125704244>`_
+- `Benchmark and discussion for any/all/list/tuple <https://github.com/pylint-dev/pylint/pull/3309#discussion_r576683109>`_
+- `Benchmark and discussion for sum/max/min <https://github.com/pylint-dev/pylint/pull/6595#issuecomment-1125704244>`_
diff --git a/doc/data/messages/c/cyclic-import/details.rst b/doc/data/messages/c/cyclic-import/details.rst
index ab8204529..c1e9b976a 100644
--- a/doc/data/messages/c/cyclic-import/details.rst
+++ b/doc/data/messages/c/cyclic-import/details.rst
@@ -1 +1 @@
-You can help us make the doc better `by contributing <https://github.com/PyCQA/pylint/issues/5953>`_ !
+You can help us make the doc better `by contributing <https://github.com/pylint-dev/pylint/issues/5953>`_ !
diff --git a/doc/data/messages/f/fixme/details.rst b/doc/data/messages/f/fixme/details.rst
index 02869b537..732b4d88d 100644
--- a/doc/data/messages/f/fixme/details.rst
+++ b/doc/data/messages/f/fixme/details.rst
@@ -1,2 +1,2 @@
You can get use regular expressions and the ``notes-rgx`` option to create some constraints for this message.
-See `the following issue <https://github.com/PyCQA/pylint/issues/2874>`_ for some examples.
+See `the following issue <https://github.com/pylint-dev/pylint/issues/2874>`_ for some examples.
diff --git a/doc/data/messages/i/invalid-character-carriage-return/details.rst b/doc/data/messages/i/invalid-character-carriage-return/details.rst
index ab8204529..c1e9b976a 100644
--- a/doc/data/messages/i/invalid-character-carriage-return/details.rst
+++ b/doc/data/messages/i/invalid-character-carriage-return/details.rst
@@ -1 +1 @@
-You can help us make the doc better `by contributing <https://github.com/PyCQA/pylint/issues/5953>`_ !
+You can help us make the doc better `by contributing <https://github.com/pylint-dev/pylint/issues/5953>`_ !
diff --git a/doc/data/messages/i/invalid-character-nul/details.rst b/doc/data/messages/i/invalid-character-nul/details.rst
index ab8204529..c1e9b976a 100644
--- a/doc/data/messages/i/invalid-character-nul/details.rst
+++ b/doc/data/messages/i/invalid-character-nul/details.rst
@@ -1 +1 @@
-You can help us make the doc better `by contributing <https://github.com/PyCQA/pylint/issues/5953>`_ !
+You can help us make the doc better `by contributing <https://github.com/pylint-dev/pylint/issues/5953>`_ !
diff --git a/doc/data/messages/l/line-too-long/details.rst b/doc/data/messages/l/line-too-long/details.rst
index 7f774a661..3a3a03897 100644
--- a/doc/data/messages/l/line-too-long/details.rst
+++ b/doc/data/messages/l/line-too-long/details.rst
@@ -2,4 +2,4 @@ Pragma controls such as ``# pylint: disable=all`` are not counted toward line le
If you attempt to disable this message via ``# pylint: disable=line-too-long`` in a module with no code, you may receive a message for ``useless-suppression``. This is a false positive of ``useless-suppression`` we can't easily fix.
-See https://github.com/PyCQA/pylint/issues/3368 for more information.
+See https://github.com/pylint-dev/pylint/issues/3368 for more information.
diff --git a/doc/data/messages/m/mixed-line-endings/details.rst b/doc/data/messages/m/mixed-line-endings/details.rst
index ab8204529..c1e9b976a 100644
--- a/doc/data/messages/m/mixed-line-endings/details.rst
+++ b/doc/data/messages/m/mixed-line-endings/details.rst
@@ -1 +1 @@
-You can help us make the doc better `by contributing <https://github.com/PyCQA/pylint/issues/5953>`_ !
+You can help us make the doc better `by contributing <https://github.com/pylint-dev/pylint/issues/5953>`_ !
diff --git a/doc/data/messages/r/raw-checker-failed/details.rst b/doc/data/messages/r/raw-checker-failed/details.rst
index ab8204529..c1e9b976a 100644
--- a/doc/data/messages/r/raw-checker-failed/details.rst
+++ b/doc/data/messages/r/raw-checker-failed/details.rst
@@ -1 +1 @@
-You can help us make the doc better `by contributing <https://github.com/PyCQA/pylint/issues/5953>`_ !
+You can help us make the doc better `by contributing <https://github.com/pylint-dev/pylint/issues/5953>`_ !
diff --git a/doc/data/messages/r/relative-beyond-top-level/details.rst b/doc/data/messages/r/relative-beyond-top-level/details.rst
index ab8204529..c1e9b976a 100644
--- a/doc/data/messages/r/relative-beyond-top-level/details.rst
+++ b/doc/data/messages/r/relative-beyond-top-level/details.rst
@@ -1 +1 @@
-You can help us make the doc better `by contributing <https://github.com/PyCQA/pylint/issues/5953>`_ !
+You can help us make the doc better `by contributing <https://github.com/pylint-dev/pylint/issues/5953>`_ !
diff --git a/doc/data/messages/u/unrecognized-option/details.rst b/doc/data/messages/u/unrecognized-option/details.rst
index ab8204529..c1e9b976a 100644
--- a/doc/data/messages/u/unrecognized-option/details.rst
+++ b/doc/data/messages/u/unrecognized-option/details.rst
@@ -1 +1 @@
-You can help us make the doc better `by contributing <https://github.com/PyCQA/pylint/issues/5953>`_ !
+You can help us make the doc better `by contributing <https://github.com/pylint-dev/pylint/issues/5953>`_ !
diff --git a/doc/data/messages/u/use-a-generator/related.rst b/doc/data/messages/u/use-a-generator/related.rst
index 5d4660bec..1ec9e139e 100644
--- a/doc/data/messages/u/use-a-generator/related.rst
+++ b/doc/data/messages/u/use-a-generator/related.rst
@@ -1,2 +1,2 @@
- `PEP 289 – Generator Expressions <https://peps.python.org/pep-0289/>`_
-- `Benchmark and discussion during initial implementation <https://github.com/PyCQA/pylint/pull/3309#discussion_r576683109>`_
+- `Benchmark and discussion during initial implementation <https://github.com/pylint-dev/pylint/pull/3309#discussion_r576683109>`_
diff --git a/doc/data/messages/u/useless-option-value/bad.py b/doc/data/messages/u/useless-option-value/bad.py
index 291528732..e284b3fea 100644
--- a/doc/data/messages/u/useless-option-value/bad.py
+++ b/doc/data/messages/u/useless-option-value/bad.py
@@ -1,3 +1,3 @@
-"""'bad-continuation' was removed from pylint in https://github.com/PyCQA/pylint/pull/3571"""
+"""'bad-continuation' was removed from pylint in https://github.com/pylint-dev/pylint/pull/3571"""
# pylint: disable=bad-continuation # [useless-option-value]
diff --git a/doc/data/messages/u/useless-option-value/good.py b/doc/data/messages/u/useless-option-value/good.py
index eb6b246c6..619b5b6f6 100644
--- a/doc/data/messages/u/useless-option-value/good.py
+++ b/doc/data/messages/u/useless-option-value/good.py
@@ -1 +1 @@
-"""'bad-continuation' was removed from pylint in https://github.com/PyCQA/pylint/pull/3571"""
+"""'bad-continuation' was removed from pylint in https://github.com/pylint-dev/pylint/pull/3571"""
diff --git a/doc/development_guide/contributor_guide/contribute.rst b/doc/development_guide/contributor_guide/contribute.rst
index 2ebc895b0..d687a0d21 100644
--- a/doc/development_guide/contributor_guide/contribute.rst
+++ b/doc/development_guide/contributor_guide/contribute.rst
@@ -24,18 +24,18 @@ Here's a list of links you can check depending on what you want to do:
- `Reviewing pull requests`_
.. _`Asking a question on discord`: https://discord.com/invite/qYxpadCgkx
-.. _`on github`: https://github.com/PyCQA/pylint/issues/new/choose
-.. _`Opening an issue`: https://github.com/PyCQA/pylint/issues/new?assignees=&labels=Needs+triage+%3Ainbox_tray%3A&template=BUG-REPORT.yml
-.. _`Making the documentation better`: https://github.com/PyCQA/pylint/issues?q=is%3Aopen+is%3Aissue+label%3A%22Documentation+%3Agreen_book%3A%22
-.. _`Making the error message better`: https://github.com/PyCQA/pylint/issues?q=is%3Aopen+is%3Aissue+project%3Apycqa%2Fpylint%2F4+
-.. _`Reproducing bugs and confirming that issues are valid`: https://github.com/PyCQA/pylint/issues?q=is%3Aopen+is%3Aissue+label%3A%22Needs+reproduction+%3Amag%3A%22%2C%22Cannot+reproduce+%F0%9F%A4%B7%22
-.. _`Investigating or debugging complicated issues`: https://github.com/PyCQA/pylint/issues?q=is%3Aopen+is%3Aissue+label%3A%22Needs+investigation+%F0%9F%94%AC%22
-.. _`Designing or specifying a solution`: https://github.com/PyCQA/pylint/issues?q=is%3Aopen+is%3Aissue+label%3A%22Needs+design+proposal+%3Alock%3A%22%2C%22Needs+specification+%3Aclosed_lock_with_key%3A%22
-.. _`Giving your opinion on ongoing discussion`: https://github.com/PyCQA/pylint/issues?q=is%3Aopen+is%3Aissue+label%3A%22Needs+decision+%3Alock%3A%22
-.. _`Fixing bugs and crashes`: https://github.com/PyCQA/pylint/issues?q=is%3Aopen+is%3Aissue+label%3A%22Bug+%3Abeetle%3A%22%2C%22Crash+%F0%9F%92%A5%22
-.. _`Fixing false positives`: https://github.com/PyCQA/pylint/issues?q=is%3Aopen+is%3Aissue+label%3A%22False+Positive+%F0%9F%A6%9F%22
-.. _`Creating new features or fixing false negatives`: https://github.com/PyCQA/pylint/issues?q=is%3Aopen+is%3Aissue+label%3A%22False+Negative+%F0%9F%A6%8B%22%2C%22Enhancement+%E2%9C%A8%22
-.. _`Reviewing pull requests`: https://github.com/PyCQA/pylint/pulls?q=is%3Aopen+is%3Apr+label%3A%22Needs+review+%F0%9F%94%8D%22
+.. _`on github`: https://github.com/pylint-dev/pylint/issues/new/choose
+.. _`Opening an issue`: https://github.com/pylint-dev/pylint/issues/new?assignees=&labels=Needs+triage+%3Ainbox_tray%3A&template=BUG-REPORT.yml
+.. _`Making the documentation better`: https://github.com/pylint-dev/pylint/issues?q=is%3Aopen+is%3Aissue+label%3A%22Documentation+%3Agreen_book%3A%22
+.. _`Making the error message better`: https://github.com/pylint-dev/pylint/issues?q=is%3Aopen+is%3Aissue+project%3Apycqa%2Fpylint%2F4+
+.. _`Reproducing bugs and confirming that issues are valid`: https://github.com/pylint-dev/pylint/issues?q=is%3Aopen+is%3Aissue+label%3A%22Needs+reproduction+%3Amag%3A%22%2C%22Cannot+reproduce+%F0%9F%A4%B7%22
+.. _`Investigating or debugging complicated issues`: https://github.com/pylint-dev/pylint/issues?q=is%3Aopen+is%3Aissue+label%3A%22Needs+investigation+%F0%9F%94%AC%22
+.. _`Designing or specifying a solution`: https://github.com/pylint-dev/pylint/issues?q=is%3Aopen+is%3Aissue+label%3A%22Needs+design+proposal+%3Alock%3A%22%2C%22Needs+specification+%3Aclosed_lock_with_key%3A%22
+.. _`Giving your opinion on ongoing discussion`: https://github.com/pylint-dev/pylint/issues?q=is%3Aopen+is%3Aissue+label%3A%22Needs+decision+%3Alock%3A%22
+.. _`Fixing bugs and crashes`: https://github.com/pylint-dev/pylint/issues?q=is%3Aopen+is%3Aissue+label%3A%22Bug+%3Abeetle%3A%22%2C%22Crash+%F0%9F%92%A5%22
+.. _`Fixing false positives`: https://github.com/pylint-dev/pylint/issues?q=is%3Aopen+is%3Aissue+label%3A%22False+Positive+%F0%9F%A6%9F%22
+.. _`Creating new features or fixing false negatives`: https://github.com/pylint-dev/pylint/issues?q=is%3Aopen+is%3Aissue+label%3A%22False+Negative+%F0%9F%A6%8B%22%2C%22Enhancement+%E2%9C%A8%22
+.. _`Reviewing pull requests`: https://github.com/pylint-dev/pylint/pulls?q=is%3Aopen+is%3Apr+label%3A%22Needs+review+%F0%9F%94%8D%22
If you are a pylint maintainer there's also:
@@ -45,10 +45,10 @@ If you are a pylint maintainer there's also:
- `Preparing the next patch release`_
- `Checking stale pull requests status`_
-.. _`Triaging issues`: https://github.com/PyCQA/pylint/issues?q=is%3Aopen+is%3Aissue+label%3A%22Needs+triage+%3Ainbox_tray%3A%22
-.. _`Labeling issues that do not have an actionable label yet`: https://github.com/PyCQA/pylint/issues?q=is%3Aopen+is%3Aissue+-label%3A%22Needs+astroid+Brain+%F0%9F%A7%A0%22+-label%3A%22Needs+astroid+update%22+-label%3A%22Needs+backport%22+-label%3A%22Needs+decision+%3Alock%3A%22+-label%3A%22Needs+investigation+%F0%9F%94%AC%22+-label%3A%22Needs+PR%22+-label%3A%22Needs+reproduction+%3Amag%3A%22+-label%3A%22Needs+review+%F0%9F%94%8D%22+-label%3A%22Needs+triage+%3Ainbox_tray%3A%22+-label%3A%22Waiting+on+author%22+-label%3A%22Work+in+progress%22+-label%3AMaintenance+sort%3Aupdated-desc+-label%3A%22Needs+specification+%3Aclosed_lock_with_key%3A%22+-label%3A%22Needs+design+proposal+%3Alock%3A%22
-.. _`Preparing the next patch release`: https://github.com/PyCQA/pylint/issues?q=is%3Aopen+is%3Aissue+label%3A%22Needs+backport%22
-.. _`Checking stale pull requests status`: https://github.com/PyCQA/pylint/pulls?q=is%3Aopen+is%3Apr+label%3A%22Work+in+progress%22%2C%22Needs+astroid+update%22%2C%22Waiting+on+author%22
+.. _`Triaging issues`: https://github.com/pylint-dev/pylint/issues?q=is%3Aopen+is%3Aissue+label%3A%22Needs+triage+%3Ainbox_tray%3A%22
+.. _`Labeling issues that do not have an actionable label yet`: https://github.com/pylint-dev/pylint/issues?q=is%3Aopen+is%3Aissue+-label%3A%22Needs+astroid+Brain+%F0%9F%A7%A0%22+-label%3A%22Needs+astroid+update%22+-label%3A%22Needs+backport%22+-label%3A%22Needs+decision+%3Alock%3A%22+-label%3A%22Needs+investigation+%F0%9F%94%AC%22+-label%3A%22Needs+PR%22+-label%3A%22Needs+reproduction+%3Amag%3A%22+-label%3A%22Needs+review+%F0%9F%94%8D%22+-label%3A%22Needs+triage+%3Ainbox_tray%3A%22+-label%3A%22Waiting+on+author%22+-label%3A%22Work+in+progress%22+-label%3AMaintenance+sort%3Aupdated-desc+-label%3A%22Needs+specification+%3Aclosed_lock_with_key%3A%22+-label%3A%22Needs+design+proposal+%3Alock%3A%22
+.. _`Preparing the next patch release`: https://github.com/pylint-dev/pylint/issues?q=is%3Aopen+is%3Aissue+label%3A%22Needs+backport%22
+.. _`Checking stale pull requests status`: https://github.com/pylint-dev/pylint/pulls?q=is%3Aopen+is%3Apr+label%3A%22Work+in+progress%22%2C%22Needs+astroid+update%22%2C%22Waiting+on+author%22
Creating a pull request
diff --git a/doc/development_guide/contributor_guide/tests/install.rst b/doc/development_guide/contributor_guide/tests/install.rst
index c150d0b91..1c669eada 100644
--- a/doc/development_guide/contributor_guide/tests/install.rst
+++ b/doc/development_guide/contributor_guide/tests/install.rst
@@ -10,7 +10,7 @@ Pylint is developed using the git_ distributed version control system.
You can clone Pylint using ::
- git clone https://github.com/PyCQA/pylint
+ git clone https://github.com/pylint-dev/pylint
Before you start testing your code, you need to install your source-code package locally.
Suppose you just cloned pylint with the previous ``git clone`` command. To set up your
diff --git a/doc/development_guide/how_tos/custom_checkers.rst b/doc/development_guide/how_tos/custom_checkers.rst
index c7b1b64f8..6ab9a9e35 100644
--- a/doc/development_guide/how_tos/custom_checkers.rst
+++ b/doc/development_guide/how_tos/custom_checkers.rst
@@ -3,11 +3,11 @@
How to Write a Checker
======================
You can find some simple examples in the distribution
-(`custom.py <https://github.com/PyCQA/pylint/blob/main/examples/custom.py>`_
+(`custom.py <https://github.com/pylint-dev/pylint/blob/main/examples/custom.py>`_
,
-`custom_raw.py <https://github.com/PyCQA/pylint/blob/main/examples/custom_raw.py>`_
+`custom_raw.py <https://github.com/pylint-dev/pylint/blob/main/examples/custom_raw.py>`_
and
-`deprecation_checker.py <https://github.com/PyCQA/pylint/blob/main/examples/deprecation_checker.py>`_).
+`deprecation_checker.py <https://github.com/pylint-dev/pylint/blob/main/examples/deprecation_checker.py>`_).
.. TODO Create custom_token.py
diff --git a/doc/exts/pylint_extensions.py b/doc/exts/pylint_extensions.py
index b1c302217..936bdbb6b 100755
--- a/doc/exts/pylint_extensions.py
+++ b/doc/exts/pylint_extensions.py
@@ -1,8 +1,8 @@
#!/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/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
"""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 fcf4f01c8..4a8575151 100755
--- a/doc/exts/pylint_features.py
+++ b/doc/exts/pylint_features.py
@@ -1,8 +1,8 @@
#!/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/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
"""Script used to generate the features file before building the actual
documentation.
diff --git a/doc/exts/pylint_messages.py b/doc/exts/pylint_messages.py
index b16f7b026..81a9bc542 100644
--- a/doc/exts/pylint_messages.py
+++ b/doc/exts/pylint_messages.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
"""Script used to generate the messages files."""
@@ -336,7 +336,7 @@ def _generate_checker_url(message: MessageData) -> str:
checker_module_rel_path = os.path.relpath(
message.checker_module_path, PYLINT_BASE_PATH
)
- return f"https://github.com/PyCQA/pylint/blob/main/{checker_module_rel_path}"
+ return f"https://github.com/pylint-dev/pylint/blob/main/{checker_module_rel_path}"
def _write_single_shared_message_page(
diff --git a/doc/exts/pylint_options.py b/doc/exts/pylint_options.py
index f402125a7..64a7eda9c 100644
--- a/doc/exts/pylint_options.py
+++ b/doc/exts/pylint_options.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
"""Script used to generate the options page."""
diff --git a/doc/test_messages_documentation.py b/doc/test_messages_documentation.py
index 80e44c4a2..058dcbe49 100644
--- a/doc/test_messages_documentation.py
+++ b/doc/test_messages_documentation.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
"""Functional tests for the code examples in the messages' documentation."""
diff --git a/doc/user_guide/installation/badge.rst b/doc/user_guide/installation/badge.rst
index 8463d40b3..3c5df9e82 100644
--- a/doc/user_guide/installation/badge.rst
+++ b/doc/user_guide/installation/badge.rst
@@ -7,16 +7,16 @@ Show your usage
You can place this badge in your README to let others know your project uses pylint.
.. image:: https://img.shields.io/badge/linting-pylint-yellowgreen
- :target: https://github.com/PyCQA/pylint
+ :target: https://github.com/pylint-dev/pylint
Use the badge in your project's README.md (or any other Markdown file)::
- [![linting: pylint](https://img.shields.io/badge/linting-pylint-yellowgreen)](https://github.com/PyCQA/pylint)
+ [![linting: pylint](https://img.shields.io/badge/linting-pylint-yellowgreen)](https://github.com/pylint-dev/pylint)
Use the badge in your project's README.rst (or any other rst file)::
.. image:: https://img.shields.io/badge/linting-pylint-yellowgreen
- :target: https://github.com/PyCQA/pylint
+ :target: https://github.com/pylint-dev/pylint
If you use GitHub Actions, and one of your CI workflows begins with "name: pylint", you
diff --git a/doc/whatsnew/2/2.10/summary.rst b/doc/whatsnew/2/2.10/summary.rst
index 6b3689643..814fd94f5 100644
--- a/doc/whatsnew/2/2.10/summary.rst
+++ b/doc/whatsnew/2/2.10/summary.rst
@@ -21,7 +21,7 @@ We're going to continue working on improving performance during 2.11. We're also
a new ``possible-forgotten-f-prefix`` check that had too much false positives at release time.
Check the `possible-forgotten-f-prefix`_ issue if you want to provide knowledge or use case :)
-.. _possible-forgotten-f-prefix: https://github.com/PyCQA/pylint/pull/4787
+.. _possible-forgotten-f-prefix: https://github.com/pylint-dev/pylint/pull/4787
New checkers
============
diff --git a/doc/whatsnew/2/2.11/summary.rst b/doc/whatsnew/2/2.11/summary.rst
index 39851b0e8..1d16bc521 100644
--- a/doc/whatsnew/2/2.11/summary.rst
+++ b/doc/whatsnew/2/2.11/summary.rst
@@ -26,7 +26,7 @@ The future ``possible-forgotten-f-prefix`` check still had too much false positi
and is delayed again. Check the `possible-forgotten-f-prefix`_ issue if you want
to provide knowledge or use case :)
-.. _possible-forgotten-f-prefix: https://github.com/PyCQA/pylint/pull/4787
+.. _possible-forgotten-f-prefix: https://github.com/pylint-dev/pylint/pull/4787
.. _pyupgrade: https://github.com/asottile/pyupgrade
.. _flynt: https://github.com/ikamensh/flynt
diff --git a/doc/whatsnew/2/2.13/summary.rst b/doc/whatsnew/2/2.13/summary.rst
index 73d377a76..5d4a17000 100644
--- a/doc/whatsnew/2/2.13/summary.rst
+++ b/doc/whatsnew/2/2.13/summary.rst
@@ -16,7 +16,7 @@ A lot of ``undefined-variables`` and ``used-before-assignment`` issues were reso
We started integrating ``pylint-error`` the documentation created by @vald-phoenix a developer from Hlyniane,
Ukraine. We hope he's doing well despite the current situation. The deployment is set up but `there's still a lot to do so we welcome any community effort
-help to review, integrate, and add good/bad examples <https://github.com/PyCQA/pylint/issues/5953>`_. This should be doable
+help to review, integrate, and add good/bad examples <https://github.com/pylint-dev/pylint/issues/5953>`_. This should be doable
without any pylint or astroid knowledge, so this is the perfect entrypoint if you want to contribute
to pylint without investing any time learning the internals.
diff --git a/doc/whatsnew/2/2.14/summary.rst b/doc/whatsnew/2/2.14/summary.rst
index 9ef0f04d9..7101c69b6 100644
--- a/doc/whatsnew/2/2.14/summary.rst
+++ b/doc/whatsnew/2/2.14/summary.rst
@@ -23,7 +23,7 @@ maintainer that depends on pylint, please verify that you're ready for pylint 3.
by activating deprecation warnings.
We continued the integration of ``pylint-error`` and are now at 33%!. We still welcome any community effort
-to help review, integrate, and add good/bad examples <https://github.com/PyCQA/pylint/issues/5953>`_. This should be doable
+to help review, integrate, and add good/bad examples <https://github.com/pylint-dev/pylint/issues/5953>`_. This should be doable
without any ``pylint`` or ``astroid`` knowledge, so this is the perfect entrypoint if you want
to contribute to ``pylint`` or open source without any experience with our code!
diff --git a/doc/whatsnew/2/2.15/index.rst b/doc/whatsnew/2/2.15/index.rst
index aab05caef..91e70e341 100644
--- a/doc/whatsnew/2/2.15/index.rst
+++ b/doc/whatsnew/2/2.15/index.rst
@@ -18,7 +18,7 @@ We improved ``pylint``'s handling of namespace packages. More packages should
be linted without resorting to using the ``--recursive=y`` option.
We still welcome any community effort to help review, integrate, and add good/bad examples to the doc for
-<https://github.com/PyCQA/pylint/issues/5953>`_. This should be doable without any ``pylint`` or ``astroid``
+<https://github.com/pylint-dev/pylint/issues/5953>`_. This should be doable without any ``pylint`` or ``astroid``
knowledge, so this is the perfect entrypoint if you want to contribute to ``pylint`` or open source without
any experience with our code!
@@ -39,23 +39,23 @@ False Positives Fixed
- Fix ``use-sequence-for-iteration`` when unpacking a set with ``*``.
- Closes #5788 (`#5788 <https://github.com/PyCQA/pylint/issues/5788>`_)
+ Closes #5788 (`#5788 <https://github.com/pylint-dev/pylint/issues/5788>`_)
- Fix false positive ``assigning-non-slot`` when a class attribute is
re-assigned.
- Closes #6001 (`#6001 <https://github.com/PyCQA/pylint/issues/6001>`_)
+ Closes #6001 (`#6001 <https://github.com/pylint-dev/pylint/issues/6001>`_)
- Fixes ``used-before-assignment`` false positive when the walrus operator
is used in a ternary operator.
- Closes #7779 (`#7779 <https://github.com/PyCQA/pylint/issues/7779>`_)
+ Closes #7779 (`#7779 <https://github.com/pylint-dev/pylint/issues/7779>`_)
- Prevent ``used-before-assignment`` when imports guarded by ``if
TYPE_CHECKING``
are guarded again when used.
- Closes #7979 (`#7979 <https://github.com/PyCQA/pylint/issues/7979>`_)
+ Closes #7979 (`#7979 <https://github.com/pylint-dev/pylint/issues/7979>`_)
@@ -64,7 +64,7 @@ Other Bug Fixes
- Using custom braces in ``msg-template`` will now work properly.
- Closes #5636 (`#5636 <https://github.com/PyCQA/pylint/issues/5636>`_)
+ Closes #5636 (`#5636 <https://github.com/pylint-dev/pylint/issues/5636>`_)
What's new in Pylint 2.15.9?
@@ -78,7 +78,7 @@ False Positives Fixed
- Fix false-positive for ``used-before-assignment`` in pattern matching
with a guard.
- Closes #5327 (`#5327 <https://github.com/PyCQA/pylint/issues/5327>`_)
+ Closes #5327 (`#5327 <https://github.com/pylint-dev/pylint/issues/5327>`_)
@@ -88,17 +88,17 @@ Other Bug Fixes
- Pylint will no longer deadlock if a parallel job is killed but fail
immediately instead.
- Closes #3899 (`#3899 <https://github.com/PyCQA/pylint/issues/3899>`_)
+ Closes #3899 (`#3899 <https://github.com/pylint-dev/pylint/issues/3899>`_)
- When pylint exit due to bad arguments being provided the exit code will now
be the expected ``32``.
- Refs #7931 (`#7931 <https://github.com/PyCQA/pylint/issues/7931>`_)
+ Refs #7931 (`#7931 <https://github.com/pylint-dev/pylint/issues/7931>`_)
- Fixes a ``ModuleNotFound`` exception when running pylint on a Django project
with the ``pylint_django`` plugin enabled.
- Closes #7938 (`#7938 <https://github.com/PyCQA/pylint/issues/7938>`_)
+ Closes #7938 (`#7938 <https://github.com/pylint-dev/pylint/issues/7938>`_)
What's new in Pylint 2.15.8?
@@ -112,26 +112,26 @@ False Positives Fixed
- Document a known false positive for ``useless-suppression`` when disabling
``line-too-long`` in a module with only comments and no code.
- Closes #3368 (`#3368 <https://github.com/PyCQA/pylint/issues/3368>`_)
+ Closes #3368 (`#3368 <https://github.com/pylint-dev/pylint/issues/3368>`_)
- Fix ``logging-fstring-interpolation`` false positive raised when logging and
f-string with ``%s`` formatting.
- Closes #4984 (`#4984 <https://github.com/PyCQA/pylint/issues/4984>`_)
+ Closes #4984 (`#4984 <https://github.com/pylint-dev/pylint/issues/4984>`_)
- Fixes false positive ``abstract-method`` on Protocol classes.
- Closes #7209 (`#7209 <https://github.com/PyCQA/pylint/issues/7209>`_)
+ Closes #7209 (`#7209 <https://github.com/pylint-dev/pylint/issues/7209>`_)
- Fix ``missing-param-doc`` false positive when function parameter has an
escaped underscore.
- Closes #7827 (`#7827 <https://github.com/PyCQA/pylint/issues/7827>`_)
+ Closes #7827 (`#7827 <https://github.com/pylint-dev/pylint/issues/7827>`_)
- ``multiple-statements`` no longer triggers for function stubs using inlined
``...``.
- Closes #7860 (`#7860 <https://github.com/PyCQA/pylint/issues/7860>`_)
+ Closes #7860 (`#7860 <https://github.com/pylint-dev/pylint/issues/7860>`_)
What's new in Pylint 2.15.7?
@@ -145,12 +145,12 @@ False Positives Fixed
- Fix ``deprecated-method`` false positive when alias for method is similar to
name of deprecated method.
- Closes #5886 (`#5886 <https://github.com/PyCQA/pylint/issues/5886>`_)
+ Closes #5886 (`#5886 <https://github.com/pylint-dev/pylint/issues/5886>`_)
- Fix a false positive for ``used-before-assignment`` for imports guarded by
``typing.TYPE_CHECKING`` later used in variable annotations.
- Closes #7609 (`#7609 <https://github.com/PyCQA/pylint/issues/7609>`_)
+ Closes #7609 (`#7609 <https://github.com/pylint-dev/pylint/issues/7609>`_)
@@ -161,12 +161,12 @@ Other Bug Fixes
should
be the same whether a file is given/discovered multiple times or not.
- Closes #6242, #4053 (`#6242 <https://github.com/PyCQA/pylint/issues/6242>`_)
+ Closes #6242, #4053 (`#6242 <https://github.com/pylint-dev/pylint/issues/6242>`_)
- Fixes a crash in ``stop-iteration-return`` when the ``next`` builtin is
called without arguments.
- Closes #7828 (`#7828 <https://github.com/PyCQA/pylint/issues/7828>`_)
+ Closes #7828 (`#7828 <https://github.com/pylint-dev/pylint/issues/7828>`_)
What's new in Pylint 2.15.6?
@@ -180,17 +180,17 @@ False Positives Fixed
- Fix false positive for ``unhashable-member`` when subclassing ``dict`` and
using the subclass as a dictionary key.
- Closes #7501 (`#7501 <https://github.com/PyCQA/pylint/issues/7501>`_)
+ Closes #7501 (`#7501 <https://github.com/pylint-dev/pylint/issues/7501>`_)
- ``unnecessary-list-index-lookup`` will not be wrongly emitted if
``enumerate`` is called with ``start``.
- Closes #7682 (`#7682 <https://github.com/PyCQA/pylint/issues/7682>`_)
+ Closes #7682 (`#7682 <https://github.com/pylint-dev/pylint/issues/7682>`_)
- Don't warn about ``stop-iteration-return`` when using ``next()`` over
``itertools.cycle``.
- Closes #7765 (`#7765 <https://github.com/PyCQA/pylint/issues/7765>`_)
+ Closes #7765 (`#7765 <https://github.com/pylint-dev/pylint/issues/7765>`_)
@@ -200,21 +200,21 @@ Other Bug Fixes
- Messages sent to reporter are now copied so a reporter cannot modify the
message sent to other reporters.
- Closes #7214 (`#7214 <https://github.com/PyCQA/pylint/issues/7214>`_)
+ Closes #7214 (`#7214 <https://github.com/pylint-dev/pylint/issues/7214>`_)
- Fixes edge case of custom method named ``next`` raised an astroid error.
- Closes #7610 (`#7610 <https://github.com/PyCQA/pylint/issues/7610>`_)
+ Closes #7610 (`#7610 <https://github.com/pylint-dev/pylint/issues/7610>`_)
- Fix crash that happened when parsing files with unexpected encoding starting
with 'utf' like ``utf13``.
- Closes #7661 (`#7661 <https://github.com/PyCQA/pylint/issues/7661>`_)
+ Closes #7661 (`#7661 <https://github.com/pylint-dev/pylint/issues/7661>`_)
- Fix a crash when a child class with an ``__init__`` method inherits from a
parent class with an ``__init__`` class attribute.
- Closes #7742 (`#7742 <https://github.com/PyCQA/pylint/issues/7742>`_)
+ Closes #7742 (`#7742 <https://github.com/pylint-dev/pylint/issues/7742>`_)
What's new in Pylint 2.15.5?
@@ -228,7 +228,7 @@ False Positives Fixed
- Fix a false positive for ``simplify-boolean-expression`` when multiple values
are inferred for a constant.
- Closes #7626 (`#7626 <https://github.com/PyCQA/pylint/issues/7626>`_)
+ Closes #7626 (`#7626 <https://github.com/pylint-dev/pylint/issues/7626>`_)
@@ -238,7 +238,7 @@ Other Bug Fixes
- Remove ``__index__`` dunder method call from ``unnecessary-dunder-call``
check.
- Closes #6795 (`#6795 <https://github.com/PyCQA/pylint/issues/6795>`_)
+ Closes #6795 (`#6795 <https://github.com/pylint-dev/pylint/issues/6795>`_)
- Fixed a multi-processing crash that prevents using any more than 1 thread on
MacOS.
@@ -249,7 +249,7 @@ Other Bug Fixes
when
attempting to serialise the linter object for multi-processing use.
- Closes #7635. (`#7635 <https://github.com/PyCQA/pylint/issues/7635>`_)
+ Closes #7635. (`#7635 <https://github.com/pylint-dev/pylint/issues/7635>`_)
@@ -258,11 +258,11 @@ Other Changes
- Add a keyword-only ``compare_constants`` argument to ``safe_infer``.
- Refs #7626 (`#7626 <https://github.com/PyCQA/pylint/issues/7626>`_)
+ Refs #7626 (`#7626 <https://github.com/pylint-dev/pylint/issues/7626>`_)
- Sort ``--generated-rcfile`` output.
- Refs #7655 (`#7655 <https://github.com/PyCQA/pylint/issues/7655>`_)
+ Refs #7655 (`#7655 <https://github.com/pylint-dev/pylint/issues/7655>`_)
What's new in Pylint 2.15.4?
@@ -277,7 +277,7 @@ False Positives Fixed
``__anext__``. Also
only emit the warning when ``py-version`` >= 3.10.
- Closes #7529 (`#7529 <https://github.com/PyCQA/pylint/issues/7529>`_)
+ Closes #7529 (`#7529 <https://github.com/pylint-dev/pylint/issues/7529>`_)
@@ -286,39 +286,39 @@ Other Bug Fixes
- Fix bug in detecting ``unused-variable`` when iterating on variable.
- Closes #3044 (`#3044 <https://github.com/PyCQA/pylint/issues/3044>`_)
+ Closes #3044 (`#3044 <https://github.com/pylint-dev/pylint/issues/3044>`_)
- Fixed handling of ``--`` as separator between positional arguments and flags.
This was not actually fixed in 2.14.5.
Closes #7003, Refs #7096 (`#7003
- <https://github.com/PyCQA/pylint/issues/7003>`_)
+ <https://github.com/pylint-dev/pylint/issues/7003>`_)
- Report ``no-self-argument`` rather than ``no-method-argument`` for methods
with variadic arguments.
- Closes #7507 (`#7507 <https://github.com/PyCQA/pylint/issues/7507>`_)
+ Closes #7507 (`#7507 <https://github.com/pylint-dev/pylint/issues/7507>`_)
- Fixed an issue where ``syntax-error`` couldn't be raised on files with
invalid encodings.
- Closes #7522 (`#7522 <https://github.com/PyCQA/pylint/issues/7522>`_)
+ Closes #7522 (`#7522 <https://github.com/pylint-dev/pylint/issues/7522>`_)
- Fix false positive for ``redefined-outer-name`` when aliasing ``typing``
e.g. as ``t`` and guarding imports under ``t.TYPE_CHECKING``.
- Closes #7524 (`#7524 <https://github.com/PyCQA/pylint/issues/7524>`_)
+ Closes #7524 (`#7524 <https://github.com/pylint-dev/pylint/issues/7524>`_)
- Fixed a crash of the ``modified_iterating`` checker when iterating on a set
defined as a class attribute.
- Closes #7528 (`#7528 <https://github.com/PyCQA/pylint/issues/7528>`_)
+ Closes #7528 (`#7528 <https://github.com/pylint-dev/pylint/issues/7528>`_)
- Fix bug in scanning of names inside arguments to ``typing.Literal``.
See https://peps.python.org/pep-0586/#literals-enums-and-forward-references
for details.
- Refs #3299 (`#3299 <https://github.com/PyCQA/pylint/issues/3299>`_)
+ Refs #3299 (`#3299 <https://github.com/pylint-dev/pylint/issues/3299>`_)
Other Changes
@@ -327,7 +327,7 @@ Other Changes
- Add method name to the error messages of ``no-method-argument`` and
``no-self-argument``.
- Closes #7507 (`#7507 <https://github.com/PyCQA/pylint/issues/7507>`_)
+ Closes #7507 (`#7507 <https://github.com/pylint-dev/pylint/issues/7507>`_)
What's new in Pylint 2.15.3?
@@ -337,23 +337,23 @@ Release date: 2022-09-19
- Fixed a crash in the ``unhashable-member`` checker when using a ``lambda`` as a dict key.
- Closes #7453 (`#7453 <https://github.com/PyCQA/pylint/issues/7453>`_)
+ Closes #7453 (`#7453 <https://github.com/pylint-dev/pylint/issues/7453>`_)
- Fix a crash in the ``modified-iterating-dict`` checker involving instance attributes.
- Closes #7461 (`#7461 <https://github.com/PyCQA/pylint/issues/7461>`_)
+ Closes #7461 (`#7461 <https://github.com/pylint-dev/pylint/issues/7461>`_)
- ``invalid-class-object`` does not crash anymore when ``__class__`` is assigned alongside another variable.
- Closes #7467 (`#7467 <https://github.com/PyCQA/pylint/issues/7467>`_)
+ Closes #7467 (`#7467 <https://github.com/pylint-dev/pylint/issues/7467>`_)
- Fix false positive for ``global-variable-not-assigned`` when a global variable is re-assigned via an ``ImportFrom`` node.
- Closes #4809 (`#4809 <https://github.com/PyCQA/pylint/issues/4809>`_)
+ Closes #4809 (`#4809 <https://github.com/pylint-dev/pylint/issues/4809>`_)
- Fix false positive for ``undefined-loop-variable`` in ``for-else`` loops that use a function
having a return type annotation of ``NoReturn`` or ``Never``.
- Closes #7311 (`#7311 <https://github.com/PyCQA/pylint/issues/7311>`_)
+ Closes #7311 (`#7311 <https://github.com/pylint-dev/pylint/issues/7311>`_)
- ``--help-msg`` now accepts a comma-separated list of message IDs again.
- Closes #7471 (`#7471 <https://github.com/PyCQA/pylint/issues/7471>`_)
+ Closes #7471 (`#7471 <https://github.com/pylint-dev/pylint/issues/7471>`_)
What's new in Pylint 2.15.2?
----------------------------
@@ -366,42 +366,42 @@ Release date: 2022-09-07
change, it would silently fail to register the plugin for use, but would load
any configuration, which could have unintended effects.
- Fixes part of #7264. (`#7264 <https://github.com/PyCQA/pylint/issues/7264>`_)
+ Fixes part of #7264. (`#7264 <https://github.com/pylint-dev/pylint/issues/7264>`_)
- Fix ``used-before-assignment`` for functions/classes defined in type checking guard.
- Closes #7368 (`#7368 <https://github.com/PyCQA/pylint/issues/7368>`_)
+ Closes #7368 (`#7368 <https://github.com/pylint-dev/pylint/issues/7368>`_)
- Update ``modified_iterating`` checker to fix a crash with ``for`` loops on empty list.
- Closes #7380 (`#7380 <https://github.com/PyCQA/pylint/issues/7380>`_)
+ Closes #7380 (`#7380 <https://github.com/pylint-dev/pylint/issues/7380>`_)
- The ``docparams`` extension now considers typing in Numpy style docstrings
as "documentation" for the ``missing-param-doc`` message.
- Refs #7398 (`#7398 <https://github.com/PyCQA/pylint/issues/7398>`_)
+ Refs #7398 (`#7398 <https://github.com/pylint-dev/pylint/issues/7398>`_)
- Fix false positive for ``unused-variable`` and ``unused-import`` when a name is only used in a string literal type annotation.
- Closes #3299 (`#3299 <https://github.com/PyCQA/pylint/issues/3299>`_)
+ Closes #3299 (`#3299 <https://github.com/pylint-dev/pylint/issues/3299>`_)
- Fix false positive for ``too-many-function-args`` when a function call is assigned to a class attribute inside the class where the function is defined.
- Closes #6592 (`#6592 <https://github.com/PyCQA/pylint/issues/6592>`_)
+ Closes #6592 (`#6592 <https://github.com/pylint-dev/pylint/issues/6592>`_)
- Fix ``used-before-assignment`` for functions/classes defined in type checking guard.
- Closes #7368 (`#7368 <https://github.com/PyCQA/pylint/issues/7368>`_)
+ Closes #7368 (`#7368 <https://github.com/pylint-dev/pylint/issues/7368>`_)
- Fix ignored files being linted when passed on stdin.
- Closes #4354 (`#4354 <https://github.com/PyCQA/pylint/issues/4354>`_)
+ Closes #4354 (`#4354 <https://github.com/pylint-dev/pylint/issues/4354>`_)
- ``missing-return-doc``, ``missing-raises-doc`` and ``missing-yields-doc`` now respect
the ``no-docstring-rgx`` option.
- Closes #4743 (`#4743 <https://github.com/PyCQA/pylint/issues/4743>`_)
+ Closes #4743 (`#4743 <https://github.com/pylint-dev/pylint/issues/4743>`_)
- Don't crash on ``OSError`` in config file discovery.
- Closes #7169 (`#7169 <https://github.com/PyCQA/pylint/issues/7169>`_)
+ Closes #7169 (`#7169 <https://github.com/pylint-dev/pylint/issues/7169>`_)
- ``disable-next`` is now correctly scoped to only the succeeding line.
- Closes #7401 (`#7401 <https://github.com/PyCQA/pylint/issues/7401>`_)
+ Closes #7401 (`#7401 <https://github.com/pylint-dev/pylint/issues/7401>`_)
- Update ``modified_iterating`` checker to fix a crash with ``for`` loops on empty list.
- Closes #7380 (`#7380 <https://github.com/PyCQA/pylint/issues/7380>`_)
+ Closes #7380 (`#7380 <https://github.com/pylint-dev/pylint/issues/7380>`_)
What's new in Pylint 2.15.1?
----------------------------
@@ -418,7 +418,7 @@ New Checks
- Added new checker ``missing-timeout`` to warn of default timeout values that could cause
a program to be hanging indefinitely.
- Refs #6780 (`#6780 <https://github.com/PyCQA/pylint/issues/6780>`_)
+ Refs #6780 (`#6780 <https://github.com/pylint-dev/pylint/issues/6780>`_)
False Positives Fixed
@@ -426,39 +426,39 @@ False Positives Fixed
- Don't report ``super-init-not-called`` for abstract ``__init__`` methods.
- Closes #3975 (`#3975 <https://github.com/PyCQA/pylint/issues/3975>`_)
+ Closes #3975 (`#3975 <https://github.com/pylint-dev/pylint/issues/3975>`_)
- Don't report ``unsupported-binary-operation`` on Python <= 3.9 when using the ``|`` operator
with types, if one has a metaclass that overloads ``__or__`` or ``__ror__`` as appropriate.
- Closes #4951 (`#4951 <https://github.com/PyCQA/pylint/issues/4951>`_)
+ Closes #4951 (`#4951 <https://github.com/pylint-dev/pylint/issues/4951>`_)
- Don't report ``no-value-for-parameter`` for dataclasses fields annotated with ``KW_ONLY``.
- Closes #5767 (`#5767 <https://github.com/PyCQA/pylint/issues/5767>`_)
+ Closes #5767 (`#5767 <https://github.com/pylint-dev/pylint/issues/5767>`_)
- Fixed inference of ``Enums`` when they are imported under an alias.
- Closes #5776 (`#5776 <https://github.com/PyCQA/pylint/issues/5776>`_)
+ Closes #5776 (`#5776 <https://github.com/pylint-dev/pylint/issues/5776>`_)
- Prevent false positives when accessing ``PurePath.parents`` by index (not slice) on Python 3.10+.
- Closes #5832 (`#5832 <https://github.com/PyCQA/pylint/issues/5832>`_)
+ Closes #5832 (`#5832 <https://github.com/pylint-dev/pylint/issues/5832>`_)
- ``unnecessary-list-index-lookup`` is now more conservative to avoid potential false positives.
- Closes #6896 (`#6896 <https://github.com/PyCQA/pylint/issues/6896>`_)
+ Closes #6896 (`#6896 <https://github.com/pylint-dev/pylint/issues/6896>`_)
- Fix double emitting ``trailing-whitespace`` for multi-line docstrings.
- Closes #6936 (`#6936 <https://github.com/PyCQA/pylint/issues/6936>`_)
+ Closes #6936 (`#6936 <https://github.com/pylint-dev/pylint/issues/6936>`_)
- ``import-error`` now correctly checks for ``contextlib.suppress`` guards on import statements.
- Closes #7270 (`#7270 <https://github.com/PyCQA/pylint/issues/7270>`_)
+ Closes #7270 (`#7270 <https://github.com/pylint-dev/pylint/issues/7270>`_)
- Fix false positive for `no-self-argument`/`no-method-argument` when a staticmethod is applied to a function but uses a different name.
- Closes #7300 (`#7300 <https://github.com/PyCQA/pylint/issues/7300>`_)
+ Closes #7300 (`#7300 <https://github.com/pylint-dev/pylint/issues/7300>`_)
- Fix `undefined-loop-variable` with `break` and `continue` statements in `else` blocks.
- Refs #7311 (`#7311 <https://github.com/PyCQA/pylint/issues/7311>`_)
+ Refs #7311 (`#7311 <https://github.com/pylint-dev/pylint/issues/7311>`_)
- Improve default TypeVar name regex. Disallow names prefixed with ``T``.
E.g. use ``AnyStrT`` instead of ``TAnyStr``.
- Refs #7322 (`#7322 <https://github.com/PyCQA/pylint/issues/7322>`_`)
+ Refs #7322 (`#7322 <https://github.com/pylint-dev/pylint/issues/7322>`_`)
False Negatives Fixed
@@ -466,32 +466,32 @@ False Negatives Fixed
- Emit ``used-before-assignment`` when relying on a name that is reimported later in a function.
- Closes #4624 (`#4624 <https://github.com/PyCQA/pylint/issues/4624>`_)
+ Closes #4624 (`#4624 <https://github.com/pylint-dev/pylint/issues/4624>`_)
- Emit ``used-before-assignment`` for self-referencing named expressions (``:=``) lacking
prior assignments.
- Closes #5653 (`#5653 <https://github.com/PyCQA/pylint/issues/5653>`_)
+ Closes #5653 (`#5653 <https://github.com/pylint-dev/pylint/issues/5653>`_)
- Emit ``used-before-assignment`` for self-referencing assignments under if conditions.
- Closes #6643 (`#6643 <https://github.com/PyCQA/pylint/issues/6643>`_)
+ Closes #6643 (`#6643 <https://github.com/pylint-dev/pylint/issues/6643>`_)
- Emit ``modified-iterating-list`` and analogous messages for dicts and sets when iterating
literals, or when using the ``del`` keyword.
- Closes #6648 (`#6648 <https://github.com/PyCQA/pylint/issues/6648>`_)
+ Closes #6648 (`#6648 <https://github.com/pylint-dev/pylint/issues/6648>`_)
- Emit ``used-before-assignment`` when calling nested functions before assignment.
- Closes #6812 (`#6812 <https://github.com/PyCQA/pylint/issues/6812>`_)
+ Closes #6812 (`#6812 <https://github.com/pylint-dev/pylint/issues/6812>`_)
- Emit ``nonlocal-without-binding`` when a nonlocal name has been assigned at a later point in the same scope.
- Closes #6883 (`#6883 <https://github.com/PyCQA/pylint/issues/6883>`_)
+ Closes #6883 (`#6883 <https://github.com/pylint-dev/pylint/issues/6883>`_)
- Emit ``using-constant-test`` when testing the truth value of a variable or call result
holding a generator.
- Closes #6909 (`#6909 <https://github.com/PyCQA/pylint/issues/6909>`_)
+ Closes #6909 (`#6909 <https://github.com/pylint-dev/pylint/issues/6909>`_)
- Rename ``unhashable-dict-key`` to ``unhashable-member`` and emit when creating sets and dicts,
not just when accessing dicts.
- Closes #7034, Closes #7055 (`#7034 <https://github.com/PyCQA/pylint/issues/7034>`_)
+ Closes #7034, Closes #7055 (`#7034 <https://github.com/pylint-dev/pylint/issues/7034>`_)
Other Bug Fixes
@@ -499,30 +499,30 @@ Other Bug Fixes
- Fix a failure to lint packages with ``__init__.py`` contained in directories lacking ``__init__.py``.
- Closes #1667 (`#1667 <https://github.com/PyCQA/pylint/issues/1667>`_)
+ Closes #1667 (`#1667 <https://github.com/pylint-dev/pylint/issues/1667>`_)
- Fixed a syntax-error crash that was not handled properly when the declared encoding of a file
was ``utf-9``.
- Closes #3860 (`#3860 <https://github.com/PyCQA/pylint/issues/3860>`_)
+ Closes #3860 (`#3860 <https://github.com/pylint-dev/pylint/issues/3860>`_)
- Fix a crash in the ``not-callable`` check when there is ambiguity whether an instance is being incorrectly provided to ``__new__()``.
- Closes #7109 (`#7109 <https://github.com/PyCQA/pylint/issues/7109>`_)
+ Closes #7109 (`#7109 <https://github.com/pylint-dev/pylint/issues/7109>`_)
- Fix crash when regex option raises a `re.error` exception.
- Closes #7202 (`#7202 <https://github.com/PyCQA/pylint/issues/7202>`_)
+ Closes #7202 (`#7202 <https://github.com/pylint-dev/pylint/issues/7202>`_)
- Fix `undefined-loop-variable` from walrus in comprehension test.
- Closes #7222 (`#7222 <https://github.com/PyCQA/pylint/issues/7222>`_)
+ Closes #7222 (`#7222 <https://github.com/pylint-dev/pylint/issues/7222>`_)
- Check for `<cwd>` before removing first item from `sys.path` in `modify_sys_path`.
- Closes #7231 (`#7231 <https://github.com/PyCQA/pylint/issues/7231>`_)
+ Closes #7231 (`#7231 <https://github.com/pylint-dev/pylint/issues/7231>`_)
- Fix sys.path pollution in parallel mode.
- Closes #7246 (`#7246 <https://github.com/PyCQA/pylint/issues/7246>`_)
+ Closes #7246 (`#7246 <https://github.com/pylint-dev/pylint/issues/7246>`_)
- Prevent `useless-parent-delegation` for delegating to a builtin
written in C (e.g. `Exception.__init__`) with non-self arguments.
- Closes #7319 (`#7319 <https://github.com/PyCQA/pylint/issues/7319>`_)
+ Closes #7319 (`#7319 <https://github.com/pylint-dev/pylint/issues/7319>`_)
Other Changes
@@ -530,23 +530,23 @@ Other Changes
- ``bad-exception-context`` has been renamed to ``bad-exception-cause`` as it is about the cause and not the context.
- Closes #3694 (`#3694 <https://github.com/PyCQA/pylint/issues/3694>`_)
+ Closes #3694 (`#3694 <https://github.com/pylint-dev/pylint/issues/3694>`_)
- The message for ``literal-comparison`` is now more explicit about the problem and the
solution.
- Closes #5237 (`#5237 <https://github.com/PyCQA/pylint/issues/5237>`_)
+ Closes #5237 (`#5237 <https://github.com/pylint-dev/pylint/issues/5237>`_)
- ``useless-super-delegation`` has been renamed to ``useless-parent-delegation`` in order to be more generic.
- Closes #6953 (`#6953 <https://github.com/PyCQA/pylint/issues/6953>`_)
+ Closes #6953 (`#6953 <https://github.com/pylint-dev/pylint/issues/6953>`_)
- Pylint now uses ``towncrier`` for changelog generation.
- Refs #6974 (`#6974 <https://github.com/PyCQA/pylint/issues/6974>`_)
+ Refs #6974 (`#6974 <https://github.com/pylint-dev/pylint/issues/6974>`_)
- Update ``astroid`` to 2.12.
- Refs #7153 (`#7153 <https://github.com/PyCQA/pylint/issues/7153>`_)
+ Refs #7153 (`#7153 <https://github.com/pylint-dev/pylint/issues/7153>`_)
- Fix crash when a type-annotated `__slots__` with no value is declared.
- Closes #7280 (`#7280 <https://github.com/PyCQA/pylint/issues/7280>`_)
+ Closes #7280 (`#7280 <https://github.com/pylint-dev/pylint/issues/7280>`_)
Internal Changes
@@ -556,17 +556,17 @@ Internal Changes
output was impossible to parse. Instead of raising an error we raise a warning message and
let the functional test fail with a default value.
- Refs #6891 (`#6891 <https://github.com/PyCQA/pylint/issues/6891>`_)
+ Refs #6891 (`#6891 <https://github.com/pylint-dev/pylint/issues/6891>`_)
- ``pylint.testutils.primer`` is now a private API.
- Refs #6905 (`#6905 <https://github.com/PyCQA/pylint/issues/6905>`_)
+ Refs #6905 (`#6905 <https://github.com/pylint-dev/pylint/issues/6905>`_)
- We changed the way we handle the changelog internally by using towncrier.
If you're a contributor you won't have to fix merge conflicts in the
changelog anymore.
- Closes #6974 (`#6974 <https://github.com/PyCQA/pylint/issues/6974>`_)
+ Closes #6974 (`#6974 <https://github.com/pylint-dev/pylint/issues/6974>`_)
- Pylint is now using Scorecards to implement security recommendations from the
`OpenSSF <https://openssf.org/>`_. This is done in order to secure our supply chains using a combination
of automated tooling and best practices, most of which were already implemented before.
- Refs #7267 (`#7267 <https://github.com/PyCQA/pylint/issues/7267>`_)
+ Refs #7267 (`#7267 <https://github.com/pylint-dev/pylint/issues/7267>`_)
diff --git a/doc/whatsnew/2/2.16/index.rst b/doc/whatsnew/2/2.16/index.rst
index 605b9b18b..3a9731ce3 100644
--- a/doc/whatsnew/2/2.16/index.rst
+++ b/doc/whatsnew/2/2.16/index.rst
@@ -24,7 +24,7 @@ If you want to benefit from all the new checks load the following plugins::
pylint.extensions.magic_value,
We still welcome any community effort to help review, integrate, and add good/bad examples to the doc for
-<https://github.com/PyCQA/pylint/issues/5953>`_. This should be doable without any ``pylint`` or ``astroid``
+<https://github.com/pylint-dev/pylint/issues/5953>`_. This should be doable without any ``pylint`` or ``astroid``
knowledge, so this is the perfect entrypoint if you want to contribute to ``pylint`` or open source without
any experience with our code!
@@ -43,7 +43,7 @@ False Positives Fixed
- Fix false positive for isinstance-second-argument-not-valid-type with union
types.
- Closes #8205 (`#8205 <https://github.com/PyCQA/pylint/issues/8205>`_)
+ Closes #8205 (`#8205 <https://github.com/pylint-dev/pylint/issues/8205>`_)
What's new in Pylint 2.16.3?
@@ -57,7 +57,7 @@ False Positives Fixed
- Fix false positive for ``wrong-spelling-in-comment`` with class names in a
python 2 type comment.
- Closes #8370 (`#8370 <https://github.com/PyCQA/pylint/issues/8370>`_)
+ Closes #8370 (`#8370 <https://github.com/pylint-dev/pylint/issues/8370>`_)
@@ -67,7 +67,7 @@ Other Bug Fixes
- Prevent emitting ``invalid-name`` for the line on which a ``global``
statement is declared.
- Closes #8307 (`#8307 <https://github.com/PyCQA/pylint/issues/8307>`_)
+ Closes #8307 (`#8307 <https://github.com/pylint-dev/pylint/issues/8307>`_)
What's new in Pylint 2.16.2?
@@ -80,7 +80,7 @@ New Features
- Add `--version` option to `pyreverse`.
- Refs #7851 (`#7851 <https://github.com/PyCQA/pylint/issues/7851>`_)
+ Refs #7851 (`#7851 <https://github.com/pylint-dev/pylint/issues/7851>`_)
@@ -90,12 +90,12 @@ False Positives Fixed
- Fix false positive for ``used-before-assignment`` when
``typing.TYPE_CHECKING`` is used with if/elif/else blocks.
- Closes #7574 (`#7574 <https://github.com/PyCQA/pylint/issues/7574>`_)
+ Closes #7574 (`#7574 <https://github.com/pylint-dev/pylint/issues/7574>`_)
- Fix false positive for ``used-before-assignment`` for named expressions
appearing after the first element in a list, tuple, or set.
- Closes #8252 (`#8252 <https://github.com/PyCQA/pylint/issues/8252>`_)
+ Closes #8252 (`#8252 <https://github.com/pylint-dev/pylint/issues/8252>`_)
@@ -105,23 +105,23 @@ Other Bug Fixes
- Fix ``used-before-assignment`` false positive when the walrus operator
is used with a ternary operator in dictionary key/value initialization.
- Closes #8125 (`#8125 <https://github.com/PyCQA/pylint/issues/8125>`_)
+ Closes #8125 (`#8125 <https://github.com/pylint-dev/pylint/issues/8125>`_)
- Fix ``no-name-in-module`` false positive raised when a package defines a
variable with the
same name as one of its submodules.
- Closes #8148 (`#8148 <https://github.com/PyCQA/pylint/issues/8148>`_)
+ Closes #8148 (`#8148 <https://github.com/pylint-dev/pylint/issues/8148>`_)
- Fix ``nested-min-max`` suggestion message to indicate it's possible to splat
iterable objects.
- Closes #8168 (`#8168 <https://github.com/PyCQA/pylint/issues/8168>`_)
+ Closes #8168 (`#8168 <https://github.com/pylint-dev/pylint/issues/8168>`_)
- Fix a crash happening when a class attribute was negated in the start
argument of an enumerate.
- Closes #8207 (`#8207 <https://github.com/PyCQA/pylint/issues/8207>`_)
+ Closes #8207 (`#8207 <https://github.com/pylint-dev/pylint/issues/8207>`_)
What's new in Pylint 2.16.1?
@@ -135,7 +135,7 @@ Other Bug Fixes
- Fix a crash happening for python interpreter < 3.9 following a failed typing
update.
- Closes #8161 (`#8161 <https://github.com/PyCQA/pylint/issues/8161>`_)
+ Closes #8161 (`#8161 <https://github.com/pylint-dev/pylint/issues/8161>`_)
What's new in Pylint 2.16.0?
@@ -156,7 +156,7 @@ Changes requiring user actions
will now have to add ``accept-no-raise-doc=no`` in your configuration to keep
the same behavior.
- Closes #7208 (`#7208 <https://github.com/PyCQA/pylint/issues/7208>`_)
+ Closes #7208 (`#7208 <https://github.com/pylint-dev/pylint/issues/7208>`_)
@@ -167,26 +167,26 @@ New Features
``--output-format=no-header``, it will not include the module name in the
output.
- Closes #5362 (`#5362 <https://github.com/PyCQA/pylint/issues/5362>`_)
+ Closes #5362 (`#5362 <https://github.com/pylint-dev/pylint/issues/5362>`_)
- Added configuration option ``clear-cache-post-run`` to support server-like
usage.
Use this flag if you expect the linted files to be altered between runs.
- Refs #5401 (`#5401 <https://github.com/PyCQA/pylint/issues/5401>`_)
+ Refs #5401 (`#5401 <https://github.com/pylint-dev/pylint/issues/5401>`_)
- Add ``--allow-reexport-from-package`` option to configure the
``useless-import-alias`` check not to emit a warning if a name
is reexported from a package.
- Closes #6006 (`#6006 <https://github.com/PyCQA/pylint/issues/6006>`_)
+ Closes #6006 (`#6006 <https://github.com/pylint-dev/pylint/issues/6006>`_)
- Update ``pyreverse`` to differentiate between aggregations and compositions.
``pyreverse`` checks if it's an Instance or a Call of an object via method
parameters (via type hints)
to decide if it's a composition or an aggregation.
- Refs #6543 (`#6543 <https://github.com/PyCQA/pylint/issues/6543>`_)
+ Refs #6543 (`#6543 <https://github.com/pylint-dev/pylint/issues/6543>`_)
@@ -196,23 +196,23 @@ New Checks
- Adds a ``pointless-exception-statement`` check that emits a warning when an
Exception is created and not assigned, raised or returned.
- Refs #3110 (`#3110 <https://github.com/PyCQA/pylint/issues/3110>`_)
+ Refs #3110 (`#3110 <https://github.com/pylint-dev/pylint/issues/3110>`_)
- Add a ``shadowed-import`` message for aliased imports.
- Closes #4836 (`#4836 <https://github.com/PyCQA/pylint/issues/4836>`_)
+ Closes #4836 (`#4836 <https://github.com/pylint-dev/pylint/issues/4836>`_)
- Add new check called ``unbalanced-dict-unpacking`` to check for unbalanced
dict unpacking
in assignment and for loops.
- Closes #5797 (`#5797 <https://github.com/PyCQA/pylint/issues/5797>`_)
+ Closes #5797 (`#5797 <https://github.com/pylint-dev/pylint/issues/5797>`_)
- Add new checker ``positional-only-arguments-expected`` to check for cases
when
positional-only arguments have been passed as keyword arguments.
- Closes #6489 (`#6489 <https://github.com/PyCQA/pylint/issues/6489>`_)
+ Closes #6489 (`#6489 <https://github.com/pylint-dev/pylint/issues/6489>`_)
- Added ``singledispatch-method`` which informs that ``@singledispatch`` should
decorate functions and not class/instance methods.
@@ -220,42 +220,42 @@ New Checks
``@singledispatchmethod`` should decorate class/instance methods and not
functions.
- Closes #6917 (`#6917 <https://github.com/PyCQA/pylint/issues/6917>`_)
+ Closes #6917 (`#6917 <https://github.com/pylint-dev/pylint/issues/6917>`_)
- Rename ``broad-except`` to ``broad-exception-caught`` and add new checker
``broad-exception-raised``
which will warn if general exceptions ``BaseException`` or ``Exception`` are
raised.
- Closes #7494 (`#7494 <https://github.com/PyCQA/pylint/issues/7494>`_)
+ Closes #7494 (`#7494 <https://github.com/pylint-dev/pylint/issues/7494>`_)
- Added ``nested-min-max`` which flags ``min(1, min(2, 3))`` to simplify to
``min(1, 2, 3)``.
- Closes #7546 (`#7546 <https://github.com/PyCQA/pylint/issues/7546>`_)
+ Closes #7546 (`#7546 <https://github.com/pylint-dev/pylint/issues/7546>`_)
- Extended ``use-dict-literal`` to also warn about call to ``dict()`` when
passing keyword arguments.
- Closes #7690 (`#7690 <https://github.com/PyCQA/pylint/issues/7690>`_)
+ Closes #7690 (`#7690 <https://github.com/pylint-dev/pylint/issues/7690>`_)
- Add ``named-expr-without-context`` check to emit a warning if a named
expression is used outside a context like ``if``, ``for``, ``while``, or
a comprehension.
- Refs #7760 (`#7760 <https://github.com/PyCQA/pylint/issues/7760>`_)
+ Refs #7760 (`#7760 <https://github.com/pylint-dev/pylint/issues/7760>`_)
- Add ``invalid-slice-step`` check to warn about a slice step value of ``0``
for common builtin sequences.
- Refs #7762 (`#7762 <https://github.com/PyCQA/pylint/issues/7762>`_)
+ Refs #7762 (`#7762 <https://github.com/pylint-dev/pylint/issues/7762>`_)
- Add ``consider-refactoring-into-while-condition`` check to recommend
refactoring when
a while loop is defined with a constant condition with an immediate ``if``
statement to check for ``break`` condition as a first statement.
- Closes #8015 (`#8015 <https://github.com/PyCQA/pylint/issues/8015>`_)
+ Closes #8015 (`#8015 <https://github.com/pylint-dev/pylint/issues/8015>`_)
@@ -266,13 +266,13 @@ Extensions
dictionary immediately
after the dictionary was created.
- Closes #2876 (`#2876 <https://github.com/PyCQA/pylint/issues/2876>`_)
+ Closes #2876 (`#2876 <https://github.com/pylint-dev/pylint/issues/2876>`_)
- Added ``bad-dunder-name`` extension check, which flags bad or misspelled
dunder methods.
You can use the ``good-dunder-names`` option to allow specific dunder names.
- Closes #3038 (`#3038 <https://github.com/PyCQA/pylint/issues/3038>`_)
+ Closes #3038 (`#3038 <https://github.com/pylint-dev/pylint/issues/3038>`_)
- Added ``consider-using-augmented-assign`` check for ``CodeStyle`` extension
which flags ``x = x + 1`` to simplify to ``x += 1``.
@@ -280,20 +280,20 @@ Extensions
with ``load-plugins=pylint.extensions.code_style`` and add
``consider-using-augmented-assign`` in the ``enable`` option.
- Closes #3391 (`#3391 <https://github.com/PyCQA/pylint/issues/3391>`_)
+ Closes #3391 (`#3391 <https://github.com/pylint-dev/pylint/issues/3391>`_)
- Add ``magic-number`` plugin checker for comparison with constants instead of
named constants or enums.
You can use it with ``--load-plugins=pylint.extensions.magic_value``.
- Closes #7281 (`#7281 <https://github.com/PyCQA/pylint/issues/7281>`_)
+ Closes #7281 (`#7281 <https://github.com/pylint-dev/pylint/issues/7281>`_)
- Add ``redundant-typehint-argument`` message for `typing` plugin for duplicate
assign typehints.
Enable the plugin to enable the message with:
``--load-plugins=pylint.extensions.typing``.
- Closes #7636 (`#7636 <https://github.com/PyCQA/pylint/issues/7636>`_)
+ Closes #7636 (`#7636 <https://github.com/pylint-dev/pylint/issues/7636>`_)
@@ -303,160 +303,160 @@ False Positives Fixed
- Fix false positive for ``unused-variable`` and ``unused-import`` when a name
is only used in a string literal type annotation.
- Closes #3299 (`#3299 <https://github.com/PyCQA/pylint/issues/3299>`_)
+ Closes #3299 (`#3299 <https://github.com/pylint-dev/pylint/issues/3299>`_)
- Document a known false positive for ``useless-suppression`` when disabling
``line-too-long`` in a module with only comments and no code.
- Closes #3368 (`#3368 <https://github.com/PyCQA/pylint/issues/3368>`_)
+ Closes #3368 (`#3368 <https://github.com/pylint-dev/pylint/issues/3368>`_)
- ``trailing-whitespaces`` is no longer reported within strings.
- Closes #3822 (`#3822 <https://github.com/PyCQA/pylint/issues/3822>`_)
+ Closes #3822 (`#3822 <https://github.com/pylint-dev/pylint/issues/3822>`_)
- Fix false positive for ``global-variable-not-assigned`` when a global
variable is re-assigned via an ``ImportFrom`` node.
- Closes #4809 (`#4809 <https://github.com/PyCQA/pylint/issues/4809>`_)
+ Closes #4809 (`#4809 <https://github.com/pylint-dev/pylint/issues/4809>`_)
- Fix false positive for ``use-maxsplit-arg`` with custom split method.
- Closes #4857 (`#4857 <https://github.com/PyCQA/pylint/issues/4857>`_)
+ Closes #4857 (`#4857 <https://github.com/pylint-dev/pylint/issues/4857>`_)
- Fix ``logging-fstring-interpolation`` false positive raised when logging and
f-string with ``%s`` formatting.
- Closes #4984 (`#4984 <https://github.com/PyCQA/pylint/issues/4984>`_)
+ Closes #4984 (`#4984 <https://github.com/pylint-dev/pylint/issues/4984>`_)
- Fix false-positive for ``used-before-assignment`` in pattern matching
with a guard.
- Closes #5327 (`#5327 <https://github.com/PyCQA/pylint/issues/5327>`_)
+ Closes #5327 (`#5327 <https://github.com/pylint-dev/pylint/issues/5327>`_)
- Fix ``use-sequence-for-iteration`` when unpacking a set with ``*``.
- Closes #5788 (`#5788 <https://github.com/PyCQA/pylint/issues/5788>`_)
+ Closes #5788 (`#5788 <https://github.com/pylint-dev/pylint/issues/5788>`_)
- Fix ``deprecated-method`` false positive when alias for method is similar to
name of deprecated method.
- Closes #5886 (`#5886 <https://github.com/PyCQA/pylint/issues/5886>`_)
+ Closes #5886 (`#5886 <https://github.com/pylint-dev/pylint/issues/5886>`_)
- Fix false positive ``assigning-non-slot`` when a class attribute is
re-assigned.
- Closes #6001 (`#6001 <https://github.com/PyCQA/pylint/issues/6001>`_)
+ Closes #6001 (`#6001 <https://github.com/pylint-dev/pylint/issues/6001>`_)
- Fix false positive for ``too-many-function-args`` when a function call is
assigned to a class attribute inside the class where the function is defined.
- Closes #6592 (`#6592 <https://github.com/PyCQA/pylint/issues/6592>`_)
+ Closes #6592 (`#6592 <https://github.com/pylint-dev/pylint/issues/6592>`_)
- Fixes false positive ``abstract-method`` on Protocol classes.
- Closes #7209 (`#7209 <https://github.com/PyCQA/pylint/issues/7209>`_)
+ Closes #7209 (`#7209 <https://github.com/pylint-dev/pylint/issues/7209>`_)
- Pylint now understands the ``kw_only`` keyword argument for ``dataclass``.
Closes #7290, closes #6550, closes #5857 (`#7290
- <https://github.com/PyCQA/pylint/issues/7290>`_)
+ <https://github.com/pylint-dev/pylint/issues/7290>`_)
- Fix false positive for ``undefined-loop-variable`` in ``for-else`` loops that
use a function
having a return type annotation of ``NoReturn`` or ``Never``.
- Closes #7311 (`#7311 <https://github.com/PyCQA/pylint/issues/7311>`_)
+ Closes #7311 (`#7311 <https://github.com/pylint-dev/pylint/issues/7311>`_)
- Fix ``used-before-assignment`` for functions/classes defined in type checking
guard.
- Closes #7368 (`#7368 <https://github.com/PyCQA/pylint/issues/7368>`_)
+ Closes #7368 (`#7368 <https://github.com/pylint-dev/pylint/issues/7368>`_)
- Fix false positive for ``unhashable-member`` when subclassing ``dict`` and
using the subclass as a dictionary key.
- Closes #7501 (`#7501 <https://github.com/PyCQA/pylint/issues/7501>`_)
+ Closes #7501 (`#7501 <https://github.com/pylint-dev/pylint/issues/7501>`_)
- Fix the message for ``unnecessary-dunder-call`` for ``__aiter__`` and
``__aneext__``. Also
only emit the warning when ``py-version`` >= 3.10.
- Closes #7529 (`#7529 <https://github.com/PyCQA/pylint/issues/7529>`_)
+ Closes #7529 (`#7529 <https://github.com/pylint-dev/pylint/issues/7529>`_)
- Fix ``used-before-assignment`` false positive when else branch calls
``sys.exit`` or similar terminating functions.
- Closes #7563 (`#7563 <https://github.com/PyCQA/pylint/issues/7563>`_)
+ Closes #7563 (`#7563 <https://github.com/pylint-dev/pylint/issues/7563>`_)
- Fix a false positive for ``used-before-assignment`` for imports guarded by
``typing.TYPE_CHECKING`` later used in variable annotations.
- Closes #7609 (`#7609 <https://github.com/PyCQA/pylint/issues/7609>`_)
+ Closes #7609 (`#7609 <https://github.com/pylint-dev/pylint/issues/7609>`_)
- Fix a false positive for ``simplify-boolean-expression`` when multiple values
are inferred for a constant.
- Closes #7626 (`#7626 <https://github.com/PyCQA/pylint/issues/7626>`_)
+ Closes #7626 (`#7626 <https://github.com/pylint-dev/pylint/issues/7626>`_)
- ``unnecessary-list-index-lookup`` will not be wrongly emitted if
``enumerate`` is called with ``start``.
- Closes #7682 (`#7682 <https://github.com/PyCQA/pylint/issues/7682>`_)
+ Closes #7682 (`#7682 <https://github.com/pylint-dev/pylint/issues/7682>`_)
- Don't warn about ``stop-iteration-return`` when using ``next()`` over
``itertools.cycle``.
- Closes #7765 (`#7765 <https://github.com/PyCQA/pylint/issues/7765>`_)
+ Closes #7765 (`#7765 <https://github.com/pylint-dev/pylint/issues/7765>`_)
- Fixes ``used-before-assignment`` false positive when the walrus operator
is used in a ternary operator.
- Closes #7779 (`#7779 <https://github.com/PyCQA/pylint/issues/7779>`_)
+ Closes #7779 (`#7779 <https://github.com/pylint-dev/pylint/issues/7779>`_)
- Fix ``missing-param-doc`` false positive when function parameter has an
escaped underscore.
- Closes #7827 (`#7827 <https://github.com/PyCQA/pylint/issues/7827>`_)
+ Closes #7827 (`#7827 <https://github.com/pylint-dev/pylint/issues/7827>`_)
- Fixes ``method-cache-max-size-none`` false positive for methods inheriting
from ``Enum``.
- Closes #7857 (`#7857 <https://github.com/PyCQA/pylint/issues/7857>`_)
+ Closes #7857 (`#7857 <https://github.com/pylint-dev/pylint/issues/7857>`_)
- ``multiple-statements`` no longer triggers for function stubs using inlined
``...``.
- Closes #7860 (`#7860 <https://github.com/PyCQA/pylint/issues/7860>`_)
+ Closes #7860 (`#7860 <https://github.com/pylint-dev/pylint/issues/7860>`_)
- Fix a false positive for ``used-before-assignment`` when a name guarded by
``if TYPE_CHECKING:`` is used as a type annotation in a function body and
later re-imported in the same scope.
- Closes #7882 (`#7882 <https://github.com/PyCQA/pylint/issues/7882>`_)
+ Closes #7882 (`#7882 <https://github.com/pylint-dev/pylint/issues/7882>`_)
- Prevent ``used-before-assignment`` when imports guarded by ``if
TYPE_CHECKING``
are guarded again when used.
- Closes #7979 (`#7979 <https://github.com/PyCQA/pylint/issues/7979>`_)
+ Closes #7979 (`#7979 <https://github.com/pylint-dev/pylint/issues/7979>`_)
- Fixes false positive for ``try-except-raise`` with multiple exceptions in one
except statement if exception are in different namespace.
- Closes #8051 (`#8051 <https://github.com/PyCQA/pylint/issues/8051>`_)
+ Closes #8051 (`#8051 <https://github.com/pylint-dev/pylint/issues/8051>`_)
- Fix ``invalid-name`` errors for ``typing_extension.TypeVar``.
- Refs #8089 (`#8089 <https://github.com/PyCQA/pylint/issues/8089>`_)
+ Refs #8089 (`#8089 <https://github.com/pylint-dev/pylint/issues/8089>`_)
- Fix ``no-kwoa`` false positive for context managers.
- Closes #8100 (`#8100 <https://github.com/PyCQA/pylint/issues/8100>`_)
+ Closes #8100 (`#8100 <https://github.com/pylint-dev/pylint/issues/8100>`_)
- Fix a false positive for ``redefined-variable-type`` when ``async`` methods
are present.
- Closes #8120 (`#8120 <https://github.com/PyCQA/pylint/issues/8120>`_)
+ Closes #8120 (`#8120 <https://github.com/pylint-dev/pylint/issues/8120>`_)
@@ -466,31 +466,31 @@ False Negatives Fixed
- Code following a call to ``quit``, ``exit``, ``sys.exit`` or ``os._exit``
will be marked as `unreachable`.
- Refs #519 (`#519 <https://github.com/PyCQA/pylint/issues/519>`_)
+ Refs #519 (`#519 <https://github.com/pylint-dev/pylint/issues/519>`_)
- Emit ``used-before-assignment`` when function arguments are redefined inside
an inner function and accessed there before assignment.
- Closes #2374 (`#2374 <https://github.com/PyCQA/pylint/issues/2374>`_)
+ Closes #2374 (`#2374 <https://github.com/pylint-dev/pylint/issues/2374>`_)
- Fix a false negative for ``unused-import`` when one module used an import in
a type annotation that was also used in another module.
- Closes #4150 (`#4150 <https://github.com/PyCQA/pylint/issues/4150>`_)
+ Closes #4150 (`#4150 <https://github.com/pylint-dev/pylint/issues/4150>`_)
- Flag ``superfluous-parens`` if parentheses are used during string
concatenation.
- Closes #4792 (`#4792 <https://github.com/PyCQA/pylint/issues/4792>`_)
+ Closes #4792 (`#4792 <https://github.com/pylint-dev/pylint/issues/4792>`_)
- Emit ``used-before-assignment`` when relying on names only defined under
conditions always testing false.
- Closes #4913 (`#4913 <https://github.com/PyCQA/pylint/issues/4913>`_)
+ Closes #4913 (`#4913 <https://github.com/pylint-dev/pylint/issues/4913>`_)
- ``consider-using-join`` can now be emitted for non-empty string separators.
- Closes #6639 (`#6639 <https://github.com/PyCQA/pylint/issues/6639>`_)
+ Closes #6639 (`#6639 <https://github.com/pylint-dev/pylint/issues/6639>`_)
- Emit ``used-before-assignment`` for further imports guarded by
``TYPE_CHECKING``
@@ -500,40 +500,40 @@ False Negatives Fixed
``TYPE_CHECKING``
was imported from ``typing`` under an alias.
- Closes #7539 (`#7539 <https://github.com/PyCQA/pylint/issues/7539>`_)
+ Closes #7539 (`#7539 <https://github.com/pylint-dev/pylint/issues/7539>`_)
- Fix a false negative for ``unused-import`` when a constant inside
``typing.Annotated`` was treated as a reference to an import.
- Closes #7547 (`#7547 <https://github.com/PyCQA/pylint/issues/7547>`_)
+ Closes #7547 (`#7547 <https://github.com/pylint-dev/pylint/issues/7547>`_)
- ``consider-using-any-or-all`` message will now be raised in cases when
boolean is initialized, reassigned during loop, and immediately returned.
- Closes #7699 (`#7699 <https://github.com/PyCQA/pylint/issues/7699>`_)
+ Closes #7699 (`#7699 <https://github.com/pylint-dev/pylint/issues/7699>`_)
- Extend ``invalid-slice-index`` to emit an warning for invalid slice indices
used with string and byte sequences, and range objects.
- Refs #7762 (`#7762 <https://github.com/PyCQA/pylint/issues/7762>`_)
+ Refs #7762 (`#7762 <https://github.com/pylint-dev/pylint/issues/7762>`_)
- Fixes ``unnecessary-list-index-lookup`` false negative when ``enumerate`` is
called with ``iterable`` as a kwarg.
- Closes #7770 (`#7770 <https://github.com/PyCQA/pylint/issues/7770>`_)
+ Closes #7770 (`#7770 <https://github.com/pylint-dev/pylint/issues/7770>`_)
- ``no-else-return`` or ``no-else-raise`` will be emitted if ``except`` block
always returns or raises.
- Closes #7788 (`#7788 <https://github.com/PyCQA/pylint/issues/7788>`_)
+ Closes #7788 (`#7788 <https://github.com/pylint-dev/pylint/issues/7788>`_)
- Fix ``dangerous-default-value`` false negative when ``*`` is used.
- Closes #7818 (`#7818 <https://github.com/PyCQA/pylint/issues/7818>`_)
+ Closes #7818 (`#7818 <https://github.com/pylint-dev/pylint/issues/7818>`_)
- ``consider-using-with`` now triggers for ``pathlib.Path.open``.
- Closes #7964 (`#7964 <https://github.com/PyCQA/pylint/issues/7964>`_)
+ Closes #7964 (`#7964 <https://github.com/pylint-dev/pylint/issues/7964>`_)
@@ -542,81 +542,81 @@ Other Bug Fixes
- Fix bug in detecting ``unused-variable`` when iterating on variable.
- Closes #3044 (`#3044 <https://github.com/PyCQA/pylint/issues/3044>`_)
+ Closes #3044 (`#3044 <https://github.com/pylint-dev/pylint/issues/3044>`_)
- Fix bug in scanning of names inside arguments to ``typing.Literal``.
See https://peps.python.org/pep-0586/#literals-enums-and-forward-references
for details.
- Refs #3299 (`#3299 <https://github.com/PyCQA/pylint/issues/3299>`_)
+ Refs #3299 (`#3299 <https://github.com/pylint-dev/pylint/issues/3299>`_)
- Update ``disallowed-name`` check to flag module-level variables.
- Closes #3701 (`#3701 <https://github.com/PyCQA/pylint/issues/3701>`_)
+ Closes #3701 (`#3701 <https://github.com/pylint-dev/pylint/issues/3701>`_)
- Pylint will no longer deadlock if a parallel job is killed but fail
immediately instead.
- Closes #3899 (`#3899 <https://github.com/PyCQA/pylint/issues/3899>`_)
+ Closes #3899 (`#3899 <https://github.com/pylint-dev/pylint/issues/3899>`_)
- Fix ignored files being linted when passed on stdin.
- Closes #4354 (`#4354 <https://github.com/PyCQA/pylint/issues/4354>`_)
+ Closes #4354 (`#4354 <https://github.com/pylint-dev/pylint/issues/4354>`_)
- Fix ``no-member`` false negative when augmented assign is done manually,
without ``+=``.
- Closes #4562 (`#4562 <https://github.com/PyCQA/pylint/issues/4562>`_)
+ Closes #4562 (`#4562 <https://github.com/pylint-dev/pylint/issues/4562>`_)
- Any assertion on a populated tuple will now receive a ``assert-on-tuple``
warning.
- Closes #4655 (`#4655 <https://github.com/PyCQA/pylint/issues/4655>`_)
+ Closes #4655 (`#4655 <https://github.com/pylint-dev/pylint/issues/4655>`_)
- ``missing-return-doc``, ``missing-raises-doc`` and ``missing-yields-doc`` now
respect
the ``no-docstring-rgx`` option.
- Closes #4743 (`#4743 <https://github.com/PyCQA/pylint/issues/4743>`_)
+ Closes #4743 (`#4743 <https://github.com/pylint-dev/pylint/issues/4743>`_)
- Update ``reimported`` help message for clarity.
- Closes #4836 (`#4836 <https://github.com/PyCQA/pylint/issues/4836>`_)
+ Closes #4836 (`#4836 <https://github.com/pylint-dev/pylint/issues/4836>`_)
- ``consider-iterating-dictionary`` will no longer be raised if bitwise
operations are used.
- Closes #5478 (`#5478 <https://github.com/PyCQA/pylint/issues/5478>`_)
+ Closes #5478 (`#5478 <https://github.com/pylint-dev/pylint/issues/5478>`_)
- Using custom braces in ``msg-template`` will now work properly.
- Closes #5636 (`#5636 <https://github.com/PyCQA/pylint/issues/5636>`_)
+ Closes #5636 (`#5636 <https://github.com/pylint-dev/pylint/issues/5636>`_)
- Pylint will now filter duplicates given to it before linting. The output
should
be the same whether a file is given/discovered multiple times or not.
- Closes #6242, #4053 (`#6242 <https://github.com/PyCQA/pylint/issues/6242>`_)
+ Closes #6242, #4053 (`#6242 <https://github.com/pylint-dev/pylint/issues/6242>`_)
- Remove ``__index__`` dunder method call from ``unnecessary-dunder-call``
check.
- Closes #6795 (`#6795 <https://github.com/PyCQA/pylint/issues/6795>`_)
+ Closes #6795 (`#6795 <https://github.com/pylint-dev/pylint/issues/6795>`_)
- Fixed handling of ``--`` as separator between positional arguments and flags.
This was not actually fixed in 2.14.5.
Closes #7003, Refs #7096 (`#7003
- <https://github.com/PyCQA/pylint/issues/7003>`_)
+ <https://github.com/pylint-dev/pylint/issues/7003>`_)
- Don't crash on ``OSError`` in config file discovery.
- Closes #7169 (`#7169 <https://github.com/PyCQA/pylint/issues/7169>`_)
+ Closes #7169 (`#7169 <https://github.com/pylint-dev/pylint/issues/7169>`_)
- Messages sent to reporter are now copied so a reporter cannot modify the
message sent to other reporters.
- Closes #7214 (`#7214 <https://github.com/PyCQA/pylint/issues/7214>`_)
+ Closes #7214 (`#7214 <https://github.com/pylint-dev/pylint/issues/7214>`_)
- Fixed a case where custom plugins specified by command line could silently
fail.
@@ -628,85 +628,85 @@ Other Bug Fixes
change, it would silently fail to register the plugin for use, but would load
any configuration, which could have unintended effects.
- Fixes part of #7264. (`#7264 <https://github.com/PyCQA/pylint/issues/7264>`_)
+ Fixes part of #7264. (`#7264 <https://github.com/pylint-dev/pylint/issues/7264>`_)
- Update ``modified_iterating`` checker to fix a crash with ``for`` loops on
empty list.
- Closes #7380 (`#7380 <https://github.com/PyCQA/pylint/issues/7380>`_)
+ Closes #7380 (`#7380 <https://github.com/pylint-dev/pylint/issues/7380>`_)
- Update wording for ``arguments-differ`` and ``arguments-renamed`` to clarify
overriding object.
- Closes #7390 (`#7390 <https://github.com/PyCQA/pylint/issues/7390>`_)
+ Closes #7390 (`#7390 <https://github.com/pylint-dev/pylint/issues/7390>`_)
- ``disable-next`` is now correctly scoped to only the succeeding line.
- Closes #7401 (`#7401 <https://github.com/PyCQA/pylint/issues/7401>`_)
+ Closes #7401 (`#7401 <https://github.com/pylint-dev/pylint/issues/7401>`_)
- Fixed a crash in the ``unhashable-member`` checker when using a ``lambda`` as
a dict key.
- Closes #7453 (`#7453 <https://github.com/PyCQA/pylint/issues/7453>`_)
+ Closes #7453 (`#7453 <https://github.com/pylint-dev/pylint/issues/7453>`_)
- Add ``mailcap`` to deprecated modules list.
- Closes #7457 (`#7457 <https://github.com/PyCQA/pylint/issues/7457>`_)
+ Closes #7457 (`#7457 <https://github.com/pylint-dev/pylint/issues/7457>`_)
- Fix a crash in the ``modified-iterating-dict`` checker involving instance
attributes.
- Closes #7461 (`#7461 <https://github.com/PyCQA/pylint/issues/7461>`_)
+ Closes #7461 (`#7461 <https://github.com/pylint-dev/pylint/issues/7461>`_)
- ``invalid-class-object`` does not crash anymore when ``__class__`` is
assigned alongside another variable.
- Closes #7467 (`#7467 <https://github.com/PyCQA/pylint/issues/7467>`_)
+ Closes #7467 (`#7467 <https://github.com/pylint-dev/pylint/issues/7467>`_)
- ``--help-msg`` now accepts a comma-separated list of message IDs again.
- Closes #7471 (`#7471 <https://github.com/PyCQA/pylint/issues/7471>`_)
+ Closes #7471 (`#7471 <https://github.com/pylint-dev/pylint/issues/7471>`_)
- Allow specifying non-builtin exceptions in the ``overgeneral-exception``
option
using an exception's qualified name.
- Closes #7495 (`#7495 <https://github.com/PyCQA/pylint/issues/7495>`_)
+ Closes #7495 (`#7495 <https://github.com/pylint-dev/pylint/issues/7495>`_)
- Report ``no-self-argument`` rather than ``no-method-argument`` for methods
with variadic arguments.
- Closes #7507 (`#7507 <https://github.com/PyCQA/pylint/issues/7507>`_)
+ Closes #7507 (`#7507 <https://github.com/pylint-dev/pylint/issues/7507>`_)
- Fixed an issue where ``syntax-error`` couldn't be raised on files with
invalid encodings.
- Closes #7522 (`#7522 <https://github.com/PyCQA/pylint/issues/7522>`_)
+ Closes #7522 (`#7522 <https://github.com/pylint-dev/pylint/issues/7522>`_)
- Fix false positive for ``redefined-outer-name`` when aliasing ``typing``
e.g. as ``t`` and guarding imports under ``t.TYPE_CHECKING``.
- Closes #7524 (`#7524 <https://github.com/PyCQA/pylint/issues/7524>`_)
+ Closes #7524 (`#7524 <https://github.com/pylint-dev/pylint/issues/7524>`_)
- Fixed a crash of the ``modified_iterating`` checker when iterating on a set
defined as a class attribute.
- Closes #7528 (`#7528 <https://github.com/PyCQA/pylint/issues/7528>`_)
+ Closes #7528 (`#7528 <https://github.com/pylint-dev/pylint/issues/7528>`_)
- Use ``py-version`` to determine if a message should be emitted for messages
defined with ``max-version`` or ``min-version``.
- Closes #7569 (`#7569 <https://github.com/PyCQA/pylint/issues/7569>`_)
+ Closes #7569 (`#7569 <https://github.com/pylint-dev/pylint/issues/7569>`_)
- Improve ``bad-thread-instantiation`` check to warn if ``target`` is not
passed in as a keyword argument
or as a second argument.
- Closes #7570 (`#7570 <https://github.com/PyCQA/pylint/issues/7570>`_)
+ Closes #7570 (`#7570 <https://github.com/pylint-dev/pylint/issues/7570>`_)
- Fixes edge case of custom method named ``next`` raised an astroid error.
- Closes #7610 (`#7610 <https://github.com/PyCQA/pylint/issues/7610>`_)
+ Closes #7610 (`#7610 <https://github.com/pylint-dev/pylint/issues/7610>`_)
- Fixed a multi-processing crash that prevents using any more than 1 thread on
MacOS.
@@ -717,56 +717,56 @@ Other Bug Fixes
when
attempting to serialise the linter object for multi-processing use.
- Closes #7635. (`#7635 <https://github.com/PyCQA/pylint/issues/7635>`_)
+ Closes #7635. (`#7635 <https://github.com/pylint-dev/pylint/issues/7635>`_)
- Fix crash that happened when parsing files with unexpected encoding starting
with 'utf' like ``utf13``.
- Closes #7661 (`#7661 <https://github.com/PyCQA/pylint/issues/7661>`_)
+ Closes #7661 (`#7661 <https://github.com/pylint-dev/pylint/issues/7661>`_)
- Fix a crash when a child class with an ``__init__`` method inherits from a
parent class with an ``__init__`` class attribute.
- Closes #7742 (`#7742 <https://github.com/PyCQA/pylint/issues/7742>`_)
+ Closes #7742 (`#7742 <https://github.com/pylint-dev/pylint/issues/7742>`_)
- Fix ``valid-metaclass-classmethod-first-arg`` default config value from "cls"
to "mcs"
which would cause both a false-positive and false-negative.
- Closes #7782 (`#7782 <https://github.com/PyCQA/pylint/issues/7782>`_)
+ Closes #7782 (`#7782 <https://github.com/pylint-dev/pylint/issues/7782>`_)
- Fixes a crash in the ``unnecessary_list_index_lookup`` check when using
``enumerate`` with ``start`` and a class attribute.
- Closes #7821 (`#7821 <https://github.com/PyCQA/pylint/issues/7821>`_)
+ Closes #7821 (`#7821 <https://github.com/pylint-dev/pylint/issues/7821>`_)
- Fixes a crash in ``stop-iteration-return`` when the ``next`` builtin is
called without arguments.
- Closes #7828 (`#7828 <https://github.com/PyCQA/pylint/issues/7828>`_)
+ Closes #7828 (`#7828 <https://github.com/pylint-dev/pylint/issues/7828>`_)
- When pylint exit due to bad arguments being provided the exit code will now
be the expected ``32``.
- Refs #7931 (`#7931 <https://github.com/PyCQA/pylint/issues/7931>`_)
+ Refs #7931 (`#7931 <https://github.com/pylint-dev/pylint/issues/7931>`_)
- Fixes a ``ModuleNotFound`` exception when running pylint on a Django project
with the ``pylint_django`` plugin enabled.
- Closes #7938 (`#7938 <https://github.com/PyCQA/pylint/issues/7938>`_)
+ Closes #7938 (`#7938 <https://github.com/pylint-dev/pylint/issues/7938>`_)
- Fixed a crash when inferring a value and using its qname on a slice that was
being incorrectly called.
- Closes #8067 (`#8067 <https://github.com/PyCQA/pylint/issues/8067>`_)
+ Closes #8067 (`#8067 <https://github.com/pylint-dev/pylint/issues/8067>`_)
- Use better regex to check for private attributes.
- Refs #8081 (`#8081 <https://github.com/PyCQA/pylint/issues/8081>`_)
+ Refs #8081 (`#8081 <https://github.com/pylint-dev/pylint/issues/8081>`_)
- Fix issue with new typing Union syntax in runtime context for Python 3.10+.
- Closes #8119 (`#8119 <https://github.com/PyCQA/pylint/issues/8119>`_)
+ Closes #8119 (`#8119 <https://github.com/pylint-dev/pylint/issues/8119>`_)
@@ -775,55 +775,55 @@ Other Changes
- Pylint now provides basic support for Python 3.11.
- Closes #5920 (`#5920 <https://github.com/PyCQA/pylint/issues/5920>`_)
+ Closes #5920 (`#5920 <https://github.com/pylint-dev/pylint/issues/5920>`_)
- Update message for ``abstract-method`` to include child class name.
- Closes #7124 (`#7124 <https://github.com/PyCQA/pylint/issues/7124>`_)
+ Closes #7124 (`#7124 <https://github.com/pylint-dev/pylint/issues/7124>`_)
- Update Pyreverse's dot and plantuml printers to detect when class methods are
abstract and show them with italic font.
For the dot printer update the label to use html-like syntax.
- Closes #7346 (`#7346 <https://github.com/PyCQA/pylint/issues/7346>`_)
+ Closes #7346 (`#7346 <https://github.com/pylint-dev/pylint/issues/7346>`_)
- The ``docparams`` extension now considers typing in Numpy style docstrings
as "documentation" for the ``missing-param-doc`` message.
- Refs #7398 (`#7398 <https://github.com/PyCQA/pylint/issues/7398>`_)
+ Refs #7398 (`#7398 <https://github.com/pylint-dev/pylint/issues/7398>`_)
- Relevant ``DeprecationWarnings`` are now raised with ``stacklevel=2``, so
they have the callsite attached in the message.
- Closes #7463 (`#7463 <https://github.com/PyCQA/pylint/issues/7463>`_)
+ Closes #7463 (`#7463 <https://github.com/pylint-dev/pylint/issues/7463>`_)
- Add a ``minimal`` option to ``pylint-config`` and its toml generator.
- Closes #7485 (`#7485 <https://github.com/PyCQA/pylint/issues/7485>`_)
+ Closes #7485 (`#7485 <https://github.com/pylint-dev/pylint/issues/7485>`_)
- Add method name to the error messages of ``no-method-argument`` and
``no-self-argument``.
- Closes #7507 (`#7507 <https://github.com/PyCQA/pylint/issues/7507>`_)
+ Closes #7507 (`#7507 <https://github.com/pylint-dev/pylint/issues/7507>`_)
- Prevent leaving the pip install cache in the Docker image.
- Refs #7544 (`#7544 <https://github.com/PyCQA/pylint/issues/7544>`_)
+ Refs #7544 (`#7544 <https://github.com/pylint-dev/pylint/issues/7544>`_)
- Add a keyword-only ``compare_constants`` argument to ``safe_infer``.
- Refs #7626 (`#7626 <https://github.com/PyCQA/pylint/issues/7626>`_)
+ Refs #7626 (`#7626 <https://github.com/pylint-dev/pylint/issues/7626>`_)
- Add ``default_enabled`` option to optional message dict. Provides an option
to disable a checker message by default.
To use a disabled message, the user must enable it explicitly by adding the
message to the ``enable`` option.
- Refs #7629 (`#7629 <https://github.com/PyCQA/pylint/issues/7629>`_)
+ Refs #7629 (`#7629 <https://github.com/pylint-dev/pylint/issues/7629>`_)
- Sort ``--generated-rcfile`` output.
- Refs #7655 (`#7655 <https://github.com/PyCQA/pylint/issues/7655>`_)
+ Refs #7655 (`#7655 <https://github.com/pylint-dev/pylint/issues/7655>`_)
- epylint is now deprecated and will be removed in pylint 3.0.0. All emacs and
flymake related
@@ -831,11 +831,11 @@ Other Changes
repository :
https://github.com/emacsorphanage/pylint.
- Closes #7737 (`#7737 <https://github.com/PyCQA/pylint/issues/7737>`_)
+ Closes #7737 (`#7737 <https://github.com/pylint-dev/pylint/issues/7737>`_)
- Adds test for existing preferred-modules configuration functionality.
- Refs #7957 (`#7957 <https://github.com/PyCQA/pylint/issues/7957>`_)
+ Refs #7957 (`#7957 <https://github.com/pylint-dev/pylint/issues/7957>`_)
@@ -850,4 +850,4 @@ Internal Changes
the path in this way, this is now the last bit of work needed to close Github
issue #7264.
- Closes #7264 (`#7264 <https://github.com/PyCQA/pylint/issues/7264>`_)
+ Closes #7264 (`#7264 <https://github.com/pylint-dev/pylint/issues/7264>`_)
diff --git a/doc/whatsnew/2/2.17/index.rst b/doc/whatsnew/2/2.17/index.rst
index b3f4b6175..4631414a9 100644
--- a/doc/whatsnew/2/2.17/index.rst
+++ b/doc/whatsnew/2/2.17/index.rst
@@ -41,7 +41,7 @@ False Positives Fixed
``attribute-defined-outside-init`` warning when using
``unittest.IsolatedAsyncioTestCase``.
- Refs #8403 (`#8403 <https://github.com/PyCQA/pylint/issues/8403>`_)
+ Refs #8403 (`#8403 <https://github.com/pylint-dev/pylint/issues/8403>`_)
@@ -51,16 +51,16 @@ Other Bug Fixes
- ``--clear-cache-post-run`` now also clears LRU caches for pylint utilities
holding references to AST nodes.
- Closes #8361 (`#8361 <https://github.com/PyCQA/pylint/issues/8361>`_)
+ Closes #8361 (`#8361 <https://github.com/pylint-dev/pylint/issues/8361>`_)
- Fix a crash when ``TYPE_CHECKING`` is used without importing it.
- Closes #8434 (`#8434 <https://github.com/PyCQA/pylint/issues/8434>`_)
+ Closes #8434 (`#8434 <https://github.com/pylint-dev/pylint/issues/8434>`_)
- Fix a regression of ``preferred-modules`` where a partial match was used
instead of the required full match.
- Closes #8453 (`#8453 <https://github.com/PyCQA/pylint/issues/8453>`_)
+ Closes #8453 (`#8453 <https://github.com/pylint-dev/pylint/issues/8453>`_)
@@ -78,7 +78,7 @@ Internal Changes
``is_sys_guard`` is still available, which was part of
``is_node_in_guarded_import_block``.
- Refs #8433 (`#8433 <https://github.com/PyCQA/pylint/issues/8433>`_)
+ Refs #8433 (`#8433 <https://github.com/pylint-dev/pylint/issues/8433>`_)
What's new in Pylint 2.17.0?
@@ -92,42 +92,42 @@ New Features
- `pyreverse` now supports custom color palettes with the `--color-palette`
option.
- Closes #6738 (`#6738 <https://github.com/PyCQA/pylint/issues/6738>`_)
+ Closes #6738 (`#6738 <https://github.com/pylint-dev/pylint/issues/6738>`_)
- Add ``invalid-name`` check for ``TypeAlias`` names.
- Closes #7081. (`#7081 <https://github.com/PyCQA/pylint/issues/7081>`_)
+ Closes #7081. (`#7081 <https://github.com/pylint-dev/pylint/issues/7081>`_)
- Accept values of the form ``<class name>.<attribute name>`` for the
``exclude-protected`` list.
- Closes #7343 (`#7343 <https://github.com/PyCQA/pylint/issues/7343>`_)
+ Closes #7343 (`#7343 <https://github.com/pylint-dev/pylint/issues/7343>`_)
- Add `--version` option to `pyreverse`.
- Refs #7851 (`#7851 <https://github.com/PyCQA/pylint/issues/7851>`_)
+ Refs #7851 (`#7851 <https://github.com/pylint-dev/pylint/issues/7851>`_)
- Adds new functionality with preferred-modules configuration to detect
submodules.
- Refs #7957 (`#7957 <https://github.com/PyCQA/pylint/issues/7957>`_)
+ Refs #7957 (`#7957 <https://github.com/pylint-dev/pylint/issues/7957>`_)
- Support implicit namespace packages (PEP 420).
- Closes #8154 (`#8154 <https://github.com/PyCQA/pylint/issues/8154>`_)
+ Closes #8154 (`#8154 <https://github.com/pylint-dev/pylint/issues/8154>`_)
- Add globbing pattern support for ``--source-roots``.
- Closes #8290 (`#8290 <https://github.com/PyCQA/pylint/issues/8290>`_)
+ Closes #8290 (`#8290 <https://github.com/pylint-dev/pylint/issues/8290>`_)
- Support globbing pattern when defining which file/directory/module to lint.
- Closes #8310 (`#8310 <https://github.com/PyCQA/pylint/issues/8310>`_)
+ Closes #8310 (`#8310 <https://github.com/pylint-dev/pylint/issues/8310>`_)
- pylint now supports ``TryStar`` nodes from Python 3.11 and should be fully
compatible with Python 3.11.
- Closes #8387 (`#8387 <https://github.com/PyCQA/pylint/issues/8387>`_)
+ Closes #8387 (`#8387 <https://github.com/pylint-dev/pylint/issues/8387>`_)
@@ -138,13 +138,13 @@ New Checks
there is a chained comparison where one expression is semantically
incompatible with the other.
- Closes #6559 (`#6559 <https://github.com/PyCQA/pylint/issues/6559>`_)
+ Closes #6559 (`#6559 <https://github.com/pylint-dev/pylint/issues/6559>`_)
- Adds an ``implicit-flag-alias`` check that emits a warning when a class
derived from ``enum.IntFlag`` assigns distinct integer values that share
common bit positions.
- Refs #8102 (`#8102 <https://github.com/PyCQA/pylint/issues/8102>`_)
+ Refs #8102 (`#8102 <https://github.com/pylint-dev/pylint/issues/8102>`_)
@@ -154,27 +154,27 @@ False Positives Fixed
- Fix various false positives for functions that return directly from
structural pattern matching cases.
- Closes #5288 (`#5288 <https://github.com/PyCQA/pylint/issues/5288>`_)
+ Closes #5288 (`#5288 <https://github.com/pylint-dev/pylint/issues/5288>`_)
- Fix false positive for ``used-before-assignment`` when
``typing.TYPE_CHECKING`` is used with if/elif/else blocks.
- Closes #7574 (`#7574 <https://github.com/PyCQA/pylint/issues/7574>`_)
+ Closes #7574 (`#7574 <https://github.com/pylint-dev/pylint/issues/7574>`_)
- Fix false positive for isinstance-second-argument-not-valid-type with union
types.
- Closes #8205 (`#8205 <https://github.com/PyCQA/pylint/issues/8205>`_)
+ Closes #8205 (`#8205 <https://github.com/pylint-dev/pylint/issues/8205>`_)
- Fix false positive for ``used-before-assignment`` for named expressions
appearing after the first element in a list, tuple, or set.
- Closes #8252 (`#8252 <https://github.com/PyCQA/pylint/issues/8252>`_)
+ Closes #8252 (`#8252 <https://github.com/pylint-dev/pylint/issues/8252>`_)
- Fix false positive for ``wrong-spelling-in-comment`` with class names in a
python 2 type comment.
- Closes #8370 (`#8370 <https://github.com/PyCQA/pylint/issues/8370>`_)
+ Closes #8370 (`#8370 <https://github.com/pylint-dev/pylint/issues/8370>`_)
@@ -187,11 +187,11 @@ False Negatives Fixed
raise
correctly.
- Refs #8185 (`#8185 <https://github.com/PyCQA/pylint/issues/8185>`_)
+ Refs #8185 (`#8185 <https://github.com/pylint-dev/pylint/issues/8185>`_)
- Fix false negative for inconsistent-returns with while-loops.
- Closes #8280 (`#8280 <https://github.com/PyCQA/pylint/issues/8280>`_)
+ Closes #8280 (`#8280 <https://github.com/pylint-dev/pylint/issues/8280>`_)
@@ -201,33 +201,33 @@ Other Bug Fixes
- Fix ``used-before-assignment`` false positive when the walrus operator
is used with a ternary operator in dictionary key/value initialization.
- Closes #8125 (`#8125 <https://github.com/PyCQA/pylint/issues/8125>`_)
+ Closes #8125 (`#8125 <https://github.com/pylint-dev/pylint/issues/8125>`_)
- Fix ``no-name-in-module`` false positive raised when a package defines a
variable with the
same name as one of its submodules.
- Closes #8148 (`#8148 <https://github.com/PyCQA/pylint/issues/8148>`_)
+ Closes #8148 (`#8148 <https://github.com/pylint-dev/pylint/issues/8148>`_)
- Fix a crash happening for python interpreter < 3.9 following a failed typing
update.
- Closes #8161 (`#8161 <https://github.com/PyCQA/pylint/issues/8161>`_)
+ Closes #8161 (`#8161 <https://github.com/pylint-dev/pylint/issues/8161>`_)
- Fix ``nested-min-max`` suggestion message to indicate it's possible to splat
iterable objects.
- Closes #8168 (`#8168 <https://github.com/PyCQA/pylint/issues/8168>`_)
+ Closes #8168 (`#8168 <https://github.com/pylint-dev/pylint/issues/8168>`_)
- Fix a crash happening when a class attribute was negated in the start
argument of an enumerate.
- Closes #8207 (`#8207 <https://github.com/PyCQA/pylint/issues/8207>`_)
+ Closes #8207 (`#8207 <https://github.com/pylint-dev/pylint/issues/8207>`_)
- Prevent emitting ``invalid-name`` for the line on which a ``global``
statement is declared.
- Closes #8307 (`#8307 <https://github.com/PyCQA/pylint/issues/8307>`_)
+ Closes #8307 (`#8307 <https://github.com/pylint-dev/pylint/issues/8307>`_)
@@ -236,7 +236,7 @@ Other Changes
- Update explanation for ``global-variable-not-assigned`` and add confidence.
- Closes #5073 (`#5073 <https://github.com/PyCQA/pylint/issues/5073>`_)
+ Closes #5073 (`#5073 <https://github.com/pylint-dev/pylint/issues/5073>`_)
- The governance model and the path to become a maintainer have been documented
as
@@ -244,4 +244,4 @@ Other Changes
pylint is
included is secure.
- Refs #8329 (`#8329 <https://github.com/PyCQA/pylint/issues/8329>`_)
+ Refs #8329 (`#8329 <https://github.com/pylint-dev/pylint/issues/8329>`_)
diff --git a/pylint/__init__.py b/pylint/__init__.py
index 1e9d34ee0..cc0f609aa 100644
--- a/pylint/__init__.py
+++ b/pylint/__init__.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
@@ -78,12 +78,12 @@ def modify_sys_path() -> None:
- Remove the first entry. This will always be either "" or the working directory
- Remove the working directory from the second and third entries
if PYTHONPATH includes a ":" at the beginning or the end.
- https://github.com/PyCQA/pylint/issues/3636
+ https://github.com/pylint-dev/pylint/issues/3636
Don't remove it if PYTHONPATH contains the cwd or '.' as the entry will
only be added once.
- Don't remove the working directory from the rest. It will be included
if pylint is installed in an editable configuration (as the last item).
- https://github.com/PyCQA/pylint/issues/4161
+ https://github.com/pylint-dev/pylint/issues/4161
"""
cwd = os.getcwd()
if sys.path[0] in ("", ".", cwd):
diff --git a/pylint/__main__.py b/pylint/__main__.py
index 7df5805f9..448ac55b6 100644
--- a/pylint/__main__.py
+++ b/pylint/__main__.py
@@ -1,8 +1,8 @@
#!/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/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
import pylint
diff --git a/pylint/__pkginfo__.py b/pylint/__pkginfo__.py
index 84ca13271..21b0de6de 100644
--- a/pylint/__pkginfo__.py
+++ b/pylint/__pkginfo__.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 module exists for compatibility reasons.
@@ -15,8 +15,8 @@ __version__ = "3.0.0a6"
def get_numversion_from_version(v: str) -> tuple[int, int, int]:
"""Kept for compatibility reason.
- See https://github.com/PyCQA/pylint/issues/4399
- https://github.com/PyCQA/pylint/issues/4420,
+ See https://github.com/pylint-dev/pylint/issues/4399
+ https://github.com/pylint-dev/pylint/issues/4420,
"""
version = v.replace("pylint-", "")
result_version = []
diff --git a/pylint/checkers/__init__.py b/pylint/checkers/__init__.py
index 8f55d214f..8af4bae67 100644
--- a/pylint/checkers/__init__.py
+++ b/pylint/checkers/__init__.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
"""Utilities methods and classes for checkers.
diff --git a/pylint/checkers/async.py b/pylint/checkers/async.py
index b06ec60c8..a8ee77302 100644
--- a/pylint/checkers/async.py
+++ b/pylint/checkers/async.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
"""Checker for anything related to the async protocol (PEP 492)."""
diff --git a/pylint/checkers/bad_chained_comparison.py b/pylint/checkers/bad_chained_comparison.py
index 8c3aeb9cc..2e1912160 100644
--- a/pylint/checkers/bad_chained_comparison.py
+++ b/pylint/checkers/bad_chained_comparison.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
diff --git a/pylint/checkers/base/__init__.py b/pylint/checkers/base/__init__.py
index f427cbf21..c9067b405 100644
--- a/pylint/checkers/base/__init__.py
+++ b/pylint/checkers/base/__init__.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
# pylint: disable=duplicate-code # This is similar to the __init__ of .name_checker
diff --git a/pylint/checkers/base/basic_checker.py b/pylint/checkers/base/basic_checker.py
index 0c685da56..dd46d8553 100644
--- a/pylint/checkers/base/basic_checker.py
+++ b/pylint/checkers/base/basic_checker.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
"""Basic checker for Python code."""
@@ -367,7 +367,7 @@ class BasicChecker(_BasicChecker):
try:
# Just forcing the generator to infer all elements.
# astroid.exceptions.InferenceError are false positives
- # see https://github.com/PyCQA/pylint/pull/8185
+ # see https://github.com/pylint-dev/pylint/pull/8185
if isinstance(inferred, nodes.FunctionDef):
call_inferred = list(inferred.infer_call_result())
elif isinstance(inferred, nodes.Lambda):
@@ -462,7 +462,7 @@ class BasicChecker(_BasicChecker):
# Heuristic: only run inference for names that begin with an uppercase char
# This reduces W0133's coverage, but retains acceptable runtime performance
- # For more details, see: https://github.com/PyCQA/pylint/issues/8073
+ # For more details, see: https://github.com/pylint-dev/pylint/issues/8073
inferred = utils.safe_infer(expr) if name[:1].isupper() else None
if isinstance(inferred, objects.ExceptionInstance):
self.add_message(
diff --git a/pylint/checkers/base/basic_error_checker.py b/pylint/checkers/base/basic_error_checker.py
index 25038247c..ccf9773a7 100644
--- a/pylint/checkers/base/basic_error_checker.py
+++ b/pylint/checkers/base/basic_error_checker.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
"""Basic Error checker from the basic checker."""
diff --git a/pylint/checkers/base/comparison_checker.py b/pylint/checkers/base/comparison_checker.py
index ffbd27374..14d40c7d6 100644
--- a/pylint/checkers/base/comparison_checker.py
+++ b/pylint/checkers/base/comparison_checker.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
"""Comparison checker from the basic checker."""
diff --git a/pylint/checkers/base/docstring_checker.py b/pylint/checkers/base/docstring_checker.py
index 791b085b5..5a681eeb3 100644
--- a/pylint/checkers/base/docstring_checker.py
+++ b/pylint/checkers/base/docstring_checker.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
"""Docstring checker from the basic checker."""
diff --git a/pylint/checkers/base/name_checker/__init__.py b/pylint/checkers/base/name_checker/__init__.py
index 3d6818b7a..dec4335f5 100644
--- a/pylint/checkers/base/name_checker/__init__.py
+++ b/pylint/checkers/base/name_checker/__init__.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
__all__ = [
"NameChecker",
diff --git a/pylint/checkers/base/name_checker/checker.py b/pylint/checkers/base/name_checker/checker.py
index c2b615a48..12cc584db 100644
--- a/pylint/checkers/base/name_checker/checker.py
+++ b/pylint/checkers/base/name_checker/checker.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
"""Basic checker for Python code."""
diff --git a/pylint/checkers/base/name_checker/naming_style.py b/pylint/checkers/base/name_checker/naming_style.py
index 8ccec4289..6410f9181 100644
--- a/pylint/checkers/base/name_checker/naming_style.py
+++ b/pylint/checkers/base/name_checker/naming_style.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
diff --git a/pylint/checkers/base/pass_checker.py b/pylint/checkers/base/pass_checker.py
index 120d4c5a0..a9351ba75 100644
--- a/pylint/checkers/base/pass_checker.py
+++ b/pylint/checkers/base/pass_checker.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 astroid import nodes
diff --git a/pylint/checkers/base_checker.py b/pylint/checkers/base_checker.py
index b75cc6dbc..9785f9c4a 100644
--- a/pylint/checkers/base_checker.py
+++ b/pylint/checkers/base_checker.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
diff --git a/pylint/checkers/classes/__init__.py b/pylint/checkers/classes/__init__.py
index e51194439..422fae2ee 100644
--- a/pylint/checkers/classes/__init__.py
+++ b/pylint/checkers/classes/__init__.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
diff --git a/pylint/checkers/classes/class_checker.py b/pylint/checkers/classes/class_checker.py
index e09df1706..9b0bd50b1 100644
--- a/pylint/checkers/classes/class_checker.py
+++ b/pylint/checkers/classes/class_checker.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
"""Classes checker for Python code."""
diff --git a/pylint/checkers/classes/special_methods_checker.py b/pylint/checkers/classes/special_methods_checker.py
index 9de5e619f..025f28562 100644
--- a/pylint/checkers/classes/special_methods_checker.py
+++ b/pylint/checkers/classes/special_methods_checker.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
"""Special methods checker and helper function's module."""
diff --git a/pylint/checkers/deprecated.py b/pylint/checkers/deprecated.py
index f6a82b1da..821a9836c 100644
--- a/pylint/checkers/deprecated.py
+++ b/pylint/checkers/deprecated.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
"""Checker mixin for deprecated functionality."""
diff --git a/pylint/checkers/design_analysis.py b/pylint/checkers/design_analysis.py
index 11ff7a5a1..701615d89 100644
--- a/pylint/checkers/design_analysis.py
+++ b/pylint/checkers/design_analysis.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
"""Check for signs of poor design."""
diff --git a/pylint/checkers/dunder_methods.py b/pylint/checkers/dunder_methods.py
index b66844901..535dbb168 100644
--- a/pylint/checkers/dunder_methods.py
+++ b/pylint/checkers/dunder_methods.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
@@ -23,7 +23,7 @@ class DunderCallChecker(BaseChecker):
Docs: https://docs.python.org/3/reference/datamodel.html#basic-customization
We exclude names in list pylint.constants.EXTRA_DUNDER_METHODS such as
- __index__ (see https://github.com/PyCQA/pylint/issues/6795)
+ __index__ (see https://github.com/pylint-dev/pylint/issues/6795)
since these either have no alternative method of being called or
have a genuine use case for being called manually.
diff --git a/pylint/checkers/ellipsis_checker.py b/pylint/checkers/ellipsis_checker.py
index 52b15c702..4e7e3bd35 100644
--- a/pylint/checkers/ellipsis_checker.py
+++ b/pylint/checkers/ellipsis_checker.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
"""Ellipsis checker for Python code."""
diff --git a/pylint/checkers/exceptions.py b/pylint/checkers/exceptions.py
index f28ff5ff8..5757b8d55 100644
--- a/pylint/checkers/exceptions.py
+++ b/pylint/checkers/exceptions.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
"""Checks for various exception related errors."""
diff --git a/pylint/checkers/format.py b/pylint/checkers/format.py
index 562c48f5d..62466a4fd 100644
--- a/pylint/checkers/format.py
+++ b/pylint/checkers/format.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
"""Python code format's checker.
@@ -346,7 +346,7 @@ class FormatChecker(BaseTokenChecker, BaseRawFileChecker):
if found_and_or:
return
if keyword_token == "in":
- # This special case was added in https://github.com/PyCQA/pylint/pull/4948
+ # This special case was added in https://github.com/pylint-dev/pylint/pull/4948
# but it could be removed in the future. Avoid churn for now.
return
self.add_message(
@@ -667,8 +667,8 @@ class FormatChecker(BaseTokenChecker, BaseRawFileChecker):
self.add_message("missing-final-newline", line=lineno + offset)
continue
# We don't test for trailing whitespaces in strings
- # See https://github.com/PyCQA/pylint/issues/6936
- # and https://github.com/PyCQA/pylint/issues/3822
+ # See https://github.com/pylint-dev/pylint/issues/6936
+ # and https://github.com/pylint-dev/pylint/issues/3822
if tokens.type(line_start) != tokenize.STRING:
self.check_trailing_whitespace_ending(line, lineno + offset)
diff --git a/pylint/checkers/imports.py b/pylint/checkers/imports.py
index 1ed70d958..64b2abef6 100644
--- a/pylint/checkers/imports.py
+++ b/pylint/checkers/imports.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
"""Imports checkers for Python code."""
diff --git a/pylint/checkers/lambda_expressions.py b/pylint/checkers/lambda_expressions.py
index 69c5b738e..18c03060d 100644
--- a/pylint/checkers/lambda_expressions.py
+++ b/pylint/checkers/lambda_expressions.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
diff --git a/pylint/checkers/logging.py b/pylint/checkers/logging.py
index f7568a3a4..73b44558c 100644
--- a/pylint/checkers/logging.py
+++ b/pylint/checkers/logging.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
"""Checker for use of Python logging."""
diff --git a/pylint/checkers/method_args.py b/pylint/checkers/method_args.py
index e88248219..37db2fa79 100644
--- a/pylint/checkers/method_args.py
+++ b/pylint/checkers/method_args.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
"""Variables checkers for Python code."""
diff --git a/pylint/checkers/misc.py b/pylint/checkers/misc.py
index 8f6495735..89434e759 100644
--- a/pylint/checkers/misc.py
+++ b/pylint/checkers/misc.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
"""Check source code is ascii only or has an encoding declaration (PEP 263)."""
diff --git a/pylint/checkers/modified_iterating_checker.py b/pylint/checkers/modified_iterating_checker.py
index bdc8fff7f..9d89f7255 100644
--- a/pylint/checkers/modified_iterating_checker.py
+++ b/pylint/checkers/modified_iterating_checker.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
diff --git a/pylint/checkers/nested_min_max.py b/pylint/checkers/nested_min_max.py
index e9aa409f0..1198cc6d1 100644
--- a/pylint/checkers/nested_min_max.py
+++ b/pylint/checkers/nested_min_max.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
"""Check for use of nested min/max functions."""
diff --git a/pylint/checkers/newstyle.py b/pylint/checkers/newstyle.py
index 0aed97183..392faeaea 100644
--- a/pylint/checkers/newstyle.py
+++ b/pylint/checkers/newstyle.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
"""Check for new / old style related problems."""
diff --git a/pylint/checkers/non_ascii_names.py b/pylint/checkers/non_ascii_names.py
index 455e575ad..825db1b11 100644
--- a/pylint/checkers/non_ascii_names.py
+++ b/pylint/checkers/non_ascii_names.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
"""All alphanumeric unicode character are allowed in Python but due
to similarities in how they look they can be confused.
diff --git a/pylint/checkers/raw_metrics.py b/pylint/checkers/raw_metrics.py
index 3469dc15e..301e9d2e2 100644
--- a/pylint/checkers/raw_metrics.py
+++ b/pylint/checkers/raw_metrics.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
diff --git a/pylint/checkers/refactoring/__init__.py b/pylint/checkers/refactoring/__init__.py
index d215dcee2..785ce3f96 100644
--- a/pylint/checkers/refactoring/__init__.py
+++ b/pylint/checkers/refactoring/__init__.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
"""Looks for code which can be refactored."""
diff --git a/pylint/checkers/refactoring/implicit_booleaness_checker.py b/pylint/checkers/refactoring/implicit_booleaness_checker.py
index 73503f8e6..3215d7ecd 100644
--- a/pylint/checkers/refactoring/implicit_booleaness_checker.py
+++ b/pylint/checkers/refactoring/implicit_booleaness_checker.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
diff --git a/pylint/checkers/refactoring/not_checker.py b/pylint/checkers/refactoring/not_checker.py
index e356a70e1..555e21099 100644
--- a/pylint/checkers/refactoring/not_checker.py
+++ b/pylint/checkers/refactoring/not_checker.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
import astroid
from astroid import nodes
diff --git a/pylint/checkers/refactoring/recommendation_checker.py b/pylint/checkers/refactoring/recommendation_checker.py
index 3a6d1033c..38d759214 100644
--- a/pylint/checkers/refactoring/recommendation_checker.py
+++ b/pylint/checkers/refactoring/recommendation_checker.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
diff --git a/pylint/checkers/refactoring/refactoring_checker.py b/pylint/checkers/refactoring/refactoring_checker.py
index b0a87b4c9..bfe0f46d0 100644
--- a/pylint/checkers/refactoring/refactoring_checker.py
+++ b/pylint/checkers/refactoring/refactoring_checker.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
@@ -1060,8 +1060,8 @@ class RefactoringChecker(checkers.BaseTokenChecker):
def _check_consider_using_generator(self, node: nodes.Call) -> None:
# 'any', 'all', definitely should use generator, while 'list', 'tuple',
# 'sum', 'max', and 'min' need to be considered first
- # See https://github.com/PyCQA/pylint/pull/3309#discussion_r576683109
- # https://github.com/PyCQA/pylint/pull/6595#issuecomment-1125704244
+ # See https://github.com/pylint-dev/pylint/pull/3309#discussion_r576683109
+ # https://github.com/pylint-dev/pylint/pull/6595#issuecomment-1125704244
# and https://peps.python.org/pep-0289/
checked_call = ["any", "all", "sum", "max", "min", "list", "tuple"]
if (
@@ -1171,7 +1171,7 @@ class RefactoringChecker(checkers.BaseTokenChecker):
if len(node.args) == 0:
# handle case when builtin.next is called without args.
- # see https://github.com/PyCQA/pylint/issues/7828
+ # see https://github.com/pylint-dev/pylint/issues/7828
return
inferred = utils.safe_infer(node.func)
diff --git a/pylint/checkers/similar.py b/pylint/checkers/similar.py
index f738df263..2b08204f2 100644
--- a/pylint/checkers/similar.py
+++ b/pylint/checkers/similar.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
"""A similarities / code duplication command line tool and pylint checker.
diff --git a/pylint/checkers/spelling.py b/pylint/checkers/spelling.py
index 3fbd017f8..8ba4df4d5 100644
--- a/pylint/checkers/spelling.py
+++ b/pylint/checkers/spelling.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
"""Checker for spelling errors in comments and docstrings."""
diff --git a/pylint/checkers/stdlib.py b/pylint/checkers/stdlib.py
index 82b4188a6..edc79867f 100644
--- a/pylint/checkers/stdlib.py
+++ b/pylint/checkers/stdlib.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
"""Checkers for various standard library functions."""
diff --git a/pylint/checkers/strings.py b/pylint/checkers/strings.py
index 380d87fb0..ce122e754 100644
--- a/pylint/checkers/strings.py
+++ b/pylint/checkers/strings.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
"""Checker for string formatting operations."""
@@ -816,7 +816,7 @@ class StringConstantChecker(BaseTokenChecker, BaseRawFileChecker):
token_index = (elt.lineno, elt.col_offset)
if token_index not in self.string_tokens:
# This may happen with Latin1 encoding
- # cf. https://github.com/PyCQA/pylint/issues/2610
+ # cf. https://github.com/pylint-dev/pylint/issues/2610
continue
matching_token, next_token = self.string_tokens[token_index]
# We detect string concatenation: the AST Const is the
diff --git a/pylint/checkers/threading_checker.py b/pylint/checkers/threading_checker.py
index df0dfe7cf..b289d6707 100644
--- a/pylint/checkers/threading_checker.py
+++ b/pylint/checkers/threading_checker.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
diff --git a/pylint/checkers/typecheck.py b/pylint/checkers/typecheck.py
index 254ad78f9..90604261d 100644
--- a/pylint/checkers/typecheck.py
+++ b/pylint/checkers/typecheck.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
"""Try to find more bugs in the code using astroid inference capabilities."""
@@ -2006,7 +2006,7 @@ accessed. Python regular expressions are accepted.",
# TODO: This check was disabled (by adding the leading underscore)
# due to false positives several years ago - can we re-enable it?
- # https://github.com/PyCQA/pylint/issues/6359
+ # https://github.com/pylint-dev/pylint/issues/6359
@only_required_for_messages("unsupported-binary-operation")
def _visit_binop(self, node: nodes.BinOp) -> None:
"""Detect TypeErrors for binary arithmetic operands."""
@@ -2014,7 +2014,7 @@ accessed. Python regular expressions are accepted.",
# TODO: This check was disabled (by adding the leading underscore)
# due to false positives several years ago - can we re-enable it?
- # https://github.com/PyCQA/pylint/issues/6359
+ # https://github.com/pylint-dev/pylint/issues/6359
@only_required_for_messages("unsupported-binary-operation")
def _visit_augassign(self, node: nodes.AugAssign) -> None:
"""Detect TypeErrors for augmented binary arithmetic operands."""
diff --git a/pylint/checkers/unicode.py b/pylint/checkers/unicode.py
index c7e011b6f..ab8410c3e 100644
--- a/pylint/checkers/unicode.py
+++ b/pylint/checkers/unicode.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
"""Unicode and some other ASCII characters can be used to create programs that run
much different compared to what a human reader would expect from them.
diff --git a/pylint/checkers/unsupported_version.py b/pylint/checkers/unsupported_version.py
index 0c4a7c5bb..3832b50ba 100644
--- a/pylint/checkers/unsupported_version.py
+++ b/pylint/checkers/unsupported_version.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
"""Checker for features used that are not supported by all python versions
indicated by the py-version setting.
diff --git a/pylint/checkers/utils.py b/pylint/checkers/utils.py
index 503e5d419..9dd936290 100644
--- a/pylint/checkers/utils.py
+++ b/pylint/checkers/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
"""Some functions that may be useful for various checkers."""
diff --git a/pylint/checkers/variables.py b/pylint/checkers/variables.py
index 4838b78ce..130724fa5 100644
--- a/pylint/checkers/variables.py
+++ b/pylint/checkers/variables.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
"""Variables checkers for Python code."""
@@ -925,12 +925,13 @@ scope_type : {self._atomic.scope_type}
def _check_loop_finishes_via_except(
node: nodes.NodeNG, other_node_try_except: nodes.TryExcept
) -> bool:
- """Check for a case described in https://github.com/PyCQA/pylint/issues/5683.
+ """Check for a specific control flow scenario.
- It consists of a specific control flow scenario where the only
- non-break exit from a loop consists of the very except handler we are
- examining, such that code in the `else` branch of the loop can depend on it
- being assigned.
+ Described in https://github.com/pylint-dev/pylint/issues/5683.
+
+ A scenario where the only non-break exit from a loop consists of the very
+ except handler we are examining, such that code in the `else` branch of
+ the loop can depend on it being assigned.
Example:
diff --git a/pylint/config/__init__.py b/pylint/config/__init__.py
index c26df891e..5dbda321c 100644
--- a/pylint/config/__init__.py
+++ b/pylint/config/__init__.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
diff --git a/pylint/config/_pylint_config/__init__.py b/pylint/config/_pylint_config/__init__.py
index 622d0dfe3..8d36bd88b 100644
--- a/pylint/config/_pylint_config/__init__.py
+++ b/pylint/config/_pylint_config/__init__.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
"""Everything related to the 'pylint-config' command.
diff --git a/pylint/config/_pylint_config/generate_command.py b/pylint/config/_pylint_config/generate_command.py
index 9d0f9d649..d1b73c99b 100644
--- a/pylint/config/_pylint_config/generate_command.py
+++ b/pylint/config/_pylint_config/generate_command.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
"""Everything related to the 'pylint-config generate' command."""
diff --git a/pylint/config/_pylint_config/help_message.py b/pylint/config/_pylint_config/help_message.py
index 15c9803e7..7ba947429 100644
--- a/pylint/config/_pylint_config/help_message.py
+++ b/pylint/config/_pylint_config/help_message.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
"""Everything related to the 'pylint-config -h' command and subcommands."""
diff --git a/pylint/config/_pylint_config/main.py b/pylint/config/_pylint_config/main.py
index 716702df5..e562da2ef 100644
--- a/pylint/config/_pylint_config/main.py
+++ b/pylint/config/_pylint_config/main.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
"""Everything related to the 'pylint-config' command."""
diff --git a/pylint/config/_pylint_config/setup.py b/pylint/config/_pylint_config/setup.py
index ae52b99ba..211f9bc6d 100644
--- a/pylint/config/_pylint_config/setup.py
+++ b/pylint/config/_pylint_config/setup.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
"""Everything related to the setup of the 'pylint-config' command."""
diff --git a/pylint/config/_pylint_config/utils.py b/pylint/config/_pylint_config/utils.py
index cd5f8affe..70b2a8092 100644
--- a/pylint/config/_pylint_config/utils.py
+++ b/pylint/config/_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
"""Utils for the 'pylint-config' command."""
diff --git a/pylint/config/argument.py b/pylint/config/argument.py
index d648ae7e4..697629c13 100644
--- a/pylint/config/argument.py
+++ b/pylint/config/argument.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
"""Definition of an Argument class and transformers for various argument types.
diff --git a/pylint/config/arguments_manager.py b/pylint/config/arguments_manager.py
index 0c94dbf54..4bc891ea0 100644
--- a/pylint/config/arguments_manager.py
+++ b/pylint/config/arguments_manager.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
"""Arguments manager class used to handle command-line arguments and options."""
diff --git a/pylint/config/arguments_provider.py b/pylint/config/arguments_provider.py
index 170c9a156..7f75718ca 100644
--- a/pylint/config/arguments_provider.py
+++ b/pylint/config/arguments_provider.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
"""Arguments provider class used to expose options."""
diff --git a/pylint/config/callback_actions.py b/pylint/config/callback_actions.py
index 91485e095..7c93f2553 100644
--- a/pylint/config/callback_actions.py
+++ b/pylint/config/callback_actions.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
# pylint: disable=too-many-arguments, redefined-builtin, duplicate-code
diff --git a/pylint/config/config_file_parser.py b/pylint/config/config_file_parser.py
index ebb74b42b..047df5889 100644
--- a/pylint/config/config_file_parser.py
+++ b/pylint/config/config_file_parser.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
"""Configuration file parser class."""
diff --git a/pylint/config/config_initialization.py b/pylint/config/config_initialization.py
index 3c9c4e22a..4f7b614ee 100644
--- a/pylint/config/config_initialization.py
+++ b/pylint/config/config_initialization.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
diff --git a/pylint/config/deprecation_actions.py b/pylint/config/deprecation_actions.py
index 233f3377e..85a77cc78 100644
--- a/pylint/config/deprecation_actions.py
+++ b/pylint/config/deprecation_actions.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
# pylint: disable=too-many-arguments, redefined-builtin
diff --git a/pylint/config/exceptions.py b/pylint/config/exceptions.py
index cb4fc1f8f..982e3f494 100644
--- a/pylint/config/exceptions.py
+++ b/pylint/config/exceptions.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
diff --git a/pylint/config/find_default_config_files.py b/pylint/config/find_default_config_files.py
index 32429096d..a121b32a3 100644
--- a/pylint/config/find_default_config_files.py
+++ b/pylint/config/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
diff --git a/pylint/config/help_formatter.py b/pylint/config/help_formatter.py
index 47caa3fff..78d43d178 100644
--- a/pylint/config/help_formatter.py
+++ b/pylint/config/help_formatter.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
diff --git a/pylint/config/utils.py b/pylint/config/utils.py
index eaab2493c..91e4ff86f 100644
--- a/pylint/config/utils.py
+++ b/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
"""Utils for arguments/options parsing and handling."""
diff --git a/pylint/constants.py b/pylint/constants.py
index 1818eed52..c6f40936b 100644
--- a/pylint/constants.py
+++ b/pylint/constants.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
diff --git a/pylint/exceptions.py b/pylint/exceptions.py
index 766eb9327..2bfbfa8cc 100644
--- a/pylint/exceptions.py
+++ b/pylint/exceptions.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
"""Exception classes raised by various operations within pylint."""
diff --git a/pylint/extensions/__init__.py b/pylint/extensions/__init__.py
index 01b978e4b..e9e2b0d1b 100644
--- a/pylint/extensions/__init__.py
+++ b/pylint/extensions/__init__.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
diff --git a/pylint/extensions/_check_docs_utils.py b/pylint/extensions/_check_docs_utils.py
index 33edc95e9..dddc577d6 100644
--- a/pylint/extensions/_check_docs_utils.py
+++ b/pylint/extensions/_check_docs_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
"""Utility methods for docstring checking."""
diff --git a/pylint/extensions/bad_builtin.py b/pylint/extensions/bad_builtin.py
index 904b2a394..22ef2b95e 100644
--- a/pylint/extensions/bad_builtin.py
+++ b/pylint/extensions/bad_builtin.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
"""Checker for deprecated builtins."""
diff --git a/pylint/extensions/broad_try_clause.py b/pylint/extensions/broad_try_clause.py
index 2291d32d4..762055a25 100644
--- a/pylint/extensions/broad_try_clause.py
+++ b/pylint/extensions/broad_try_clause.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
"""Looks for try/except statements with too much code in the try clause."""
diff --git a/pylint/extensions/check_elif.py b/pylint/extensions/check_elif.py
index b584ea35e..de20ed8ec 100644
--- a/pylint/extensions/check_elif.py
+++ b/pylint/extensions/check_elif.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
diff --git a/pylint/extensions/code_style.py b/pylint/extensions/code_style.py
index 262a7f0c4..5ce1ae476 100644
--- a/pylint/extensions/code_style.py
+++ b/pylint/extensions/code_style.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
diff --git a/pylint/extensions/comparetozero.py b/pylint/extensions/comparetozero.py
index 116bf229a..0be821be3 100644
--- a/pylint/extensions/comparetozero.py
+++ b/pylint/extensions/comparetozero.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
"""Looks for comparisons to zero."""
diff --git a/pylint/extensions/comparison_placement.py b/pylint/extensions/comparison_placement.py
index df7cc9890..f7ecceae3 100644
--- a/pylint/extensions/comparison_placement.py
+++ b/pylint/extensions/comparison_placement.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
"""Checks for yoda comparisons (variable before constant)
See https://en.wikipedia.org/wiki/Yoda_conditions.
diff --git a/pylint/extensions/confusing_elif.py b/pylint/extensions/confusing_elif.py
index ada8b5ab1..546b644b3 100644
--- a/pylint/extensions/confusing_elif.py
+++ b/pylint/extensions/confusing_elif.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
diff --git a/pylint/extensions/consider_refactoring_into_while_condition.py b/pylint/extensions/consider_refactoring_into_while_condition.py
index b4b53d8fa..b7e905e8a 100644
--- a/pylint/extensions/consider_refactoring_into_while_condition.py
+++ b/pylint/extensions/consider_refactoring_into_while_condition.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
"""Looks for try/except statements with too much code in the try clause."""
diff --git a/pylint/extensions/consider_ternary_expression.py b/pylint/extensions/consider_ternary_expression.py
index 0e9444662..83046ce38 100644
--- a/pylint/extensions/consider_ternary_expression.py
+++ b/pylint/extensions/consider_ternary_expression.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
"""Check for if / assign blocks that can be rewritten with if-expressions."""
diff --git a/pylint/extensions/dict_init_mutate.py b/pylint/extensions/dict_init_mutate.py
index fb4c83647..4977e234b 100644
--- a/pylint/extensions/dict_init_mutate.py
+++ b/pylint/extensions/dict_init_mutate.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
"""Check for use of dictionary mutation after initialization."""
from __future__ import annotations
diff --git a/pylint/extensions/docparams.py b/pylint/extensions/docparams.py
index 0c2e4e9e3..6e173c39e 100644
--- a/pylint/extensions/docparams.py
+++ b/pylint/extensions/docparams.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
"""Pylint plugin for checking in Sphinx, Google, or Numpy style docstrings."""
diff --git a/pylint/extensions/docstyle.py b/pylint/extensions/docstyle.py
index 1ca2885e9..c54ab93b2 100644
--- a/pylint/extensions/docstyle.py
+++ b/pylint/extensions/docstyle.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
diff --git a/pylint/extensions/dunder.py b/pylint/extensions/dunder.py
index e0e9af316..ad3e272aa 100644
--- a/pylint/extensions/dunder.py
+++ b/pylint/extensions/dunder.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
diff --git a/pylint/extensions/empty_comment.py b/pylint/extensions/empty_comment.py
index e8a914708..61e257ffd 100644
--- a/pylint/extensions/empty_comment.py
+++ b/pylint/extensions/empty_comment.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
diff --git a/pylint/extensions/emptystring.py b/pylint/extensions/emptystring.py
index f96a980f5..7053187b8 100644
--- a/pylint/extensions/emptystring.py
+++ b/pylint/extensions/emptystring.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
"""Looks for comparisons to empty string."""
diff --git a/pylint/extensions/eq_without_hash.py b/pylint/extensions/eq_without_hash.py
index b0d0f01bd..5f39dfa3e 100644
--- a/pylint/extensions/eq_without_hash.py
+++ b/pylint/extensions/eq_without_hash.py
@@ -1,12 +1,12 @@
# 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 is the remnant of the python3 checker.
It was removed because the transition from python 2 to python3 is
behind us, but some checks are still useful in python3 after all.
-See https://github.com/PyCQA/pylint/issues/5025
+See https://github.com/pylint-dev/pylint/issues/5025
"""
from astroid import nodes
diff --git a/pylint/extensions/for_any_all.py b/pylint/extensions/for_any_all.py
index bc7dd9c48..2369a595d 100644
--- a/pylint/extensions/for_any_all.py
+++ b/pylint/extensions/for_any_all.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
"""Check for use of for loops that only check for a condition."""
diff --git a/pylint/extensions/magic_value.py b/pylint/extensions/magic_value.py
index 7cfb410ae..c69711f85 100644
--- a/pylint/extensions/magic_value.py
+++ b/pylint/extensions/magic_value.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
"""Checks for magic values instead of literals."""
diff --git a/pylint/extensions/mccabe.py b/pylint/extensions/mccabe.py
index ea64d2ebf..604360fb7 100644
--- a/pylint/extensions/mccabe.py
+++ b/pylint/extensions/mccabe.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
"""Module to add McCabe checker class for pylint."""
diff --git a/pylint/extensions/no_self_use.py b/pylint/extensions/no_self_use.py
index 0fd38877f..8b9b8aa9b 100644
--- a/pylint/extensions/no_self_use.py
+++ b/pylint/extensions/no_self_use.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
diff --git a/pylint/extensions/overlapping_exceptions.py b/pylint/extensions/overlapping_exceptions.py
index 93d225137..ddcf24e7c 100644
--- a/pylint/extensions/overlapping_exceptions.py
+++ b/pylint/extensions/overlapping_exceptions.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
"""Looks for overlapping exceptions."""
diff --git a/pylint/extensions/private_import.py b/pylint/extensions/private_import.py
index df08c7116..a9e537c1b 100644
--- a/pylint/extensions/private_import.py
+++ b/pylint/extensions/private_import.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
"""Check for imports on private external modules and names."""
diff --git a/pylint/extensions/redefined_loop_name.py b/pylint/extensions/redefined_loop_name.py
index df333fab9..d03b80be3 100644
--- a/pylint/extensions/redefined_loop_name.py
+++ b/pylint/extensions/redefined_loop_name.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
"""Optional checker to warn when loop variables are overwritten in the loop's body."""
diff --git a/pylint/extensions/redefined_variable_type.py b/pylint/extensions/redefined_variable_type.py
index 8d88d856e..ba5af3136 100644
--- a/pylint/extensions/redefined_variable_type.py
+++ b/pylint/extensions/redefined_variable_type.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
diff --git a/pylint/extensions/set_membership.py b/pylint/extensions/set_membership.py
index f267e046f..b72f5aa18 100644
--- a/pylint/extensions/set_membership.py
+++ b/pylint/extensions/set_membership.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
diff --git a/pylint/extensions/typing.py b/pylint/extensions/typing.py
index 264d0c383..2956465cf 100644
--- a/pylint/extensions/typing.py
+++ b/pylint/extensions/typing.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
diff --git a/pylint/extensions/while_used.py b/pylint/extensions/while_used.py
index 6f9612196..da1f9d59c 100644
--- a/pylint/extensions/while_used.py
+++ b/pylint/extensions/while_used.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
"""Check for use of while loops."""
diff --git a/pylint/graph.py b/pylint/graph.py
index 5cffca615..4112fadfa 100644
--- a/pylint/graph.py
+++ b/pylint/graph.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
"""Graph manipulation utilities.
diff --git a/pylint/interfaces.py b/pylint/interfaces.py
index eef2b728b..a93a40ceb 100644
--- a/pylint/interfaces.py
+++ b/pylint/interfaces.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
diff --git a/pylint/lint/__init__.py b/pylint/lint/__init__.py
index cd89c43f8..adc920708 100644
--- a/pylint/lint/__init__.py
+++ b/pylint/lint/__init__.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
"""Pylint [options] modules_or_packages.
diff --git a/pylint/lint/base_options.py b/pylint/lint/base_options.py
index b7c81991a..ee811db4e 100644
--- a/pylint/lint/base_options.py
+++ b/pylint/lint/base_options.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
"""Functions that creates the basic options for the Run and PyLinter classes."""
diff --git a/pylint/lint/caching.py b/pylint/lint/caching.py
index feffac656..97c4503d1 100644
--- a/pylint/lint/caching.py
+++ b/pylint/lint/caching.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
diff --git a/pylint/lint/expand_modules.py b/pylint/lint/expand_modules.py
index 73d7c45f8..1e8fd032f 100644
--- a/pylint/lint/expand_modules.py
+++ b/pylint/lint/expand_modules.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
diff --git a/pylint/lint/message_state_handler.py b/pylint/lint/message_state_handler.py
index b915df737..96d2412c5 100644
--- a/pylint/lint/message_state_handler.py
+++ b/pylint/lint/message_state_handler.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
diff --git a/pylint/lint/parallel.py b/pylint/lint/parallel.py
index 80b86b5e8..e57c7e8ab 100644
--- a/pylint/lint/parallel.py
+++ b/pylint/lint/parallel.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
diff --git a/pylint/lint/pylinter.py b/pylint/lint/pylinter.py
index 314e3939d..104a815cb 100644
--- a/pylint/lint/pylinter.py
+++ b/pylint/lint/pylinter.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
diff --git a/pylint/lint/report_functions.py b/pylint/lint/report_functions.py
index 7d1674977..da7ab5fbc 100644
--- a/pylint/lint/report_functions.py
+++ b/pylint/lint/report_functions.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
diff --git a/pylint/lint/run.py b/pylint/lint/run.py
index 961d78a53..b2716cbec 100644
--- a/pylint/lint/run.py
+++ b/pylint/lint/run.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
diff --git a/pylint/lint/utils.py b/pylint/lint/utils.py
index 93ab8dfab..a7fbfd0bc 100644
--- a/pylint/lint/utils.py
+++ b/pylint/lint/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
from __future__ import annotations
@@ -25,10 +25,10 @@ def prepare_crash_report(ex: Exception, filepath: str, crash_file_path: str) ->
if not issue_template_path.exists():
template = """\
First, please verify that the bug is not already filled:
-https://github.com/PyCQA/pylint/issues/
+https://github.com/pylint-dev/pylint/issues/
Then create a new issue:
-https://github.com/PyCQA/pylint/issues/new?labels=Crash 💥%2CNeeds triage 📥
+https://github.com/pylint-dev/pylint/issues/new?labels=Crash 💥%2CNeeds triage 📥
"""
diff --git a/pylint/message/__init__.py b/pylint/message/__init__.py
index 11d2b17dc..6fa8e44b7 100644
--- a/pylint/message/__init__.py
+++ b/pylint/message/__init__.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
"""All the classes related to Message handling."""
diff --git a/pylint/message/_deleted_message_ids.py b/pylint/message/_deleted_message_ids.py
index 4f361c96a..60289e805 100644
--- a/pylint/message/_deleted_message_ids.py
+++ b/pylint/message/_deleted_message_ids.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
@@ -18,7 +18,7 @@ DELETED_MSGID_PREFIXES: list[int] = []
DELETED_MESSAGES_IDS = {
# Everything until the next comment is from the PY3K+ checker
- "https://github.com/PyCQA/pylint/pull/4942": [
+ "https://github.com/pylint-dev/pylint/pull/4942": [
DeletedMessage("W1601", "apply-builtin"),
DeletedMessage("E1601", "print-statement"),
DeletedMessage("E1602", "parameter-unpacking"),
@@ -95,10 +95,10 @@ DELETED_MESSAGES_IDS = {
DeletedMessage("W1661", "exception-escape"),
DeletedMessage("W1662", "comprehension-escape"),
],
- "https://github.com/PyCQA/pylint/pull/3578": [
+ "https://github.com/pylint-dev/pylint/pull/3578": [
DeletedMessage("W0312", "mixed-indentation"),
],
- "https://github.com/PyCQA/pylint/pull/3577": [
+ "https://github.com/pylint-dev/pylint/pull/3577": [
DeletedMessage(
"C0326",
"bad-whitespace",
@@ -109,7 +109,7 @@ DELETED_MESSAGES_IDS = {
],
),
],
- "https://github.com/PyCQA/pylint/pull/3571": [
+ "https://github.com/pylint-dev/pylint/pull/3571": [
DeletedMessage("C0330", "bad-continuation")
],
"https://pylint.readthedocs.io/en/latest/whatsnew/1/1.4.html#what-s-new-in-pylint-1-4-3": [
@@ -117,10 +117,10 @@ DELETED_MESSAGES_IDS = {
DeletedMessage("R0922", "abstract-class-little-used"),
DeletedMessage("W0142", "star-args"),
],
- "https://github.com/PyCQA/pylint/issues/2409": [
+ "https://github.com/pylint-dev/pylint/issues/2409": [
DeletedMessage("W0232", "no-init"),
],
- "https://github.com/PyCQA/pylint/pull/6421": [
+ "https://github.com/pylint-dev/pylint/pull/6421": [
DeletedMessage("W0111", "assign-to-new-keyword"),
],
}
diff --git a/pylint/message/message.py b/pylint/message/message.py
index 0fd02c369..6ee8c5f78 100644
--- a/pylint/message/message.py
+++ b/pylint/message/message.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
diff --git a/pylint/message/message_definition.py b/pylint/message/message_definition.py
index 360d72a8a..29a8780cb 100644
--- a/pylint/message/message_definition.py
+++ b/pylint/message/message_definition.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
diff --git a/pylint/message/message_definition_store.py b/pylint/message/message_definition_store.py
index 7bbc70a51..4921be212 100644
--- a/pylint/message/message_definition_store.py
+++ b/pylint/message/message_definition_store.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
@@ -58,7 +58,7 @@ class MessageDefinitionStore:
# Since MessageDefinitionStore is only initialized once
# and the arguments are relatively small we do not run the
# risk of creating a large memory leak.
- # See discussion in: https://github.com/PyCQA/pylint/pull/5673
+ # See discussion in: https://github.com/pylint-dev/pylint/pull/5673
@functools.lru_cache( # pylint: disable=method-cache-max-size-none # noqa: B019
maxsize=None
)
diff --git a/pylint/message/message_id_store.py b/pylint/message/message_id_store.py
index d1810bd2b..273522d3d 100644
--- a/pylint/message/message_id_store.py
+++ b/pylint/message/message_id_store.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
diff --git a/pylint/pyreverse/__init__.py b/pylint/pyreverse/__init__.py
index 458c0f35d..175e9cb67 100644
--- a/pylint/pyreverse/__init__.py
+++ b/pylint/pyreverse/__init__.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
"""Pyreverse.extensions."""
diff --git a/pylint/pyreverse/diadefslib.py b/pylint/pyreverse/diadefslib.py
index 5f12eaf7c..3b7694823 100644
--- a/pylint/pyreverse/diadefslib.py
+++ b/pylint/pyreverse/diadefslib.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
"""Handle diagram generation options for class diagram or default diagrams."""
diff --git a/pylint/pyreverse/diagrams.py b/pylint/pyreverse/diagrams.py
index 1f76b29ce..978cf26bd 100644
--- a/pylint/pyreverse/diagrams.py
+++ b/pylint/pyreverse/diagrams.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
"""Diagram objects."""
diff --git a/pylint/pyreverse/dot_printer.py b/pylint/pyreverse/dot_printer.py
index 381c7b69f..054814d05 100644
--- a/pylint/pyreverse/dot_printer.py
+++ b/pylint/pyreverse/dot_printer.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
"""Class to generate files in dot format and image formats supported by Graphviz."""
diff --git a/pylint/pyreverse/inspector.py b/pylint/pyreverse/inspector.py
index f36816c97..0cabe9473 100644
--- a/pylint/pyreverse/inspector.py
+++ b/pylint/pyreverse/inspector.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
"""Visitor doing some post-processing on the astroid tree.
diff --git a/pylint/pyreverse/main.py b/pylint/pyreverse/main.py
index 8cd0d567e..975e432e4 100644
--- a/pylint/pyreverse/main.py
+++ b/pylint/pyreverse/main.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
"""Create UML diagrams for classes and modules in <packages>."""
diff --git a/pylint/pyreverse/mermaidjs_printer.py b/pylint/pyreverse/mermaidjs_printer.py
index 37a52f6d3..61d0d7948 100644
--- a/pylint/pyreverse/mermaidjs_printer.py
+++ b/pylint/pyreverse/mermaidjs_printer.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
"""Class to generate files in mermaidjs format."""
diff --git a/pylint/pyreverse/plantuml_printer.py b/pylint/pyreverse/plantuml_printer.py
index 42cd6e43c..5f703b62e 100644
--- a/pylint/pyreverse/plantuml_printer.py
+++ b/pylint/pyreverse/plantuml_printer.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
"""Class to generate files in dot format and image formats supported by Graphviz."""
diff --git a/pylint/pyreverse/printer.py b/pylint/pyreverse/printer.py
index 45b06f5c2..f08c74602 100644
--- a/pylint/pyreverse/printer.py
+++ b/pylint/pyreverse/printer.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
"""Base class defining the interface for a printer."""
diff --git a/pylint/pyreverse/printer_factory.py b/pylint/pyreverse/printer_factory.py
index e981b5ba4..fdbe480ed 100644
--- a/pylint/pyreverse/printer_factory.py
+++ b/pylint/pyreverse/printer_factory.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
diff --git a/pylint/pyreverse/utils.py b/pylint/pyreverse/utils.py
index d1aad2a03..6294773b2 100644
--- a/pylint/pyreverse/utils.py
+++ b/pylint/pyreverse/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
"""Generic classes/functions for pyreverse core/extensions."""
diff --git a/pylint/pyreverse/writer.py b/pylint/pyreverse/writer.py
index c1831feaa..cb711dd10 100644
--- a/pylint/pyreverse/writer.py
+++ b/pylint/pyreverse/writer.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
"""Utilities for creating diagrams."""
diff --git a/pylint/reporters/__init__.py b/pylint/reporters/__init__.py
index f22530de1..cf7b57576 100644
--- a/pylint/reporters/__init__.py
+++ b/pylint/reporters/__init__.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
"""Utilities methods and classes for reporters."""
diff --git a/pylint/reporters/base_reporter.py b/pylint/reporters/base_reporter.py
index 518f2f2ae..d370b1910 100644
--- a/pylint/reporters/base_reporter.py
+++ b/pylint/reporters/base_reporter.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
diff --git a/pylint/reporters/collecting_reporter.py b/pylint/reporters/collecting_reporter.py
index ca9170253..943a74d55 100644
--- a/pylint/reporters/collecting_reporter.py
+++ b/pylint/reporters/collecting_reporter.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
diff --git a/pylint/reporters/json_reporter.py b/pylint/reporters/json_reporter.py
index a12bece6d..74fa6672b 100644
--- a/pylint/reporters/json_reporter.py
+++ b/pylint/reporters/json_reporter.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
"""JSON reporter."""
diff --git a/pylint/reporters/multi_reporter.py b/pylint/reporters/multi_reporter.py
index 8bf0828c4..0c27293b7 100644
--- a/pylint/reporters/multi_reporter.py
+++ b/pylint/reporters/multi_reporter.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
diff --git a/pylint/reporters/reports_handler_mix_in.py b/pylint/reporters/reports_handler_mix_in.py
index 32a7190e7..95d45ba91 100644
--- a/pylint/reporters/reports_handler_mix_in.py
+++ b/pylint/reporters/reports_handler_mix_in.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
diff --git a/pylint/reporters/text.py b/pylint/reporters/text.py
index b30698e4d..462ea48fe 100644
--- a/pylint/reporters/text.py
+++ b/pylint/reporters/text.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
"""Plain text reporters:.
diff --git a/pylint/reporters/ureports/__init__.py b/pylint/reporters/ureports/__init__.py
index a6a0946af..b87c3c319 100644
--- a/pylint/reporters/ureports/__init__.py
+++ b/pylint/reporters/ureports/__init__.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
__all__ = ("BaseWriter",)
diff --git a/pylint/reporters/ureports/base_writer.py b/pylint/reporters/ureports/base_writer.py
index e4bd7e710..9a12123cb 100644
--- a/pylint/reporters/ureports/base_writer.py
+++ b/pylint/reporters/ureports/base_writer.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
"""Universal report objects and some formatting drivers.
diff --git a/pylint/reporters/ureports/nodes.py b/pylint/reporters/ureports/nodes.py
index a09ca8922..59443996d 100644
--- a/pylint/reporters/ureports/nodes.py
+++ b/pylint/reporters/ureports/nodes.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
"""Micro reports objects.
diff --git a/pylint/reporters/ureports/text_writer.py b/pylint/reporters/ureports/text_writer.py
index 13c675aab..5dd6a5d08 100644
--- a/pylint/reporters/ureports/text_writer.py
+++ b/pylint/reporters/ureports/text_writer.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
"""Text formatting drivers for ureports."""
diff --git a/pylint/testutils/__init__.py b/pylint/testutils/__init__.py
index e9b8de1de..0ff9b773b 100644
--- a/pylint/testutils/__init__.py
+++ b/pylint/testutils/__init__.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
"""Functional/non regression tests for pylint."""
diff --git a/pylint/testutils/_primer/__init__.py b/pylint/testutils/_primer/__init__.py
index 17c854572..2c40f561b 100644
--- a/pylint/testutils/_primer/__init__.py
+++ b/pylint/testutils/_primer/__init__.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
__all__ = ["PackageToLint", "PRIMER_DIRECTORY_PATH"]
diff --git a/pylint/testutils/_primer/package_to_lint.py b/pylint/testutils/_primer/package_to_lint.py
index d59f93ed5..11df63bd2 100644
--- a/pylint/testutils/_primer/package_to_lint.py
+++ b/pylint/testutils/_primer/package_to_lint.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
diff --git a/pylint/testutils/_primer/primer.py b/pylint/testutils/_primer/primer.py
index 7d08f1df5..abe6bc4dd 100644
--- a/pylint/testutils/_primer/primer.py
+++ b/pylint/testutils/_primer/primer.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
diff --git a/pylint/testutils/_primer/primer_command.py b/pylint/testutils/_primer/primer_command.py
index bbc930913..08adedd4c 100644
--- a/pylint/testutils/_primer/primer_command.py
+++ b/pylint/testutils/_primer/primer_command.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
diff --git a/pylint/testutils/_primer/primer_compare_command.py b/pylint/testutils/_primer/primer_compare_command.py
index acc1c9562..b405d7577 100644
--- a/pylint/testutils/_primer/primer_compare_command.py
+++ b/pylint/testutils/_primer/primer_compare_command.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
import json
diff --git a/pylint/testutils/_primer/primer_prepare_command.py b/pylint/testutils/_primer/primer_prepare_command.py
index e69e55b95..4cbc5cf17 100644
--- a/pylint/testutils/_primer/primer_prepare_command.py
+++ b/pylint/testutils/_primer/primer_prepare_command.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
import sys
diff --git a/pylint/testutils/_primer/primer_run_command.py b/pylint/testutils/_primer/primer_run_command.py
index 8a31dbf2e..c91983793 100644
--- a/pylint/testutils/_primer/primer_run_command.py
+++ b/pylint/testutils/_primer/primer_run_command.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
diff --git a/pylint/testutils/_run.py b/pylint/testutils/_run.py
index f1e7fbb9a..e0a19deca 100644
--- a/pylint/testutils/_run.py
+++ b/pylint/testutils/_run.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
"""Classes and functions used to mimic normal pylint runs.
diff --git a/pylint/testutils/checker_test_case.py b/pylint/testutils/checker_test_case.py
index cd2f9c317..343eb8254 100644
--- a/pylint/testutils/checker_test_case.py
+++ b/pylint/testutils/checker_test_case.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
diff --git a/pylint/testutils/configuration_test.py b/pylint/testutils/configuration_test.py
index 8b921ceff..5ddb2c03b 100644
--- a/pylint/testutils/configuration_test.py
+++ b/pylint/testutils/configuration_test.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
"""Utility functions for configuration testing."""
diff --git a/pylint/testutils/constants.py b/pylint/testutils/constants.py
index 1c3c69d79..0d93b7e87 100644
--- a/pylint/testutils/constants.py
+++ b/pylint/testutils/constants.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
import operator
import re
diff --git a/pylint/testutils/decorator.py b/pylint/testutils/decorator.py
index ab99cbdd8..c20692132 100644
--- a/pylint/testutils/decorator.py
+++ b/pylint/testutils/decorator.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
diff --git a/pylint/testutils/functional/__init__.py b/pylint/testutils/functional/__init__.py
index 4840e1ba6..c1c1c5139 100644
--- a/pylint/testutils/functional/__init__.py
+++ b/pylint/testutils/functional/__init__.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
__all__ = [
"FunctionalTestFile",
diff --git a/pylint/testutils/functional/find_functional_tests.py b/pylint/testutils/functional/find_functional_tests.py
index 33d84e0f9..f2e636687 100644
--- a/pylint/testutils/functional/find_functional_tests.py
+++ b/pylint/testutils/functional/find_functional_tests.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
diff --git a/pylint/testutils/functional/lint_module_output_update.py b/pylint/testutils/functional/lint_module_output_update.py
index e4f88b3ef..8855fd1aa 100644
--- a/pylint/testutils/functional/lint_module_output_update.py
+++ b/pylint/testutils/functional/lint_module_output_update.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
diff --git a/pylint/testutils/functional/test_file.py b/pylint/testutils/functional/test_file.py
index b7a84b752..5b2e4efb6 100644
--- a/pylint/testutils/functional/test_file.py
+++ b/pylint/testutils/functional/test_file.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
diff --git a/pylint/testutils/get_test_info.py b/pylint/testutils/get_test_info.py
index a91b1ecd2..eb2c78cfd 100644
--- a/pylint/testutils/get_test_info.py
+++ b/pylint/testutils/get_test_info.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
diff --git a/pylint/testutils/global_test_linter.py b/pylint/testutils/global_test_linter.py
index d1ffac599..2e0d3d170 100644
--- a/pylint/testutils/global_test_linter.py
+++ b/pylint/testutils/global_test_linter.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 pylint import checkers
from pylint.lint import PyLinter
diff --git a/pylint/testutils/lint_module_test.py b/pylint/testutils/lint_module_test.py
index e1036170a..b578e3162 100644
--- a/pylint/testutils/lint_module_test.py
+++ b/pylint/testutils/lint_module_test.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
diff --git a/pylint/testutils/output_line.py b/pylint/testutils/output_line.py
index 8e3c65b0e..95f24cc12 100644
--- a/pylint/testutils/output_line.py
+++ b/pylint/testutils/output_line.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
diff --git a/pylint/testutils/pyreverse.py b/pylint/testutils/pyreverse.py
index 74395524b..ba79ebf8b 100644
--- a/pylint/testutils/pyreverse.py
+++ b/pylint/testutils/pyreverse.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
diff --git a/pylint/testutils/reporter_for_tests.py b/pylint/testutils/reporter_for_tests.py
index 62d70a38d..d3c06eecd 100644
--- a/pylint/testutils/reporter_for_tests.py
+++ b/pylint/testutils/reporter_for_tests.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
@@ -20,7 +20,7 @@ class GenericTestReporter(BaseReporter):
out: StringIO
- def __init__( # pylint: disable=super-init-not-called # See https://github.com/PyCQA/pylint/issues/4941
+ def __init__( # pylint: disable=super-init-not-called # See https://github.com/pylint-dev/pylint/issues/4941
self,
) -> None:
self.path_strip_prefix: str = getcwd() + sep
diff --git a/pylint/testutils/tokenize_str.py b/pylint/testutils/tokenize_str.py
index 13295fe51..dc9ada72a 100644
--- a/pylint/testutils/tokenize_str.py
+++ b/pylint/testutils/tokenize_str.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
diff --git a/pylint/testutils/unittest_linter.py b/pylint/testutils/unittest_linter.py
index a519680f1..84fc53bc8 100644
--- a/pylint/testutils/unittest_linter.py
+++ b/pylint/testutils/unittest_linter.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
# pylint: disable=duplicate-code
diff --git a/pylint/testutils/utils.py b/pylint/testutils/utils.py
index 292e991c2..1ff999b28 100644
--- a/pylint/testutils/utils.py
+++ b/pylint/testutils/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
from __future__ import annotations
diff --git a/pylint/typing.py b/pylint/typing.py
index d62618605..ac0beaaec 100644
--- a/pylint/typing.py
+++ b/pylint/typing.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
"""A collection of typing utilities."""
diff --git a/pylint/utils/__init__.py b/pylint/utils/__init__.py
index a42d0a95e..61833a598 100644
--- a/pylint/utils/__init__.py
+++ b/pylint/utils/__init__.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
"""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 cf0f13fd1..338caf57a 100644
--- a/pylint/utils/ast_walker.py
+++ b/pylint/utils/ast_walker.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
diff --git a/pylint/utils/docs.py b/pylint/utils/docs.py
index b670c1bc7..ba592c4a4 100644
--- a/pylint/utils/docs.py
+++ b/pylint/utils/docs.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
"""Various helper functions to create the docs of a linter object."""
diff --git a/pylint/utils/file_state.py b/pylint/utils/file_state.py
index f849c9882..54b98e4be 100644
--- a/pylint/utils/file_state.py
+++ b/pylint/utils/file_state.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
diff --git a/pylint/utils/linterstats.py b/pylint/utils/linterstats.py
index f9a6c6c3c..01120115f 100644
--- a/pylint/utils/linterstats.py
+++ b/pylint/utils/linterstats.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
diff --git a/pylint/utils/pragma_parser.py b/pylint/utils/pragma_parser.py
index df3627380..12513e284 100644
--- a/pylint/utils/pragma_parser.py
+++ b/pylint/utils/pragma_parser.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
diff --git a/pylint/utils/utils.py b/pylint/utils/utils.py
index 33226aa87..315811ebf 100644
--- a/pylint/utils/utils.py
+++ b/pylint/utils/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
from __future__ import annotations
diff --git a/pyproject.toml b/pyproject.toml
index 117c8df3d..a071ca5a1 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -56,10 +56,10 @@ spelling = ["pyenchant~=3.2"]
[project.urls]
"Docs: User Guide" = "https://pylint.readthedocs.io/en/latest/"
-"Source Code" = "https://github.com/PyCQA/pylint"
-"homepage" = "https://github.com/PyCQA/pylint"
+"Source Code" = "https://github.com/pylint-dev/pylint"
+"homepage" = "https://github.com/pylint-dev/pylint"
"What's New" = "https://pylint.readthedocs.io/en/latest/whatsnew/2/"
-"Bug Tracker" = "https://github.com/PyCQA/pylint/issues"
+"Bug Tracker" = "https://github.com/pylint-dev/pylint/issues"
"Discord Server" = "https://discord.com/invite/Egy6P8AMB5"
"Docs: Contributor Guide" = "https://pylint.readthedocs.io/en/latest/development_guide/contributor_guide/index.html"
diff --git a/script/__init__.py b/script/__init__.py
index e8a8ff79f..cfd18ddd3 100644
--- a/script/__init__.py
+++ b/script/__init__.py
@@ -1,3 +1,3 @@
# 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
diff --git a/script/bump_changelog.py b/script/bump_changelog.py
index 0963c7c60..3c04c4be5 100644
--- a/script/bump_changelog.py
+++ b/script/bump_changelog.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 script updates towncrier.toml and creates a new newsfile and intermediate
folders if necessary.
diff --git a/script/check_newsfragments.py b/script/check_newsfragments.py
index b840d9da0..084efe223 100644
--- a/script/check_newsfragments.py
+++ b/script/check_newsfragments.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
"""Small script to check the formatting of news fragments for towncrier.
Used by pre-commit.
diff --git a/script/copyright.txt b/script/copyright.txt
index e8a8ff79f..cfd18ddd3 100644
--- a/script/copyright.txt
+++ b/script/copyright.txt
@@ -1,3 +1,3 @@
# 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
diff --git a/script/create_contributor_list.py b/script/create_contributor_list.py
index 4502f824d..656902e91 100644
--- a/script/create_contributor_list.py
+++ b/script/create_contributor_list.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/script/get_unused_message_id_category.py b/script/get_unused_message_id_category.py
index 5f811a5d7..0e0e67d68 100644
--- a/script/get_unused_message_id_category.py
+++ b/script/get_unused_message_id_category.py
@@ -1,7 +1,7 @@
"""Small script to get a new unused message id category."""
# 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
diff --git a/tbump.toml b/tbump.toml
index 0566aa6c2..bbf28790b 100644
--- a/tbump.toml
+++ b/tbump.toml
@@ -1,4 +1,4 @@
-github_url = "https://github.com/PyCQA/pylint"
+github_url = "https://github.com/pylint-dev/pylint"
[version]
current = "3.0.0a6"
diff --git a/tests/benchmark/test_baseline_benchmarks.py b/tests/benchmark/test_baseline_benchmarks.py
index 42521b593..e663aa4b0 100644
--- a/tests/benchmark/test_baseline_benchmarks.py
+++ b/tests/benchmark/test_baseline_benchmarks.py
@@ -1,8 +1,8 @@
"""Profiles basic -jX functionality."""
# 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
# pylint: disable=missing-function-docstring
diff --git a/tests/checkers/base/unittest_base.py b/tests/checkers/base/unittest_base.py
index 99a8f659e..8e432bffb 100644
--- a/tests/checkers/base/unittest_base.py
+++ b/tests/checkers/base/unittest_base.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
"""Unittest for the base checker."""
diff --git a/tests/checkers/base/unittest_multi_naming_style.py b/tests/checkers/base/unittest_multi_naming_style.py
index 457913149..5e17e6411 100644
--- a/tests/checkers/base/unittest_multi_naming_style.py
+++ b/tests/checkers/base/unittest_multi_naming_style.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
"""Unittest for the NameChecker."""
diff --git a/tests/checkers/base/unittest_name_preset.py b/tests/checkers/base/unittest_name_preset.py
index 49a81deff..412e2ee8e 100644
--- a/tests/checkers/base/unittest_name_preset.py
+++ b/tests/checkers/base/unittest_name_preset.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
"""Unittest for the NameChecker."""
diff --git a/tests/checkers/conftest.py b/tests/checkers/conftest.py
index ac2a187d4..c91a97198 100644
--- a/tests/checkers/conftest.py
+++ b/tests/checkers/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/checkers/unittest_base_checker.py b/tests/checkers/unittest_base_checker.py
index 95013cc9b..4c4b6d563 100644
--- a/tests/checkers/unittest_base_checker.py
+++ b/tests/checkers/unittest_base_checker.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
"""Unittest for the BaseChecker class."""
diff --git a/tests/checkers/unittest_deprecated.py b/tests/checkers/unittest_deprecated.py
index d34150247..a9efaa505 100644
--- a/tests/checkers/unittest_deprecated.py
+++ b/tests/checkers/unittest_deprecated.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
diff --git a/tests/checkers/unittest_design.py b/tests/checkers/unittest_design.py
index f2ea09d2d..379fee559 100644
--- a/tests/checkers/unittest_design.py
+++ b/tests/checkers/unittest_design.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
import astroid
diff --git a/tests/checkers/unittest_format.py b/tests/checkers/unittest_format.py
index bce643b52..dfaf037b9 100644
--- a/tests/checkers/unittest_format.py
+++ b/tests/checkers/unittest_format.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
"""Check format checker helper functions."""
diff --git a/tests/checkers/unittest_imports.py b/tests/checkers/unittest_imports.py
index d454c8161..4a8d6e553 100644
--- a/tests/checkers/unittest_imports.py
+++ b/tests/checkers/unittest_imports.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
"""Unit tests for the imports checker."""
diff --git a/tests/checkers/unittest_misc.py b/tests/checkers/unittest_misc.py
index e360d3bb6..2f292b81f 100644
--- a/tests/checkers/unittest_misc.py
+++ b/tests/checkers/unittest_misc.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
"""Tests for the misc checker."""
diff --git a/tests/checkers/unittest_non_ascii_name.py b/tests/checkers/unittest_non_ascii_name.py
index 4f854dddc..0741a9fb0 100644
--- a/tests/checkers/unittest_non_ascii_name.py
+++ b/tests/checkers/unittest_non_ascii_name.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
diff --git a/tests/checkers/unittest_refactoring.py b/tests/checkers/unittest_refactoring.py
index d40e0eb92..30b1dce2e 100644
--- a/tests/checkers/unittest_refactoring.py
+++ b/tests/checkers/unittest_refactoring.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
import os
diff --git a/tests/checkers/unittest_similar.py b/tests/checkers/unittest_similar.py
index c0f0cdcbf..f5bfc6fb2 100644
--- a/tests/checkers/unittest_similar.py
+++ b/tests/checkers/unittest_similar.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 contextlib import redirect_stdout
from io import StringIO
diff --git a/tests/checkers/unittest_spelling.py b/tests/checkers/unittest_spelling.py
index b02cf73a8..08c1fa051 100644
--- a/tests/checkers/unittest_spelling.py
+++ b/tests/checkers/unittest_spelling.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
"""Unittest for the spelling checker."""
diff --git a/tests/checkers/unittest_stdlib.py b/tests/checkers/unittest_stdlib.py
index 66747deb9..156248434 100644
--- a/tests/checkers/unittest_stdlib.py
+++ b/tests/checkers/unittest_stdlib.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
diff --git a/tests/checkers/unittest_strings.py b/tests/checkers/unittest_strings.py
index 7927dcc49..6c93e0865 100644
--- a/tests/checkers/unittest_strings.py
+++ b/tests/checkers/unittest_strings.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 pylint.checkers import strings
diff --git a/tests/checkers/unittest_typecheck.py b/tests/checkers/unittest_typecheck.py
index afcc2dc2e..2bef6da19 100644
--- a/tests/checkers/unittest_typecheck.py
+++ b/tests/checkers/unittest_typecheck.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
import astroid
import pytest
diff --git a/tests/checkers/unittest_unicode/__init__.py b/tests/checkers/unittest_unicode/__init__.py
index 3f516f032..bb7a14a70 100644
--- a/tests/checkers/unittest_unicode/__init__.py
+++ b/tests/checkers/unittest_unicode/__init__.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
import io
from pathlib import Path
diff --git a/tests/checkers/unittest_unicode/unittest_bad_chars.py b/tests/checkers/unittest_unicode/unittest_bad_chars.py
index 7746ce4ae..e5cdcfe04 100644
--- a/tests/checkers/unittest_unicode/unittest_bad_chars.py
+++ b/tests/checkers/unittest_unicode/unittest_bad_chars.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
# pylint: disable=redefined-outer-name
diff --git a/tests/checkers/unittest_unicode/unittest_bidirectional_unicode.py b/tests/checkers/unittest_unicode/unittest_bidirectional_unicode.py
index 6b11dcfef..95b2b4602 100644
--- a/tests/checkers/unittest_unicode/unittest_bidirectional_unicode.py
+++ b/tests/checkers/unittest_unicode/unittest_bidirectional_unicode.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
import itertools
import unicodedata
diff --git a/tests/checkers/unittest_unicode/unittest_functions.py b/tests/checkers/unittest_unicode/unittest_functions.py
index 0c809ccdc..09401fd64 100644
--- a/tests/checkers/unittest_unicode/unittest_functions.py
+++ b/tests/checkers/unittest_unicode/unittest_functions.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
diff --git a/tests/checkers/unittest_unicode/unittest_invalid_encoding.py b/tests/checkers/unittest_unicode/unittest_invalid_encoding.py
index e8695a74f..34e344281 100644
--- a/tests/checkers/unittest_unicode/unittest_invalid_encoding.py
+++ b/tests/checkers/unittest_unicode/unittest_invalid_encoding.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
diff --git a/tests/checkers/unittest_utils.py b/tests/checkers/unittest_utils.py
index f9178ce86..9d90d4c01 100644
--- a/tests/checkers/unittest_utils.py
+++ b/tests/checkers/unittest_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
"""Tests for the pylint.checkers.utils module."""
diff --git a/tests/checkers/unittest_variables.py b/tests/checkers/unittest_variables.py
index e3f013226..858873a36 100644
--- a/tests/checkers/unittest_variables.py
+++ b/tests/checkers/unittest_variables.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
import os
import re
@@ -151,7 +151,7 @@ class TestVariablesCheckerWithTearDown(CheckerTestCase):
# Undefined-method in class def
# Issue 1824
- # https://github.com/PyCQA/pylint/issues/1824
+ # https://github.com/pylint-dev/pylint/issues/1824
node = astroid.parse(
"""
class MyObject(object):
@@ -166,7 +166,7 @@ class TestVariablesCheckerWithTearDown(CheckerTestCase):
"""Make sure variables from parent lambdas
aren't noted as undefined
- https://github.com/PyCQA/pylint/issues/760
+ https://github.com/pylint-dev/pylint/issues/760
"""
node = astroid.parse(
"""
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
diff --git a/tests/conftest.py b/tests/conftest.py
index a35e5cc14..40b138448 100644
--- a/tests/conftest.py
+++ b/tests/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
# pylint: disable=redefined-outer-name
diff --git a/tests/extensions/__init__.py b/tests/extensions/__init__.py
index e8a8ff79f..cfd18ddd3 100644
--- a/tests/extensions/__init__.py
+++ b/tests/extensions/__init__.py
@@ -1,3 +1,3 @@
# 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
diff --git a/tests/extensions/test_check_docs_utils.py b/tests/extensions/test_check_docs_utils.py
index 692c14859..a0902b673 100644
--- a/tests/extensions/test_check_docs_utils.py
+++ b/tests/extensions/test_check_docs_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
"""Unit tests for utils functions in :mod:`pylint.extensions._check_docs_utils`."""
diff --git a/tests/extensions/test_private_import.py b/tests/extensions/test_private_import.py
index c82f51a42..a10384eac 100644
--- a/tests/extensions/test_private_import.py
+++ b/tests/extensions/test_private_import.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
"""Tests the local module directory comparison logic which requires mocking file directories"""
diff --git a/tests/functional/a/access/access_to_protected_members.py b/tests/functional/a/access/access_to_protected_members.py
index 9ca221628..334ec6a24 100644
--- a/tests/functional/a/access/access_to_protected_members.py
+++ b/tests/functional/a/access/access_to_protected_members.py
@@ -215,7 +215,7 @@ class Issue1159Subclass(Issue1159):
class Issue3066:
"""Test for GitHub issue 3066
Accessing of attributes/methods of inner and outer classes
- https://github.com/PyCQA/pylint/issues/3066"""
+ https://github.com/pylint-dev/pylint/issues/3066"""
attr = 0
_attr = 1
diff --git a/tests/functional/a/alternative/alternative_union_syntax_error.py b/tests/functional/a/alternative/alternative_union_syntax_error.py
index d998b7f00..5730e2e50 100644
--- a/tests/functional/a/alternative/alternative_union_syntax_error.py
+++ b/tests/functional/a/alternative/alternative_union_syntax_error.py
@@ -10,7 +10,7 @@ Testing only 3.8/3.9 to support TypedDict.
# pylint: disable=unnecessary-lambda-assignment
# Disabled because of a bug with pypy 3.8 see
-# https://github.com/PyCQA/pylint/pull/7918#issuecomment-1352737369
+# https://github.com/pylint-dev/pylint/pull/7918#issuecomment-1352737369
# pylint: disable=multiple-statements
import dataclasses
diff --git a/tests/functional/a/alternative/alternative_union_syntax_py37.py b/tests/functional/a/alternative/alternative_union_syntax_py37.py
index 41eb75ec6..b82a45153 100644
--- a/tests/functional/a/alternative/alternative_union_syntax_py37.py
+++ b/tests/functional/a/alternative/alternative_union_syntax_py37.py
@@ -9,7 +9,7 @@ Testing only 3.8/3.9 to support TypedDict.
# pylint: disable=inherit-non-class,too-few-public-methods,line-too-long,unnecessary-direct-lambda-call
# Disabled because of a bug with pypy 3.8 see
-# https://github.com/PyCQA/pylint/pull/7918#issuecomment-1352737369
+# https://github.com/pylint-dev/pylint/pull/7918#issuecomment-1352737369
# pylint: disable=multiple-statements
from __future__ import annotations
diff --git a/tests/functional/a/alternative/alternative_union_syntax_regession_8119.py b/tests/functional/a/alternative/alternative_union_syntax_regession_8119.py
index 8ec199958..6859e65a7 100644
--- a/tests/functional/a/alternative/alternative_union_syntax_regession_8119.py
+++ b/tests/functional/a/alternative/alternative_union_syntax_regession_8119.py
@@ -2,7 +2,7 @@
Syntax support was added in Python 3.10.
The code snipped should not raise any errors.
-https://github.com/PyCQA/pylint/issues/8119
+https://github.com/pylint-dev/pylint/issues/8119
"""
# pylint: disable=missing-docstring,too-few-public-methods
from typing import Generic, TypeVar
diff --git a/tests/functional/a/arguments.py b/tests/functional/a/arguments.py
index 6929b9850..29fdbd5ba 100644
--- a/tests/functional/a/arguments.py
+++ b/tests/functional/a/arguments.py
@@ -265,7 +265,7 @@ CALL = lambda *args: func(*args)
# Ensure `too-many-function-args` is not emitted when a function call is assigned
# to a class attribute inside the class where the function is defined.
-# Reference: https://github.com/PyCQA/pylint/issues/6592
+# Reference: https://github.com/pylint-dev/pylint/issues/6592
class FruitPicker:
def _pick_fruit(fruit):
def _print_selection(self):
diff --git a/tests/functional/a/arguments_differ.py b/tests/functional/a/arguments_differ.py
index f579f89a6..65e953d76 100644
--- a/tests/functional/a/arguments_differ.py
+++ b/tests/functional/a/arguments_differ.py
@@ -246,7 +246,7 @@ class ChildClass(ParentClass):
pass
-# https://github.com/PyCQA/pylint/issues/4443
+# https://github.com/pylint-dev/pylint/issues/4443
# Some valid overwrites with type annotations
import typing # pylint: disable=wrong-import-position
@@ -331,8 +331,8 @@ class Foo2(AbstractFoo):
# Adding arguments with default values to a child class is valid
# See:
-# https://github.com/PyCQA/pylint/issues/1556
-# https://github.com/PyCQA/pylint/issues/5338
+# https://github.com/pylint-dev/pylint/issues/1556
+# https://github.com/pylint-dev/pylint/issues/5338
class BaseClass:
diff --git a/tests/functional/a/arguments_differ_issue5371.py b/tests/functional/a/arguments_differ_issue5371.py
index a0cd39613..a93302fb8 100644
--- a/tests/functional/a/arguments_differ_issue5371.py
+++ b/tests/functional/a/arguments_differ_issue5371.py
@@ -1,4 +1,4 @@
-"""https://github.com/PyCQA/pylint/issues/5371"""
+"""https://github.com/pylint-dev/pylint/issues/5371"""
from enum import Enum
diff --git a/tests/functional/a/arguments_renamed.py b/tests/functional/a/arguments_renamed.py
index 73105f824..9b120f474 100644
--- a/tests/functional/a/arguments_renamed.py
+++ b/tests/functional/a/arguments_renamed.py
@@ -74,7 +74,7 @@ class ChildDefaults(ParentDefaults):
print(f"arguments: {arg2}")
# Check for crash on method definitions not at top level of class
-# https://github.com/PyCQA/pylint/issues/5648
+# https://github.com/pylint-dev/pylint/issues/5648
class FruitConditional:
define_eat = True
diff --git a/tests/functional/a/assigning/assigning_non_slot.py b/tests/functional/a/assigning/assigning_non_slot.py
index 7b4322e62..e27af79ac 100644
--- a/tests/functional/a/assigning/assigning_non_slot.py
+++ b/tests/functional/a/assigning/assigning_non_slot.py
@@ -226,7 +226,7 @@ class MyDescriptor:
pass
-# Regression test from https://github.com/PyCQA/pylint/issues/6001
+# Regression test from https://github.com/pylint-dev/pylint/issues/6001
class Base:
__slots__ = ()
diff --git a/tests/functional/a/assigning/assigning_non_slot_4509.py b/tests/functional/a/assigning/assigning_non_slot_4509.py
index 797c6b083..e7b8ddd4d 100644
--- a/tests/functional/a/assigning/assigning_non_slot_4509.py
+++ b/tests/functional/a/assigning/assigning_non_slot_4509.py
@@ -1,7 +1,7 @@
# pylint: disable=invalid-name,missing-docstring,too-few-public-methods
# Slots with base that inherits from 'Generic'
-# https://github.com/PyCQA/pylint/issues/4509
+# https://github.com/pylint-dev/pylint/issues/4509
# https://github.com/PyCQA/astroid/issues/999
from typing import Generic, TypeVar
diff --git a/tests/functional/a/assignment/assignment_expression.py b/tests/functional/a/assignment/assignment_expression.py
index 0df18f3d6..bf6f8ebf0 100644
--- a/tests/functional/a/assignment/assignment_expression.py
+++ b/tests/functional/a/assignment/assignment_expression.py
@@ -28,11 +28,11 @@ values = (
)
-# https://github.com/PyCQA/pylint/issues/3347
+# https://github.com/pylint-dev/pylint/issues/3347
s = 'foo' if (fval := lambda: 1) is None else fval
-# https://github.com/PyCQA/pylint/issues/3953
+# https://github.com/pylint-dev/pylint/issues/3953
assert (n := 2) == 1, f"Expected 1, but got {n}"
dict({1: (o := 2)}, data=o)
assert (p := 2) == 1, \
@@ -42,7 +42,7 @@ FOO_PATT = re.compile("")
foo = m.group("foo") if (m := FOO_PATT.match("")) else False
-# https://github.com/PyCQA/pylint/issues/3865
+# https://github.com/pylint-dev/pylint/issues/3865
if (c := lambda: 2) and c():
print("ok")
@@ -50,7 +50,7 @@ def func():
print((d := lambda: 2) and d)
-# https://github.com/PyCQA/pylint/issues/3275
+# https://github.com/pylint-dev/pylint/issues/3275
values = (
e := 1,
f := e,
@@ -64,11 +64,11 @@ function = lambda: (
print(function())
-# https://github.com/PyCQA/pylint/issues/3763
+# https://github.com/pylint-dev/pylint/issues/3763
foo if (foo := 3 - 2) > 0 else 0
-# https://github.com/PyCQA/pylint/issues/4238
+# https://github.com/pylint-dev/pylint/issues/4238
l1 = f'The number {(count1 := 4)} ' \
f'is equal to {count1}'
l2: str = (
@@ -82,13 +82,13 @@ l3 += (
)
-# https://github.com/PyCQA/pylint/issues/4301
+# https://github.com/pylint-dev/pylint/issues/4301
def func2():
return f'The number {(count := 4)} ' \
f'is equal to {count}'
-# https://github.com/PyCQA/pylint/issues/4828
+# https://github.com/pylint-dev/pylint/issues/4828
def func3():
return bar if (bar := "") else ""
@@ -99,7 +99,7 @@ def func4():
# Crash related to assignment expression in nested if statements
-# See https://github.com/PyCQA/pylint/issues/5178
+# See https://github.com/pylint-dev/pylint/issues/5178
def func5(val):
variable = None
diff --git a/tests/functional/a/assignment/assignment_from_no_return.py b/tests/functional/a/assignment/assignment_from_no_return.py
index 673e5e467..7084beb2f 100644
--- a/tests/functional/a/assignment/assignment_from_no_return.py
+++ b/tests/functional/a/assignment/assignment_from_no_return.py
@@ -55,7 +55,7 @@ class Child(Parent):
return 42
-# Regression test for https://github.com/PyCQA/pylint/issues/4220
+# Regression test for https://github.com/pylint-dev/pylint/issues/4220
class A:
"""Parent class"""
def f(self):
diff --git a/tests/functional/b/bad_option_value.txt b/tests/functional/b/bad_option_value.txt
index ce7605691..51af412f7 100644
--- a/tests/functional/b/bad_option_value.txt
+++ b/tests/functional/b/bad_option_value.txt
@@ -1,17 +1,17 @@
unknown-option-value:4:0:None:None::Unknown option value for 'disable', expected a valid pylint message and got 'C05048':HIGH
-useless-option-value:6:0:None:None::"Useless option value for 'disable', 'execfile-builtin' was removed from pylint, see https://github.com/PyCQA/pylint/pull/4942.":HIGH
+useless-option-value:6:0:None:None::"Useless option value for 'disable', 'execfile-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.":HIGH
useless-option-value:8:0:None:None::"Useless option value for 'disable', 'no-self-use' was moved to an optional extension, see https://pylint.readthedocs.io/en/latest/whatsnew/2/2.14/summary.html#removed-checkers.":HIGH
-useless-option-value:10:0:None:None::"Useless option value for 'disable', 'W1656' was removed from pylint, see https://github.com/PyCQA/pylint/pull/4942.":HIGH
+useless-option-value:10:0:None:None::"Useless option value for 'disable', 'W1656' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.":HIGH
useless-option-value:12:0:None:None::"Useless option value for 'disable', 'R0201' was moved to an optional extension, see https://pylint.readthedocs.io/en/latest/whatsnew/2/2.14/summary.html#removed-checkers.":HIGH
unknown-option-value:14:0:None:None::Unknown option value for 'disable-next', expected a valid pylint message and got 'R78948':HIGH
-useless-option-value:16:0:None:None::"Useless option value for 'disable-next', 'deprecated-types-field' was removed from pylint, see https://github.com/PyCQA/pylint/pull/4942.":HIGH
-useless-option-value:18:0:None:None::"Useless option value for 'disable-next', 'W1634' was removed from pylint, see https://github.com/PyCQA/pylint/pull/4942.":HIGH
+useless-option-value:16:0:None:None::"Useless option value for 'disable-next', 'deprecated-types-field' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.":HIGH
+useless-option-value:18:0:None:None::"Useless option value for 'disable-next', 'W1634' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.":HIGH
useless-option-value:20:0:None:None::"Useless option value for 'disable-next', 'no-self-use' was moved to an optional extension, see https://pylint.readthedocs.io/en/latest/whatsnew/2/2.14/summary.html#removed-checkers.":HIGH
useless-option-value:22:0:None:None::"Useless option value for 'disable-next', 'R0201' was moved to an optional extension, see https://pylint.readthedocs.io/en/latest/whatsnew/2/2.14/summary.html#removed-checkers.":HIGH
unknown-option-value:25:0:None:None::Unknown option value for 'enable', expected a valid pylint message and got 'W04044':HIGH
-useless-option-value:27:0:None:None::"Useless option value for 'enable', 'dict-values-not-iterating' was removed from pylint, see https://github.com/PyCQA/pylint/pull/4942.":HIGH
+useless-option-value:27:0:None:None::"Useless option value for 'enable', 'dict-values-not-iterating' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.":HIGH
useless-option-value:29:0:None:None::"Useless option value for 'enable', 'no-self-use' was moved to an optional extension, see https://pylint.readthedocs.io/en/latest/whatsnew/2/2.14/summary.html#removed-checkers.":HIGH
-useless-option-value:31:0:None:None::"Useless option value for 'enable', 'W1622' was removed from pylint, see https://github.com/PyCQA/pylint/pull/4942.":HIGH
+useless-option-value:31:0:None:None::"Useless option value for 'enable', 'W1622' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.":HIGH
useless-option-value:33:0:None:None::"Useless option value for 'enable', 'R0201' was moved to an optional extension, see https://pylint.readthedocs.io/en/latest/whatsnew/2/2.14/summary.html#removed-checkers.":HIGH
-useless-option-value:36:0:None:None::"Useless option value for 'disable', 'no-space-after-operator' was removed from pylint, see https://github.com/PyCQA/pylint/pull/3577.":HIGH
-useless-option-value:38:0:None:None::"Useless option value for 'disable', 'C0323' was removed from pylint, see https://github.com/PyCQA/pylint/pull/3577.":HIGH
+useless-option-value:36:0:None:None::"Useless option value for 'disable', 'no-space-after-operator' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/3577.":HIGH
+useless-option-value:38:0:None:None::"Useless option value for 'disable', 'C0323' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/3577.":HIGH
diff --git a/tests/functional/c/cached_property.py b/tests/functional/c/cached_property.py
index 0b75f246b..85d271ab5 100644
--- a/tests/functional/c/cached_property.py
+++ b/tests/functional/c/cached_property.py
@@ -2,7 +2,7 @@
from functools import cached_property
-# https://github.com/PyCQA/pylint/issues/4023
+# https://github.com/pylint-dev/pylint/issues/4023
# False-positive 'invalid-overridden-method' with 'cached_property'
class Parent:
@property
diff --git a/tests/functional/c/cellvar_escaping_loop.py b/tests/functional/c/cellvar_escaping_loop.py
index 8781e6c5c..eb120ea79 100644
--- a/tests/functional/c/cellvar_escaping_loop.py
+++ b/tests/functional/c/cellvar_escaping_loop.py
@@ -95,7 +95,7 @@ def good_case_issue3107():
def good_case_issue_5012():
"""Eager binding of cell variable when used as the default value of a keyword-only argument.
- https://github.com/PyCQA/pylint/issues/5012
+ https://github.com/pylint-dev/pylint/issues/5012
"""
funs = []
for i in range(5):
diff --git a/tests/functional/c/class_protocol_ellipsis.py b/tests/functional/c/class_protocol_ellipsis.py
index ef5d3b34e..a6c0b0677 100644
--- a/tests/functional/c/class_protocol_ellipsis.py
+++ b/tests/functional/c/class_protocol_ellipsis.py
@@ -5,7 +5,7 @@ from typing import Any, Iterator
class MyClass:
"""The "invalid-*-returned" messages shouldn't be emitted for stub functions
- Original issue: https://github.com/PyCQA/pylint/issues/4736"""
+ Original issue: https://github.com/pylint-dev/pylint/issues/4736"""
def __len__(self) -> int:
...
diff --git a/tests/functional/c/comparison_with_callable_typing_constants.py b/tests/functional/c/comparison_with_callable_typing_constants.py
index 70aa9763f..487edc80f 100644
--- a/tests/functional/c/comparison_with_callable_typing_constants.py
+++ b/tests/functional/c/comparison_with_callable_typing_constants.py
@@ -6,7 +6,7 @@ from typing import Any, Optional
def check_any(type_) -> bool:
- """See https://github.com/PyCQA/pylint/issues/5557"""
+ """See https://github.com/pylint-dev/pylint/issues/5557"""
return type_ == Any
diff --git a/tests/functional/c/consider/consider_iterating_dictionary.py b/tests/functional/c/consider/consider_iterating_dictionary.py
index 91402bf77..507e7c0c9 100644
--- a/tests/functional/c/consider/consider_iterating_dictionary.py
+++ b/tests/functional/c/consider/consider_iterating_dictionary.py
@@ -68,7 +68,7 @@ VAR = 1 in dict()
VAR = [1, 2] == {}.keys() in {False}
# Additional membership checks
-# See: https://github.com/PyCQA/pylint/issues/5323
+# See: https://github.com/pylint-dev/pylint/issues/5323
metadata = {}
if "a" not in list(metadata.keys()): # [consider-iterating-dictionary]
print(1)
diff --git a/tests/functional/c/consider/consider_using_dict_items.py b/tests/functional/c/consider/consider_using_dict_items.py
index 7ffea608f..7fd74814f 100644
--- a/tests/functional/c/consider/consider_using_dict_items.py
+++ b/tests/functional/c/consider/consider_using_dict_items.py
@@ -86,7 +86,7 @@ val = any(True for k8 in Foo.c_dict if c_dict[k8])
val = any(True for k8 in Foo.c_dict.keys() if Foo.c_dict[k8]) # [consider-iterating-dictionary,consider-using-dict-items]
# Test false positive described in #4630
-# (https://github.com/PyCQA/pylint/issues/4630)
+# (https://github.com/pylint-dev/pylint/issues/4630)
d = {'key': 'value'}
diff --git a/tests/functional/c/consider/consider_using_enumerate.py b/tests/functional/c/consider/consider_using_enumerate.py
index 352669f6a..1b8bb4c6b 100644
--- a/tests/functional/c/consider/consider_using_enumerate.py
+++ b/tests/functional/c/consider/consider_using_enumerate.py
@@ -73,7 +73,7 @@ def does_not_crash_on_range_without_args():
print(elem)
# False negative described in #3657
-# https://github.com/PyCQA/pylint/issues/3657
+# https://github.com/pylint-dev/pylint/issues/3657
class MyClass:
def __init__(self):
self.my_list = []
diff --git a/tests/functional/c/consider/consider_using_generator.py b/tests/functional/c/consider/consider_using_generator.py
index e5ac31f32..df26fce3d 100644
--- a/tests/functional/c/consider/consider_using_generator.py
+++ b/tests/functional/c/consider/consider_using_generator.py
@@ -1,5 +1,5 @@
# pylint: disable=missing-docstring, invalid-name
-# https://github.com/PyCQA/pylint/issues/3165
+# https://github.com/pylint-dev/pylint/issues/3165
list([])
tuple([])
diff --git a/tests/functional/c/consider/consider_using_min_max_builtin.py b/tests/functional/c/consider/consider_using_min_max_builtin.py
index 6e7c7b886..e33394c47 100644
--- a/tests/functional/c/consider/consider_using_min_max_builtin.py
+++ b/tests/functional/c/consider/consider_using_min_max_builtin.py
@@ -97,7 +97,7 @@ else:
value = 3
-# https://github.com/PyCQA/pylint/issues/4379
+# https://github.com/pylint-dev/pylint/issues/4379
var = 1
if var == -1:
var = None
diff --git a/tests/functional/c/consider/consider_using_with.py b/tests/functional/c/consider/consider_using_with.py
index 1c87582ee..e8e162337 100644
--- a/tests/functional/c/consider/consider_using_with.py
+++ b/tests/functional/c/consider/consider_using_with.py
@@ -230,7 +230,7 @@ with used_pool:
def test_subscript_assignment():
"""
- Regression test for issue https://github.com/PyCQA/pylint/issues/4732.
+ Regression test for issue https://github.com/pylint-dev/pylint/issues/4732.
If a context manager is assigned to a list or dict, we are not able to
tell if / how the context manager is used later on, as it is not assigned
to a variable or attribute directly.
diff --git a/tests/functional/d/dataclass/dataclass_typecheck.py b/tests/functional/d/dataclass/dataclass_typecheck.py
index fbd770704..4c55089ee 100644
--- a/tests/functional/d/dataclass/dataclass_typecheck.py
+++ b/tests/functional/d/dataclass/dataclass_typecheck.py
@@ -6,7 +6,7 @@ Tests for regressions from https://github.com/PyCQA/astroid/pull/1126
# pylint: disable=missing-docstring,too-few-public-methods,pointless-statement,redefined-builtin, fixme
# Disabled because of a bug with pypy 3.8 see
-# https://github.com/PyCQA/pylint/pull/7918#issuecomment-1352737369
+# https://github.com/pylint-dev/pylint/pull/7918#issuecomment-1352737369
# pylint: disable=multiple-statements
from dataclasses import dataclass
diff --git a/tests/functional/d/dataclass/dataclass_with_default_factory.py b/tests/functional/d/dataclass/dataclass_with_default_factory.py
index db392d8b7..809c3304b 100644
--- a/tests/functional/d/dataclass/dataclass_with_default_factory.py
+++ b/tests/functional/d/dataclass/dataclass_with_default_factory.py
@@ -1,7 +1,7 @@
"""Various regression tests for dataclasses."""
# See issues:
-# - https://github.com/PyCQA/pylint/issues/2605
-# - https://github.com/PyCQA/pylint/issues/2698
+# - https://github.com/pylint-dev/pylint/issues/2605
+# - https://github.com/pylint-dev/pylint/issues/2698
from dataclasses import dataclass, field
import dataclasses as dc
from typing import cast
diff --git a/tests/functional/d/dataclass/dataclass_with_field.py b/tests/functional/d/dataclass/dataclass_with_field.py
index 9a807becb..04a186c72 100644
--- a/tests/functional/d/dataclass/dataclass_with_field.py
+++ b/tests/functional/d/dataclass/dataclass_with_field.py
@@ -1,4 +1,4 @@
-"""Regression test for https://github.com/PyCQA/pylint/issues/4899"""
+"""Regression test for https://github.com/pylint-dev/pylint/issues/4899"""
# pylint: disable=missing-docstring,too-few-public-methods
diff --git a/tests/functional/d/disabled_msgid_in_pylintrc.py b/tests/functional/d/disabled_msgid_in_pylintrc.py
index 91cb155e1..7ad701de9 100644
--- a/tests/functional/d/disabled_msgid_in_pylintrc.py
+++ b/tests/functional/d/disabled_msgid_in_pylintrc.py
@@ -1,4 +1,4 @@
-"""https://github.com/PyCQA/pylint/issues/4265"""
+"""https://github.com/pylint-dev/pylint/issues/4265"""
try:
f = open('test', encoding="utf-8")
diff --git a/tests/functional/e/.#emacs_file_lock.py b/tests/functional/e/.#emacs_file_lock.py
index e2ed09d7c..a21e28482 100644
--- a/tests/functional/e/.#emacs_file_lock.py
+++ b/tests/functional/e/.#emacs_file_lock.py
@@ -1,4 +1,4 @@
# The name is invalid, but we should not analyse this file
# Because its filename reseambles an Emacs file lock ignored by default
# https://www.gnu.org/software/emacs/manual/html_node/elisp/File-Locks.html
-# See https://github.com/PyCQA/pylint/issues/367
+# See https://github.com/pylint-dev/pylint/issues/367
diff --git a/tests/functional/e/.#emacs_file_lock_by_conf.py b/tests/functional/e/.#emacs_file_lock_by_conf.py
index a7247f609..af875582c 100644
--- a/tests/functional/e/.#emacs_file_lock_by_conf.py
+++ b/tests/functional/e/.#emacs_file_lock_by_conf.py
@@ -1,3 +1,3 @@
# The name is invalid, but we should not analyse this file
# Because it resembles an Emacs file lock and is ignored by the configuration
-# See https://github.com/PyCQA/pylint/issues/367
+# See https://github.com/pylint-dev/pylint/issues/367
diff --git a/tests/functional/e/enum_self_defined_member_5138.py b/tests/functional/e/enum_self_defined_member_5138.py
index 4a49903c6..d9a6c105e 100644
--- a/tests/functional/e/enum_self_defined_member_5138.py
+++ b/tests/functional/e/enum_self_defined_member_5138.py
@@ -1,4 +1,4 @@
-"""Tests for self-defined Enum members (https://github.com/PyCQA/pylint/issues/5138)"""
+"""Tests for self-defined Enum members (https://github.com/pylint-dev/pylint/issues/5138)"""
# pylint: disable=missing-docstring
from enum import IntEnum, Enum
diff --git a/tests/functional/e/enum_self_defined_member_6805.py b/tests/functional/e/enum_self_defined_member_6805.py
index bcf0c8e10..1b70bbe82 100644
--- a/tests/functional/e/enum_self_defined_member_6805.py
+++ b/tests/functional/e/enum_self_defined_member_6805.py
@@ -1,4 +1,4 @@
-"""Tests for self-defined Enum members (https://github.com/PyCQA/pylint/issues/6805)"""
+"""Tests for self-defined Enum members (https://github.com/pylint-dev/pylint/issues/6805)"""
# pylint: disable=missing-docstring
# pylint: disable=too-few-public-methods
from enum import IntEnum
diff --git a/tests/functional/e/enum_subclasses.py b/tests/functional/e/enum_subclasses.py
index 6ad453a4b..eb6e1bebb 100644
--- a/tests/functional/e/enum_subclasses.py
+++ b/tests/functional/e/enum_subclasses.py
@@ -3,7 +3,7 @@ from enum import Enum, Flag, IntEnum, auto
class Issue1932(IntEnum):
- """https://github.com/PyCQA/pylint/issues/1932"""
+ """https://github.com/pylint-dev/pylint/issues/1932"""
FOO = 1
@@ -12,7 +12,7 @@ class Issue1932(IntEnum):
class Issue2062(Enum):
- """https://github.com/PyCQA/pylint/issues/2062"""
+ """https://github.com/pylint-dev/pylint/issues/2062"""
FOO = 1
BAR = 2
@@ -81,7 +81,7 @@ assert test_enum.hello_pylint() == test_enum.name
# Check combinations of Flag members using the bitwise operators (&, |, ^, ~)
-# https://github.com/PyCQA/pylint/issues/7381
+# https://github.com/pylint-dev/pylint/issues/7381
class Colour(Flag):
NONE = 0
RED = 2
diff --git a/tests/functional/ext/code_style/cs_consider_using_augmented_assign.py b/tests/functional/ext/code_style/cs_consider_using_augmented_assign.py
index 417bc5c0b..ab3acfe27 100644
--- a/tests/functional/ext/code_style/cs_consider_using_augmented_assign.py
+++ b/tests/functional/ext/code_style/cs_consider_using_augmented_assign.py
@@ -121,7 +121,7 @@ x = x <= 3
x = 3 <= x
-# https://github.com/PyCQA/pylint/issues/8086
+# https://github.com/pylint-dev/pylint/issues/8086
# consider-using-augmented-assign should only be flagged
# if names attribute names match exactly.
diff --git a/tests/functional/ext/docparams/parameter/missing_param_doc_required_Google.py b/tests/functional/ext/docparams/parameter/missing_param_doc_required_Google.py
index 92646a87f..917841581 100644
--- a/tests/functional/ext/docparams/parameter/missing_param_doc_required_Google.py
+++ b/tests/functional/ext/docparams/parameter/missing_param_doc_required_Google.py
@@ -12,7 +12,7 @@ https://google.github.io/styleguide/pyguide.html#doc-function-args
def test_multi_line_parameters(param: int) -> None:
"""Checks that multi line parameters lists are checked correctly
- See https://github.com/PyCQA/pylint/issues/5452
+ See https://github.com/pylint-dev/pylint/issues/5452
Args:
param:
diff --git a/tests/functional/ext/docparams/parameter/missing_param_doc_required_Numpy.py b/tests/functional/ext/docparams/parameter/missing_param_doc_required_Numpy.py
index 5626ad385..794f4c2f6 100644
--- a/tests/functional/ext/docparams/parameter/missing_param_doc_required_Numpy.py
+++ b/tests/functional/ext/docparams/parameter/missing_param_doc_required_Numpy.py
@@ -394,7 +394,7 @@ def test_ignores_optional_specifier_numpy(param, param2="all"):
def test_with_list_of_default_values(arg, option, option2):
- """Reported in https://github.com/PyCQA/pylint/issues/4035.
+ """Reported in https://github.com/pylint-dev/pylint/issues/4035.
Parameters
----------
@@ -412,7 +412,7 @@ def test_with_list_of_default_values(arg, option, option2):
def test_with_descriptions_instead_of_typing(arg, axis, option):
"""We choose to accept description in place of typing as well.
- See: https://github.com/PyCQA/pylint/pull/7398.
+ See: https://github.com/pylint-dev/pylint/pull/7398.
Parameters
----------
diff --git a/tests/functional/ext/docparams/parameter/missing_param_doc_required_Sphinx.py b/tests/functional/ext/docparams/parameter/missing_param_doc_required_Sphinx.py
index a2a2f7c92..36f3aed1f 100644
--- a/tests/functional/ext/docparams/parameter/missing_param_doc_required_Sphinx.py
+++ b/tests/functional/ext/docparams/parameter/missing_param_doc_required_Sphinx.py
@@ -220,7 +220,7 @@ def test_finds_args_without_type_sphinx( # [inconsistent-return-statements]
):
r"""The Sphinx docstring
In Sphinx docstrings asterisks should be escaped.
- See https://github.com/PyCQA/pylint/issues/5406
+ See https://github.com/pylint-dev/pylint/issues/5406
:param named_arg: Returned
:type named_arg: object
@@ -239,7 +239,7 @@ def test_finds_kwargs_without_type_sphinx( # [inconsistent-return-statements]
):
r"""The Sphinx docstring
In Sphinx docstrings asterisks should be escaped.
- See https://github.com/PyCQA/pylint/issues/5406
+ See https://github.com/pylint-dev/pylint/issues/5406
:param named_arg: Returned
:type named_arg: object
diff --git a/tests/functional/ext/docparams/raise/missing_raises_doc_options.py b/tests/functional/ext/docparams/raise/missing_raises_doc_options.py
index eb3cd3ac3..5f1ef3969 100644
--- a/tests/functional/ext/docparams/raise/missing_raises_doc_options.py
+++ b/tests/functional/ext/docparams/raise/missing_raises_doc_options.py
@@ -3,7 +3,7 @@ accept-no-raise-doc option is set to True.
Requires at least one matching section (`Docstring.matching_sections`).
-Taken from https://github.com/PyCQA/pylint/issues/7208
+Taken from https://github.com/pylint-dev/pylint/issues/7208
"""
diff --git a/tests/functional/ext/for_any_all/for_any_all.py b/tests/functional/ext/for_any_all/for_any_all.py
index 649739c37..fb09e491b 100644
--- a/tests/functional/ext/for_any_all/for_any_all.py
+++ b/tests/functional/ext/for_any_all/for_any_all.py
@@ -147,7 +147,7 @@ def is_from_decorator(node):
return False
def optimized_any_with_break(split_lines, max_chars):
- """False negative found in https://github.com/PyCQA/pylint/pull/7697"""
+ """False negative found in https://github.com/pylint-dev/pylint/pull/7697"""
potential_line_length_warning = False
for line in split_lines: # [consider-using-any-or-all]
if len(line) > max_chars:
diff --git a/tests/functional/ext/redefined_loop_name/redefined_loop_name.py b/tests/functional/ext/redefined_loop_name/redefined_loop_name.py
index 0af49f9bf..ed4efcffe 100644
--- a/tests/functional/ext/redefined_loop_name/redefined_loop_name.py
+++ b/tests/functional/ext/redefined_loop_name/redefined_loop_name.py
@@ -1,6 +1,6 @@
"""Tests for redefinitions of loop variables inside the loop body.
-See: https://github.com/PyCQA/pylint/issues/5608
+See: https://github.com/pylint-dev/pylint/issues/5608
"""
# pylint: disable=invalid-name
diff --git a/tests/functional/ext/redefined_variable_type/redefined_variable_type.py b/tests/functional/ext/redefined_variable_type/redefined_variable_type.py
index 1d31bc968..e642ad520 100644
--- a/tests/functional/ext/redefined_variable_type/redefined_variable_type.py
+++ b/tests/functional/ext/redefined_variable_type/redefined_variable_type.py
@@ -86,7 +86,7 @@ def func2(x):
# Test that ``redefined-variable-type`` is not emitted
-# https://github.com/PyCQA/pylint/issues/8120
+# https://github.com/pylint-dev/pylint/issues/8120
async def test_a():
data = [
diff --git a/tests/functional/ext/redefined_variable_type/regression_newtype_fstring.py b/tests/functional/ext/redefined_variable_type/regression_newtype_fstring.py
index 1e3cb2808..d06bf4751 100644
--- a/tests/functional/ext/redefined_variable_type/regression_newtype_fstring.py
+++ b/tests/functional/ext/redefined_variable_type/regression_newtype_fstring.py
@@ -1,5 +1,5 @@
"""Regression test for issue 5770: NewType created with f-string
-See: https://github.com/PyCQA/pylint/issues/5770
+See: https://github.com/pylint-dev/pylint/issues/5770
"""
from typing import NewType
diff --git a/tests/functional/ext/typing/typing_consider_using_alias.py b/tests/functional/ext/typing/typing_consider_using_alias.py
index 8fe3b5918..070451cf0 100644
--- a/tests/functional/ext/typing/typing_consider_using_alias.py
+++ b/tests/functional/ext/typing/typing_consider_using_alias.py
@@ -7,7 +7,7 @@ With 'from __future__ import annotations' present.
# pylint: disable=missing-docstring,invalid-name,unused-argument,line-too-long,unnecessary-direct-lambda-call
# Disabled because of a bug with pypy 3.8 see
-# https://github.com/PyCQA/pylint/pull/7918#issuecomment-1352737369
+# https://github.com/pylint-dev/pylint/pull/7918#issuecomment-1352737369
# pylint: disable=multiple-statements
from __future__ import annotations
diff --git a/tests/functional/ext/typing/typing_consider_using_alias_without_future.py b/tests/functional/ext/typing/typing_consider_using_alias_without_future.py
index 943a16188..b597e955e 100644
--- a/tests/functional/ext/typing/typing_consider_using_alias_without_future.py
+++ b/tests/functional/ext/typing/typing_consider_using_alias_without_future.py
@@ -7,7 +7,7 @@
# pylint: disable=unnecessary-direct-lambda-call
# Disabled because of a bug with pypy 3.8 see
-# https://github.com/PyCQA/pylint/pull/7918#issuecomment-1352737369
+# https://github.com/pylint-dev/pylint/pull/7918#issuecomment-1352737369
# pylint: disable=multiple-statements
import collections
diff --git a/tests/functional/ext/typing/typing_consider_using_union.py b/tests/functional/ext/typing/typing_consider_using_union.py
index 780a96100..64918175e 100644
--- a/tests/functional/ext/typing/typing_consider_using_union.py
+++ b/tests/functional/ext/typing/typing_consider_using_union.py
@@ -8,7 +8,7 @@ With 'from __future__ import annotations' present.
# pylint: disable=consider-using-alias,unnecessary-direct-lambda-call
# Disabled because of a bug with pypy 3.8 see
-# https://github.com/PyCQA/pylint/pull/7918#issuecomment-1352737369
+# https://github.com/pylint-dev/pylint/pull/7918#issuecomment-1352737369
# pylint: disable=multiple-statements
from __future__ import annotations
diff --git a/tests/functional/ext/typing/typing_consider_using_union_without_future.py b/tests/functional/ext/typing/typing_consider_using_union_without_future.py
index d29ba306e..3cad6cb74 100644
--- a/tests/functional/ext/typing/typing_consider_using_union_without_future.py
+++ b/tests/functional/ext/typing/typing_consider_using_union_without_future.py
@@ -7,7 +7,7 @@
# pylint: disable=consider-using-alias
# Disabled because of a bug with pypy 3.8 see
-# https://github.com/PyCQA/pylint/pull/7918#issuecomment-1352737369
+# https://github.com/pylint-dev/pylint/pull/7918#issuecomment-1352737369
# pylint: disable=multiple-statements
from dataclasses import dataclass
diff --git a/tests/functional/g/generated_members.py b/tests/functional/g/generated_members.py
index ffb3de631..25afa7598 100644
--- a/tests/functional/g/generated_members.py
+++ b/tests/functional/g/generated_members.py
@@ -20,7 +20,7 @@ session.rollback()
SESSION.rollback()
-# https://github.com/PyCQA/pylint/issues/6594
+# https://github.com/pylint-dev/pylint/issues/6594
# Don't emit no-member inside type annotations
# with PEP 563 'from __future__ import annotations'
print(Klass.X) # [no-member]
diff --git a/tests/functional/g/globals.py b/tests/functional/g/globals.py
index f7a634a3e..7f4e3077e 100644
--- a/tests/functional/g/globals.py
+++ b/tests/functional/g/globals.py
@@ -105,7 +105,7 @@ def init_connection_state(alias):
# Prevent emitting `invalid-name` for the line on which `global` is declared
-# https://github.com/PyCQA/pylint/issues/8307
+# https://github.com/pylint-dev/pylint/issues/8307
_foo: str = "tomato"
def setup_shared_foo():
diff --git a/tests/functional/i/import_error.py b/tests/functional/i/import_error.py
index 12f56f9ea..97e9dddbf 100644
--- a/tests/functional/i/import_error.py
+++ b/tests/functional/i/import_error.py
@@ -81,7 +81,7 @@ import foo
import bar
# Issues with contextlib.suppress reported in
-# https://github.com/PyCQA/pylint/issues/7270
+# https://github.com/pylint-dev/pylint/issues/7270
import contextlib
with contextlib.suppress(ImportError):
import foo2
diff --git a/tests/functional/i/inconsistent/inconsistent_returns.py b/tests/functional/i/inconsistent/inconsistent_returns.py
index 4e9a68377..bcdfd76e5 100644
--- a/tests/functional/i/inconsistent/inconsistent_returns.py
+++ b/tests/functional/i/inconsistent/inconsistent_returns.py
@@ -336,7 +336,7 @@ def bug_pylint_3873_2():
nothing_to_do()
return False
-# https://github.com/PyCQA/pylint/issues/4019
+# https://github.com/pylint-dev/pylint/issues/4019
def bug_pylint_4019(x):
"""
assert False is equivalent to a return
@@ -355,7 +355,7 @@ def bug_pylint_4019_wrong(x): # [inconsistent-return-statements]
assert True
-# https://github.com/PyCQA/pylint/issues/8280
+# https://github.com/pylint-dev/pylint/issues/8280
class A:
def get_the_answer(self): # [inconsistent-return-statements]
while self.is_running:
diff --git a/tests/functional/i/inference_crash_4692.py b/tests/functional/i/inference_crash_4692.py
index 5e990aaa7..d41ac7a84 100644
--- a/tests/functional/i/inference_crash_4692.py
+++ b/tests/functional/i/inference_crash_4692.py
@@ -1,4 +1,4 @@
-"""Regression test for https://github.com/PyCQA/pylint/issues/4692."""
+"""Regression test for https://github.com/pylint-dev/pylint/issues/4692."""
# We can't use click like in the issue because the crash
# does not appear if click is installed (astroid can analyse it)
diff --git a/tests/functional/i/init_not_called.py b/tests/functional/i/init_not_called.py
index ee8c4f5a1..db677dc4b 100644
--- a/tests/functional/i/init_not_called.py
+++ b/tests/functional/i/init_not_called.py
@@ -86,7 +86,7 @@ class Child(Parent):
super().__init__(round(num))
-# https://github.com/PyCQA/pylint/issues/7742
+# https://github.com/pylint-dev/pylint/issues/7742
# Crash when parent class has a class attribute named `__init__`
class NoInitMethod:
__init__ = 42
diff --git a/tests/functional/i/invalid/invalid_class_object.py b/tests/functional/i/invalid/invalid_class_object.py
index b7363e9c8..8233a3633 100644
--- a/tests/functional/i/invalid/invalid_class_object.py
+++ b/tests/functional/i/invalid/invalid_class_object.py
@@ -40,7 +40,7 @@ class AnotherClass:
class Pylint7429Good:
- """See https://github.com/PyCQA/pylint/issues/7467"""
+ """See https://github.com/pylint-dev/pylint/issues/7467"""
def class_defining_function_good(self):
self.__class__, myvar = AnotherClass, "myvalue"
diff --git a/tests/functional/i/invalid/invalid_exceptions/invalid_exceptions_raised.py b/tests/functional/i/invalid/invalid_exceptions/invalid_exceptions_raised.py
index a0b5ad39f..aa37a4530 100644
--- a/tests/functional/i/invalid/invalid_exceptions/invalid_exceptions_raised.py
+++ b/tests/functional/i/invalid/invalid_exceptions/invalid_exceptions_raised.py
@@ -99,7 +99,7 @@ def reusing_same_name_picks_the_latest_raised_value():
try:
raise ValueError
except exceptions as exc: # pylint: disable=catching-non-exception
- # https://github.com/PyCQA/pylint/issues/1756
+ # https://github.com/pylint-dev/pylint/issues/1756
exc = Error(exc)
if exc:
raise exc
diff --git a/tests/functional/i/invalid/invalid_metaclass.py b/tests/functional/i/invalid/invalid_metaclass.py
index 3b264d693..aba4e6fb1 100644
--- a/tests/functional/i/invalid/invalid_metaclass.py
+++ b/tests/functional/i/invalid/invalid_metaclass.py
@@ -1,7 +1,7 @@
# pylint: disable=missing-docstring, too-few-public-methods, import-error,unused-argument
# Disabled because of a bug with pypy 3.8 see
-# https://github.com/PyCQA/pylint/pull/7918#issuecomment-1352737369
+# https://github.com/pylint-dev/pylint/pull/7918#issuecomment-1352737369
# pylint: disable=multiple-statements
import abc
diff --git a/tests/functional/i/invalid/invalid_name/invalid_name-module-disable.py b/tests/functional/i/invalid/invalid_name/invalid_name-module-disable.py
index f6074eebb..3d3be3180 100644
--- a/tests/functional/i/invalid/invalid_name/invalid_name-module-disable.py
+++ b/tests/functional/i/invalid/invalid_name/invalid_name-module-disable.py
@@ -2,5 +2,5 @@
"""Regression test for disabling of invalid-name for module names.
-See https://github.com/PyCQA/pylint/issues/3973.
+See https://github.com/pylint-dev/pylint/issues/3973.
"""
diff --git a/tests/functional/i/invalid/invalid_name/invalid_name_issue_3405.py b/tests/functional/i/invalid/invalid_name/invalid_name_issue_3405.py
index 9b0dd37cd..678aaf076 100644
--- a/tests/functional/i/invalid/invalid_name/invalid_name_issue_3405.py
+++ b/tests/functional/i/invalid/invalid_name/invalid_name_issue_3405.py
@@ -1,4 +1,4 @@
-""" Regression test for https://github.com/PyCQA/pylint/issues/3405. """
+""" Regression test for https://github.com/pylint-dev/pylint/issues/3405. """
import dataclasses
from typing import ClassVar
diff --git a/tests/functional/i/invalid/invalid_overridden_method.py b/tests/functional/i/invalid/invalid_overridden_method.py
index 69af42a0a..d81a7882b 100644
--- a/tests/functional/i/invalid/invalid_overridden_method.py
+++ b/tests/functional/i/invalid/invalid_overridden_method.py
@@ -78,7 +78,7 @@ class AbstractProperty:
return
-# https://github.com/PyCQA/pylint/issues/4368
+# https://github.com/pylint-dev/pylint/issues/4368
# Decrator functions with a nested property decorator should still be
# inferred as property.
diff --git a/tests/functional/i/invalid/invalid_sequence_index.py b/tests/functional/i/invalid/invalid_sequence_index.py
index 56ade211b..e2a3abc7e 100644
--- a/tests/functional/i/invalid/invalid_sequence_index.py
+++ b/tests/functional/i/invalid/invalid_sequence_index.py
@@ -1,7 +1,7 @@
# pylint: disable=too-few-public-methods, import-error, missing-docstring, unnecessary-pass
# Disabled because of a bug with pypy 3.8 see
-# https://github.com/PyCQA/pylint/pull/7918#issuecomment-1352737369
+# https://github.com/pylint-dev/pylint/pull/7918#issuecomment-1352737369
# pylint: disable=multiple-statements
import six
diff --git a/tests/functional/i/iterable_context.py b/tests/functional/i/iterable_context.py
index fb035c4df..b36710f28 100644
--- a/tests/functional/i/iterable_context.py
+++ b/tests/functional/i/iterable_context.py
@@ -192,5 +192,5 @@ for elem in HasDynamicGetattr():
pass
-# Regression test for https://github.com/PyCQA/pylint/issues/6372
+# Regression test for https://github.com/pylint-dev/pylint/issues/6372
string_twos = "".join(str(*y) for _, *y in [[1, 2], [1, 2]])
diff --git a/tests/functional/m/member/member_checks_inference_improvements.py b/tests/functional/m/member/member_checks_inference_improvements.py
index 6eefa7958..099048ba0 100644
--- a/tests/functional/m/member/member_checks_inference_improvements.py
+++ b/tests/functional/m/member/member_checks_inference_improvements.py
@@ -2,7 +2,7 @@
def test_oserror_has_strerror():
- # https://github.com/PyCQA/pylint/issues/2553
+ # https://github.com/pylint-dev/pylint/issues/2553
try:
raise OSError()
except OSError as exc:
diff --git a/tests/functional/m/modified_iterating.py b/tests/functional/m/modified_iterating.py
index f17c34b6e..2dae6c106 100644
--- a/tests/functional/m/modified_iterating.py
+++ b/tests/functional/m/modified_iterating.py
@@ -97,7 +97,7 @@ def update_existing_key():
class MyClass:
- """Regression test for https://github.com/PyCQA/pylint/issues/7380"""
+ """Regression test for https://github.com/pylint-dev/pylint/issues/7380"""
def __init__(self) -> None:
self.attribute = [1, 2, 3]
@@ -109,7 +109,7 @@ class MyClass:
class MyClass2:
- """Regression test for https://github.com/PyCQA/pylint/issues/7461"""
+ """Regression test for https://github.com/pylint-dev/pylint/issues/7461"""
def __init__(self) -> None:
self.attribute = {}
diff --git a/tests/functional/n/no/no_member.py b/tests/functional/n/no/no_member.py
index 1db70cde5..a36fc359e 100644
--- a/tests/functional/n/no/no_member.py
+++ b/tests/functional/n/no/no_member.py
@@ -1,7 +1,7 @@
# pylint: disable=missing-docstring, unused-argument, wrong-import-position, invalid-name
from pathlib import Path
-# Regression test for https://github.com/PyCQA/pylint/issues/400
+# Regression test for https://github.com/pylint-dev/pylint/issues/400
class TestListener:
def __init__(self):
self._latest = None
@@ -19,7 +19,7 @@ listener = TestListener()
broker = listener.wait(3).get_domain() # No error here
-# Regression test for https://github.com/PyCQA/pylint/issues/4377
+# Regression test for https://github.com/pylint-dev/pylint/issues/4377
from urllib import parse
url = 'http://www.google.com'
@@ -31,7 +31,7 @@ new_parsed_url = parse.ParseResult._replace(parsed_url, query=sorted_query)
new_url = new_parsed_url.geturl() # No error here
-# Regression test for https://github.com/PyCQA/pylint/issues/3803
+# Regression test for https://github.com/pylint-dev/pylint/issues/3803
# pylint: disable=too-few-public-methods
class Base:
label: str
@@ -44,5 +44,5 @@ class Derived(Base):
print(Derived.label)
-# Regression test for https://github.com/PyCQA/pylint/issues/5832
+# Regression test for https://github.com/pylint-dev/pylint/issues/5832
starter_path = Path(__file__).parents[3].resolve()
diff --git a/tests/functional/n/no/no_member_assign_same_line.py b/tests/functional/n/no/no_member_assign_same_line.py
index 45138d933..230b08109 100644
--- a/tests/functional/n/no/no_member_assign_same_line.py
+++ b/tests/functional/n/no/no_member_assign_same_line.py
@@ -1,5 +1,5 @@
"""Tests for no-member for self-referencing instance attributes
-See https://github.com/PyCQA/pylint/issues/1555
+See https://github.com/pylint-dev/pylint/issues/1555
"""
# pylint: disable=too-few-public-methods
diff --git a/tests/functional/n/no/no_member_augassign.py b/tests/functional/n/no/no_member_augassign.py
index 1ffd9a168..8954861e3 100644
--- a/tests/functional/n/no/no_member_augassign.py
+++ b/tests/functional/n/no/no_member_augassign.py
@@ -1,7 +1,7 @@
"""Tests for no-member in relation to AugAssign operations."""
# pylint: disable=missing-module-docstring, too-few-public-methods, missing-class-docstring, invalid-name
-# Test for: https://github.com/PyCQA/pylint/issues/4562
+# Test for: https://github.com/pylint-dev/pylint/issues/4562
class A:
value: int
diff --git a/tests/functional/n/no/no_member_binary_operations.py b/tests/functional/n/no/no_member_binary_operations.py
index e998932eb..1a15fa2d4 100644
--- a/tests/functional/n/no/no_member_binary_operations.py
+++ b/tests/functional/n/no/no_member_binary_operations.py
@@ -1,7 +1,7 @@
"""Tests for no-member in relation to binary operations."""
# pylint: disable=too-few-public-methods, missing-class-docstring, missing-function-docstring
-# Test for: https://github.com/PyCQA/pylint/issues/4826
+# Test for: https://github.com/pylint-dev/pylint/issues/4826
class MyClass:
def __init__(self):
self.a_list = []
diff --git a/tests/functional/n/no/no_member_dataclasses.py b/tests/functional/n/no/no_member_dataclasses.py
index 97528e698..5f799bf84 100644
--- a/tests/functional/n/no/no_member_dataclasses.py
+++ b/tests/functional/n/no/no_member_dataclasses.py
@@ -3,7 +3,7 @@
# pylint: disable=missing-docstring, too-few-public-methods
# Disabled because of a bug with pypy 3.8 see
-# https://github.com/PyCQA/pylint/pull/7918#issuecomment-1352737369
+# https://github.com/pylint-dev/pylint/pull/7918#issuecomment-1352737369
# pylint: disable=multiple-statements
from abc import ABCMeta, abstractmethod
@@ -11,7 +11,7 @@ from dataclasses import asdict, dataclass, field
from typing import Any, Dict
-# https://github.com/PyCQA/pylint/issues/3754
+# https://github.com/pylint-dev/pylint/issues/3754
@dataclass(frozen=True)
class DeploymentState(metaclass=ABCMeta):
type: str
@@ -52,7 +52,7 @@ class DeploymentStateLambda(DeploymentState):
}
-# https://github.com/PyCQA/pylint/issues/2600
+# https://github.com/pylint-dev/pylint/issues/2600
@dataclass
class TestClass:
attr1: str
diff --git a/tests/functional/n/no/no_member_if_statements.py b/tests/functional/n/no/no_member_if_statements.py
index d26c5c483..220d0215a 100644
--- a/tests/functional/n/no/no_member_if_statements.py
+++ b/tests/functional/n/no/no_member_if_statements.py
@@ -40,7 +40,7 @@ class Base:
return str(state)
-# https://github.com/PyCQA/pylint/issues/1990
+# https://github.com/pylint-dev/pylint/issues/1990
# Attribute access after 'isinstance' should not cause 'no-member' error
import subprocess # pylint: disable=wrong-import-position # noqa: E402
@@ -54,7 +54,7 @@ except Exception as err:
raise
-# https://github.com/PyCQA/pylint/issues/4168
+# https://github.com/pylint-dev/pylint/issues/4168
# 'encode' for 'arg' should not cause 'no-member' error
mixed_tuple = (b"a", b"b", b"c", b"d")
byte_tuple = [arg.encode('utf8') if isinstance(arg, str) else arg for arg in mixed_tuple]
@@ -66,7 +66,7 @@ for arg in mixed_tuple:
print(arg)
-# https://github.com/PyCQA/pylint/issues/1162
+# https://github.com/pylint-dev/pylint/issues/1162
# Attribute access after 'isinstance' should not cause 'no-member' error
class FoobarException(Exception):
foobar = None
diff --git a/tests/functional/n/no/no_member_subclassed_dataclasses.py b/tests/functional/n/no/no_member_subclassed_dataclasses.py
index 0dee10840..d121eae36 100644
--- a/tests/functional/n/no/no_member_subclassed_dataclasses.py
+++ b/tests/functional/n/no/no_member_subclassed_dataclasses.py
@@ -2,7 +2,7 @@
# pylint: disable=too-few-public-methods
# Disabled because of a bug with pypy 3.8 see
-# https://github.com/PyCQA/pylint/pull/7918#issuecomment-1352737369
+# https://github.com/pylint-dev/pylint/pull/7918#issuecomment-1352737369
# pylint: disable=multiple-statements
from abc import ABCMeta, abstractmethod
diff --git a/tests/functional/n/no/no_name_in_module.py b/tests/functional/n/no/no_name_in_module.py
index 26c0079b6..ef9fb03d1 100644
--- a/tests/functional/n/no/no_name_in_module.py
+++ b/tests/functional/n/no/no_name_in_module.py
@@ -80,7 +80,7 @@ from .no_self_argument.bla import lala1 # [no-name-in-module]
from argparse import THIS_does_not_EXIST
-# This captures the original failure in https://github.com/PyCQA/pylint/issues/6497
+# This captures the original failure in https://github.com/pylint-dev/pylint/issues/6497
# only if numpy is installed. We are not installing numpy on CI (for now)
from numpy.distutils.misc_util import is_sequence
from pydantic import BaseModel
diff --git a/tests/functional/n/none_dunder_protocols.py b/tests/functional/n/none_dunder_protocols.py
index 4f4628634..085615910 100644
--- a/tests/functional/n/none_dunder_protocols.py
+++ b/tests/functional/n/none_dunder_protocols.py
@@ -30,7 +30,7 @@ class MultipleAssignmentNonesClass(metaclass=MetaContainer):
class MultipleAssignmentLambdasClass(metaclass=MetaContainer):
- """https://github.com/PyCQA/pylint/issues/6366"""
+ """https://github.com/pylint-dev/pylint/issues/6366"""
__len__, __iter__ = [lambda x: x] * 2
diff --git a/tests/functional/n/nonlocal_without_binding.py b/tests/functional/n/nonlocal_without_binding.py
index c05a012b1..277c7f7eb 100644
--- a/tests/functional/n/nonlocal_without_binding.py
+++ b/tests/functional/n/nonlocal_without_binding.py
@@ -30,7 +30,7 @@ def func():
# Case where `nonlocal-without-binding` was not emitted when
# the nonlocal name was assigned later in the same scope.
- # https://github.com/PyCQA/pylint/issues/6883
+ # https://github.com/pylint-dev/pylint/issues/6883
def other_func2():
nonlocal c # [nonlocal-without-binding]
c = 1
diff --git a/tests/functional/n/not_callable.py b/tests/functional/n/not_callable.py
index c5015e65f..b0816c0f8 100644
--- a/tests/functional/n/not_callable.py
+++ b/tests/functional/n/not_callable.py
@@ -128,7 +128,7 @@ UnknownBaseCallable()()
# Regression test for #4426
# If property is inferable we shouldn't double emit the message
-# See: https://github.com/PyCQA/pylint/issues/4426
+# See: https://github.com/pylint-dev/pylint/issues/4426
class ClassWithProperty:
@property
def value(self):
@@ -137,7 +137,7 @@ class ClassWithProperty:
CLASS_WITH_PROP = ClassWithProperty().value() # [not-callable]
# Test typing.Namedtuple is callable
-# See: https://github.com/PyCQA/pylint/issues/1295
+# See: https://github.com/pylint-dev/pylint/issues/1295
import typing
Named = typing.NamedTuple("Named", [("foo", int), ("bar", int)])
@@ -145,7 +145,7 @@ named = Named(1, 2)
# NamedTuple is callable, even if it aliased to a attribute
-# See https://github.com/PyCQA/pylint/issues/1730
+# See https://github.com/pylint-dev/pylint/issues/1730
class TestNamedTuple:
def __init__(self, field: str) -> None:
self.my_tuple = typing.NamedTuple("Tuple", [(field, int)])
@@ -178,7 +178,7 @@ AggregateCls().a()
# pylint needs to ignore not-callable for them
# right now
-# Test for https://github.com/PyCQA/pylint/issues/1699
+# Test for https://github.com/pylint-dev/pylint/issues/1699
import multiprocessing
@@ -226,7 +226,7 @@ obj2 = Klass2()
obj2.something()
-# Regression test for https://github.com/PyCQA/pylint/issues/7109
+# Regression test for https://github.com/pylint-dev/pylint/issues/7109
instance_or_cls = MyClass # pylint:disable=invalid-name
instance_or_cls = MyClass()
if not isinstance(instance_or_cls, MyClass):
@@ -234,7 +234,7 @@ if not isinstance(instance_or_cls, MyClass):
new()
-# Regression test for https://github.com/PyCQA/pylint/issues/5113.
+# Regression test for https://github.com/pylint-dev/pylint/issues/5113.
# Do not emit `not-callable`.
ATTRIBUTES = {
'DOMAIN': ("domain", str),
diff --git a/tests/functional/o/overridden_final_method_py38.py b/tests/functional/o/overridden_final_method_py38.py
index 252ea3c01..d92b6adc2 100644
--- a/tests/functional/o/overridden_final_method_py38.py
+++ b/tests/functional/o/overridden_final_method_py38.py
@@ -16,7 +16,7 @@ class Subclass(Base):
pass
# Check for crash on method definitions not at top level of class
-# https://github.com/PyCQA/pylint/issues/5648
+# https://github.com/pylint-dev/pylint/issues/5648
class BaseConditional:
create_final_method = True
diff --git a/tests/functional/p/postponed/postponed_evaluation_pep585.py b/tests/functional/p/postponed/postponed_evaluation_pep585.py
index 1d539126d..2317228e5 100644
--- a/tests/functional/p/postponed/postponed_evaluation_pep585.py
+++ b/tests/functional/p/postponed/postponed_evaluation_pep585.py
@@ -9,7 +9,7 @@ Testing with 3.8 only, to support TypedDict.
# pylint: disable=unused-variable,unnecessary-direct-lambda-call
# Disabled because of a bug with pypy 3.8 see
-# https://github.com/PyCQA/pylint/pull/7918#issuecomment-1352737369
+# https://github.com/pylint-dev/pylint/pull/7918#issuecomment-1352737369
# pylint: disable=multiple-statements
from __future__ import annotations
diff --git a/tests/functional/p/postponed/postponed_evaluation_pep585_error.py b/tests/functional/p/postponed/postponed_evaluation_pep585_error.py
index 19153105e..9810c0c14 100644
--- a/tests/functional/p/postponed/postponed_evaluation_pep585_error.py
+++ b/tests/functional/p/postponed/postponed_evaluation_pep585_error.py
@@ -9,7 +9,7 @@ Testing with 3.8 only, to support TypedDict.
# pylint: disable=unused-variable,line-too-long,unnecessary-direct-lambda-call
# Disabled because of a bug with pypy 3.8 see
-# https://github.com/PyCQA/pylint/pull/7918#issuecomment-1352737369
+# https://github.com/pylint-dev/pylint/pull/7918#issuecomment-1352737369
# pylint: disable=multiple-statements
import collections
diff --git a/tests/functional/r/recursion/recursion_error_2667.py b/tests/functional/r/recursion/recursion_error_2667.py
index 585cf7f2f..62868c3c6 100644
--- a/tests/functional/r/recursion/recursion_error_2667.py
+++ b/tests/functional/r/recursion/recursion_error_2667.py
@@ -1,4 +1,4 @@
-"""Add regression test for https://github.com/PyCQA/pylint/issues/2667"""
+"""Add regression test for https://github.com/pylint-dev/pylint/issues/2667"""
# pylint: disable=missing-docstring, too-few-public-methods
class MyClass:
diff --git a/tests/functional/r/recursion/recursion_error_2906.py b/tests/functional/r/recursion/recursion_error_2906.py
index 6b4b08d5f..b18d27315 100644
--- a/tests/functional/r/recursion/recursion_error_2906.py
+++ b/tests/functional/r/recursion/recursion_error_2906.py
@@ -1,4 +1,4 @@
-"""Recursion error for https://github.com/PyCQA/pylint/issues/2906"""
+"""Recursion error for https://github.com/pylint-dev/pylint/issues/2906"""
# pylint: disable=disallowed-name,global-statement,invalid-name,missing-docstring
lst = []
diff --git a/tests/functional/r/recursion/recursion_error_3159.py b/tests/functional/r/recursion/recursion_error_3159.py
index 086cce769..d905ad862 100644
--- a/tests/functional/r/recursion/recursion_error_3159.py
+++ b/tests/functional/r/recursion/recursion_error_3159.py
@@ -1,6 +1,6 @@
"""Check that we do not crash with a recursion error
-https://github.com/PyCQA/pylint/issues/3159
+https://github.com/pylint-dev/pylint/issues/3159
"""
# pylint: disable=missing-docstring
from setuptools import Command, find_packages, setup
diff --git a/tests/functional/r/recursion/recursion_error_crash.py b/tests/functional/r/recursion/recursion_error_crash.py
index 208bc2e7a..5500428b4 100644
--- a/tests/functional/r/recursion/recursion_error_crash.py
+++ b/tests/functional/r/recursion/recursion_error_crash.py
@@ -1,6 +1,6 @@
"""Test that a recursion error does not happen
-https://github.com/PyCQA/pylint/issues/2463
+https://github.com/pylint-dev/pylint/issues/2463
"""
import os
diff --git a/tests/functional/r/recursion/recursion_error_crash_2683.py b/tests/functional/r/recursion/recursion_error_crash_2683.py
index 05978a355..17335de2b 100644
--- a/tests/functional/r/recursion/recursion_error_crash_2683.py
+++ b/tests/functional/r/recursion/recursion_error_crash_2683.py
@@ -1,4 +1,4 @@
-"""Test for https://github.com/PyCQA/pylint/issues/2683"""
+"""Test for https://github.com/pylint-dev/pylint/issues/2683"""
# pylint: disable=missing-docstring,too-few-public-methods
class Cls:
diff --git a/tests/functional/r/redefined/redefined_except_handler.py b/tests/functional/r/redefined/redefined_except_handler.py
index 47591034a..b774e32f2 100644
--- a/tests/functional/r/redefined/redefined_except_handler.py
+++ b/tests/functional/r/redefined/redefined_except_handler.py
@@ -1,6 +1,6 @@
"""Tests for except handlers that shadow outer except handlers or exceptions.
-See: https://github.com/PyCQA/pylint/issues/5370
+See: https://github.com/pylint-dev/pylint/issues/5370
"""
try:
@@ -60,7 +60,7 @@ except ImportError as err:
class CustomException(Exception):
- """https://github.com/PyCQA/pylint/issues/4434"""
+ """https://github.com/pylint-dev/pylint/issues/4434"""
def func():
diff --git a/tests/functional/r/redefined/redefined_slots.py b/tests/functional/r/redefined/redefined_slots.py
index 28f05fbfd..fbeda46e1 100644
--- a/tests/functional/r/redefined/redefined_slots.py
+++ b/tests/functional/r/redefined/redefined_slots.py
@@ -33,7 +33,7 @@ class Subclass3(Base, Base2):
__slots__ = ("a", "b", "c", "i", "j", "k", "l", "m", "n") # [redefined-slots-in-subclass]
-# https://github.com/PyCQA/pylint/issues/6100
+# https://github.com/pylint-dev/pylint/issues/6100
class MyClass:
"""No crash when the type of the slot is not a Const or a str"""
__slots__ = [str]
diff --git a/tests/functional/r/redundant_unittest_assert.py b/tests/functional/r/redundant_unittest_assert.py
index aa4120831..0bc2d69dd 100644
--- a/tests/functional/r/redundant_unittest_assert.py
+++ b/tests/functional/r/redundant_unittest_assert.py
@@ -7,7 +7,7 @@ a warning message.
# pylint: disable=missing-docstring,too-few-public-methods
# Disabled because of a bug with pypy 3.8 see
-# https://github.com/PyCQA/pylint/pull/7918#issuecomment-1352737369
+# https://github.com/pylint-dev/pylint/pull/7918#issuecomment-1352737369
# pylint: disable=multiple-statements
import unittest
diff --git a/tests/functional/r/regression/regression_3416_unused_argument_raise.py b/tests/functional/r/regression/regression_3416_unused_argument_raise.py
index 9bc761701..175afaf3d 100644
--- a/tests/functional/r/regression/regression_3416_unused_argument_raise.py
+++ b/tests/functional/r/regression/regression_3416_unused_argument_raise.py
@@ -1,6 +1,6 @@
"""Test that we emit unused-argument when a function uses `raise
-https://github.com/PyCQA/pylint/issues/3416
+https://github.com/pylint-dev/pylint/issues/3416
"""
# pylint:disable=raise-missing-from
diff --git a/tests/functional/r/regression/regression_3507_typing_alias_isinstance.py b/tests/functional/r/regression/regression_3507_typing_alias_isinstance.py
index 4dba85545..c55b460ce 100644
--- a/tests/functional/r/regression/regression_3507_typing_alias_isinstance.py
+++ b/tests/functional/r/regression/regression_3507_typing_alias_isinstance.py
@@ -1,5 +1,5 @@
"""
-https://github.com/PyCQA/pylint/issues/3507
+https://github.com/pylint-dev/pylint/issues/3507
False-positive 'isinstance-second-argument-not-valid-type'
for typing aliases in 'isinstance' calls.
"""
diff --git a/tests/functional/r/regression/regression_3535_double_enum_inherit.py b/tests/functional/r/regression/regression_3535_double_enum_inherit.py
index 374b5f860..7b5f40348 100644
--- a/tests/functional/r/regression/regression_3535_double_enum_inherit.py
+++ b/tests/functional/r/regression/regression_3535_double_enum_inherit.py
@@ -1,5 +1,5 @@
# pylint: disable=missing-docstring,invalid-name
-# https://github.com/PyCQA/pylint/issues/3535
+# https://github.com/pylint-dev/pylint/issues/3535
import enum
diff --git a/tests/functional/r/regression/regression_3595_notcallable_collections.py b/tests/functional/r/regression/regression_3595_notcallable_collections.py
index 120b26a04..4c50d1f18 100644
--- a/tests/functional/r/regression/regression_3595_notcallable_collections.py
+++ b/tests/functional/r/regression/regression_3595_notcallable_collections.py
@@ -1,5 +1,5 @@
# pylint: disable=missing-docstring,unused-import
-# https://github.com/PyCQA/pylint/issues/3595
+# https://github.com/pylint-dev/pylint/issues/3595
import collections
diff --git a/tests/functional/r/regression/regression_4221_object_instanceattr.py b/tests/functional/r/regression/regression_4221_object_instanceattr.py
index 4c346b145..6599bf249 100644
--- a/tests/functional/r/regression/regression_4221_object_instanceattr.py
+++ b/tests/functional/r/regression/regression_4221_object_instanceattr.py
@@ -1,5 +1,5 @@
# pylint: disable=missing-docstring
-# https://github.com/PyCQA/pylint/issues/4221
+# https://github.com/pylint-dev/pylint/issues/4221
import random
o = object()
diff --git a/tests/functional/r/regression/regression_4358_unsubscriptable_enum.py b/tests/functional/r/regression/regression_4358_unsubscriptable_enum.py
index 63a9d7749..9f3b6d4b6 100644
--- a/tests/functional/r/regression/regression_4358_unsubscriptable_enum.py
+++ b/tests/functional/r/regression/regression_4358_unsubscriptable_enum.py
@@ -1,5 +1,5 @@
# pylint: disable=pointless-statement,missing-docstring
-# https://github.com/PyCQA/pylint/issues/4358
+# https://github.com/pylint-dev/pylint/issues/4358
from enum import Enum
diff --git a/tests/functional/r/regression/regression_4439.py b/tests/functional/r/regression/regression_4439.py
index 257a20a86..22162a7e9 100644
--- a/tests/functional/r/regression/regression_4439.py
+++ b/tests/functional/r/regression/regression_4439.py
@@ -2,7 +2,7 @@
# pylint: disable=missing-docstring
# Disabled because of a bug with pypy 3.8 see
-# https://github.com/PyCQA/pylint/pull/7918#issuecomment-1352737369
+# https://github.com/pylint-dev/pylint/pull/7918#issuecomment-1352737369
# pylint: disable=multiple-statements
from typing import Optional
diff --git a/tests/functional/r/regression/regression_6531_crash_index_error.py b/tests/functional/r/regression/regression_6531_crash_index_error.py
index 6cdc96617..cfcfd8e60 100644
--- a/tests/functional/r/regression/regression_6531_crash_index_error.py
+++ b/tests/functional/r/regression/regression_6531_crash_index_error.py
@@ -1,4 +1,4 @@
-"""Regression test for https://github.com/PyCQA/pylint/issues/6531."""
+"""Regression test for https://github.com/pylint-dev/pylint/issues/6531."""
# pylint: disable=missing-docstring, redefined-outer-name
diff --git a/tests/functional/r/regression/regression_issue_4633.py b/tests/functional/r/regression/regression_issue_4633.py
index 0bd48ad54..b2a8f7c90 100644
--- a/tests/functional/r/regression/regression_issue_4633.py
+++ b/tests/functional/r/regression/regression_issue_4633.py
@@ -1,7 +1,7 @@
# pylint: disable=missing-docstring,too-few-public-methods
"""
-Regression tests for https://github.com/PyCQA/pylint/issues/4633
+Regression tests for https://github.com/pylint-dev/pylint/issues/4633
"""
from queue import Queue
diff --git a/tests/functional/r/regression/regression_no_member_1078.py b/tests/functional/r/regression/regression_no_member_1078.py
index b7be27d3c..191ba7751 100644
--- a/tests/functional/r/regression/regression_no_member_1078.py
+++ b/tests/functional/r/regression/regression_no_member_1078.py
@@ -1,6 +1,6 @@
"""Make sure no-member is not emitted when modifying __doc__ via augmented assignment
-https://github.com/PyCQA/pylint/issues/1078
+https://github.com/pylint-dev/pylint/issues/1078
"""
# pylint: disable=too-few-public-methods,missing-class-docstring
class Cls:
diff --git a/tests/functional/r/regression/regression_property_no_member_2641.py b/tests/functional/r/regression/regression_property_no_member_2641.py
index 083f78bdc..dd87726e6 100644
--- a/tests/functional/r/regression/regression_property_no_member_2641.py
+++ b/tests/functional/r/regression/regression_property_no_member_2641.py
@@ -1,5 +1,5 @@
# pylint: disable=missing-docstring,unused-argument,too-few-public-methods
-# https://github.com/PyCQA/pylint/issues/2641
+# https://github.com/pylint-dev/pylint/issues/2641
from abc import ABCMeta, abstractmethod
diff --git a/tests/functional/r/regression/regression_property_no_member_844.py b/tests/functional/r/regression/regression_property_no_member_844.py
index 759b7bfe3..279d7b250 100644
--- a/tests/functional/r/regression/regression_property_no_member_844.py
+++ b/tests/functional/r/regression/regression_property_no_member_844.py
@@ -1,5 +1,5 @@
# pylint: disable=missing-docstring,too-few-public-methods,invalid-overridden-method
-# https://github.com/PyCQA/pylint/issues/844
+# https://github.com/pylint-dev/pylint/issues/844
class Parent:
def __init__(self):
self.__thing = 'foo'
diff --git a/tests/functional/r/regression/regression_property_no_member_870.py b/tests/functional/r/regression/regression_property_no_member_870.py
index e89ae169e..500b217f9 100644
--- a/tests/functional/r/regression/regression_property_no_member_870.py
+++ b/tests/functional/r/regression/regression_property_no_member_870.py
@@ -1,5 +1,5 @@
# pylint: disable=too-few-public-methods,invalid-name,missing-docstring
-# https://github.com/PyCQA/pylint/issues/870
+# https://github.com/pylint-dev/pylint/issues/870
class X:
def __init__(self, val=None):
diff --git a/tests/functional/r/regression_02/regression_2567.py b/tests/functional/r/regression_02/regression_2567.py
index fe5c3f25a..7de293bfb 100644
--- a/tests/functional/r/regression_02/regression_2567.py
+++ b/tests/functional/r/regression_02/regression_2567.py
@@ -1,6 +1,6 @@
"""
Regression test for `no-member`.
-See: https://github.com/PyCQA/pylint/issues/2567
+See: https://github.com/pylint-dev/pylint/issues/2567
"""
# pylint: disable=missing-docstring,too-few-public-methods
diff --git a/tests/functional/r/regression_02/regression_2964.py b/tests/functional/r/regression_02/regression_2964.py
index 66235fc09..ad8433091 100644
--- a/tests/functional/r/regression_02/regression_2964.py
+++ b/tests/functional/r/regression_02/regression_2964.py
@@ -1,6 +1,6 @@
"""
Regression test for `no-member`.
-See: https://github.com/PyCQA/pylint/issues/2964
+See: https://github.com/pylint-dev/pylint/issues/2964
"""
# pylint: disable=missing-class-docstring,too-few-public-methods
diff --git a/tests/functional/r/regression_02/regression_3976.py b/tests/functional/r/regression_02/regression_3976.py
index 3610e9e30..27c119d47 100644
--- a/tests/functional/r/regression_02/regression_3976.py
+++ b/tests/functional/r/regression_02/regression_3976.py
@@ -1,5 +1,5 @@
"""
-Regression test for https://github.com/PyCQA/pylint/issues/3976
+Regression test for https://github.com/pylint-dev/pylint/issues/3976
E1123: Unexpected keyword argument 'include_extras' in function call (unexpected-keyword-arg)
"""
diff --git a/tests/functional/r/regression_02/regression_3979.py b/tests/functional/r/regression_02/regression_3979.py
index 7cc74a4f5..e14c5edb5 100644
--- a/tests/functional/r/regression_02/regression_3979.py
+++ b/tests/functional/r/regression_02/regression_3979.py
@@ -1,5 +1,5 @@
"""
-Regression test for https://github.com/PyCQA/pylint/issues/3979
+Regression test for https://github.com/pylint-dev/pylint/issues/3979
"""
import os
diff --git a/tests/functional/r/regression_02/regression_4660.py b/tests/functional/r/regression_02/regression_4660.py
index 872ed6ca2..b3dee058f 100644
--- a/tests/functional/r/regression_02/regression_4660.py
+++ b/tests/functional/r/regression_02/regression_4660.py
@@ -1,4 +1,4 @@
-"""Regression tests for https://github.com/PyCQA/pylint/issues/4660"""
+"""Regression tests for https://github.com/pylint-dev/pylint/issues/4660"""
# pylint: disable=useless-return, unused-argument
# pylint: disable=missing-docstring, too-few-public-methods, invalid-name
diff --git a/tests/functional/r/regression_02/regression_4982.py b/tests/functional/r/regression_02/regression_4982.py
index a6cef6f9e..27e8d08a1 100644
--- a/tests/functional/r/regression_02/regression_4982.py
+++ b/tests/functional/r/regression_02/regression_4982.py
@@ -1,4 +1,4 @@
-"""Regression test for a crash reported in https://github.com/PyCQA/pylint/issues/4982"""
+"""Regression test for a crash reported in https://github.com/pylint-dev/pylint/issues/4982"""
# pylint: disable=too-few-public-methods
class Base:
diff --git a/tests/functional/r/regression_02/regression_5030.py b/tests/functional/r/regression_02/regression_5030.py
index 8aa22f879..8dd9f9942 100644
--- a/tests/functional/r/regression_02/regression_5030.py
+++ b/tests/functional/r/regression_02/regression_5030.py
@@ -5,7 +5,7 @@ from typing import Tuple, Type
from typing import Dict, List, Any
from dataclasses import dataclass, field
-# https://github.com/PyCQA/pylint/issues/5030
+# https://github.com/pylint-dev/pylint/issues/5030
def is_type_list(f_type: Type) -> bool:
"""just here to show the issue"""
return f_type == list
@@ -13,7 +13,7 @@ def is_type_list(f_type: Type) -> bool:
assert not is_type_list(Tuple)
-# https://github.com/PyCQA/pylint/issues/5036
+# https://github.com/pylint-dev/pylint/issues/5036
@dataclass
class SomeData:
"""A dataclass."""
diff --git a/tests/functional/r/regression_02/regression_5048.py b/tests/functional/r/regression_02/regression_5048.py
index 08ff55fb2..37b8a6104 100644
--- a/tests/functional/r/regression_02/regression_5048.py
+++ b/tests/functional/r/regression_02/regression_5048.py
@@ -3,7 +3,7 @@ Fixed in https://github.com/PyCQA/astroid/pull/1185"""
# pylint: disable=missing-docstring, broad-exception-raised
-# Reported at https://github.com/PyCQA/pylint/issues/5048
+# Reported at https://github.com/pylint-dev/pylint/issues/5048
def func(parameter):
if tuple() + (parameter[1],) in set():
raise Exception()
diff --git a/tests/functional/r/regression_02/regression_5244.py b/tests/functional/r/regression_02/regression_5244.py
index 248c4a4a1..1bc811ca5 100644
--- a/tests/functional/r/regression_02/regression_5244.py
+++ b/tests/functional/r/regression_02/regression_5244.py
@@ -1,5 +1,5 @@
"""Test for the regression on inference of self referential __len__
-Reported in https://github.com/PyCQA/pylint/issues/5244
+Reported in https://github.com/pylint-dev/pylint/issues/5244
"""
# pylint: disable=missing-class-docstring, missing-function-docstring
diff --git a/tests/functional/r/regression_02/regression_5408.py b/tests/functional/r/regression_02/regression_5408.py
index b9bcdb9e8..93dcc81e1 100644
--- a/tests/functional/r/regression_02/regression_5408.py
+++ b/tests/functional/r/regression_02/regression_5408.py
@@ -1,7 +1,7 @@
"""Regression test for issue 5408.
Recursion error for self-referencing class attribute.
-See: https://github.com/PyCQA/pylint/issues/5408
+See: https://github.com/pylint-dev/pylint/issues/5408
"""
# pylint: disable=missing-docstring, too-few-public-methods, invalid-name, inherit-non-class
diff --git a/tests/functional/r/regression_02/regression_5461.py b/tests/functional/r/regression_02/regression_5461.py
index 39daf7b9b..9344782c0 100644
--- a/tests/functional/r/regression_02/regression_5461.py
+++ b/tests/functional/r/regression_02/regression_5461.py
@@ -1,6 +1,6 @@
"""Regression test for issue 5461
Crash on list comprehension with it used `type` as variable name
-See: https://github.com/PyCQA/pylint/issues/5461
+See: https://github.com/pylint-dev/pylint/issues/5461
"""
var = [type for type in [] if type["id"]]
diff --git a/tests/functional/r/regression_02/regression_5479.py b/tests/functional/r/regression_02/regression_5479.py
index adc20f26c..9955ea680 100644
--- a/tests/functional/r/regression_02/regression_5479.py
+++ b/tests/functional/r/regression_02/regression_5479.py
@@ -1,5 +1,5 @@
"""Test for a regression on slots and annotated assignments.
-Reported in https://github.com/PyCQA/pylint/issues/5479
+Reported in https://github.com/pylint-dev/pylint/issues/5479
"""
# pylint: disable=too-few-public-methods, unused-private-member, missing-class-docstring, missing-function-docstring
diff --git a/tests/functional/r/regression_02/regression_5776.py b/tests/functional/r/regression_02/regression_5776.py
index 5e8342511..00be9ad46 100644
--- a/tests/functional/r/regression_02/regression_5776.py
+++ b/tests/functional/r/regression_02/regression_5776.py
@@ -1,6 +1,6 @@
"""Test for a regression with Enums not being recognized when imported with an alias.
-Reported in https://github.com/PyCQA/pylint/issues/5776
+Reported in https://github.com/pylint-dev/pylint/issues/5776
"""
from enum import Enum as PyEnum
diff --git a/tests/functional/r/regression_02/regression_5801.py b/tests/functional/r/regression_02/regression_5801.py
index 8c08ec675..8b6c18ec8 100644
--- a/tests/functional/r/regression_02/regression_5801.py
+++ b/tests/functional/r/regression_02/regression_5801.py
@@ -1,4 +1,4 @@
-# https://github.com/PyCQA/pylint/issues/5801
+# https://github.com/pylint-dev/pylint/issues/5801
# pylint: disable=missing-docstring
import struct
diff --git a/tests/functional/r/regression_02/regression_8109.py b/tests/functional/r/regression_02/regression_8109.py
index f5cf8b142..69af0356a 100644
--- a/tests/functional/r/regression_02/regression_8109.py
+++ b/tests/functional/r/regression_02/regression_8109.py
@@ -1,4 +1,4 @@
-"""Regression test for https://github.com/PyCQA/pylint/issues/8109."""
+"""Regression test for https://github.com/pylint-dev/pylint/issues/8109."""
# pylint: disable=missing-docstring, unsupported-binary-operation
diff --git a/tests/functional/r/regression_02/regression_distutil_import_error_73.py b/tests/functional/r/regression_02/regression_distutil_import_error_73.py
index d40c0973f..ec44ca285 100644
--- a/tests/functional/r/regression_02/regression_distutil_import_error_73.py
+++ b/tests/functional/r/regression_02/regression_distutil_import_error_73.py
@@ -1,9 +1,9 @@
"""
Regression test to check that distutils can be imported
-See https://github.com/PyCQA/pylint/issues/73
+See https://github.com/pylint-dev/pylint/issues/73
See also:
-https://github.com/PyCQA/pylint/issues/2955
+https://github.com/pylint-dev/pylint/issues/2955
https://github.com/PyCQA/astroid/pull/1321
"""
diff --git a/tests/functional/r/regression_02/regression_no_member_7631.py b/tests/functional/r/regression_02/regression_no_member_7631.py
index 758aad057..6329187f7 100644
--- a/tests/functional/r/regression_02/regression_no_member_7631.py
+++ b/tests/functional/r/regression_02/regression_no_member_7631.py
@@ -1,4 +1,4 @@
-"""Regression test from https://github.com/PyCQA/pylint/issues/7631
+"""Regression test from https://github.com/pylint-dev/pylint/issues/7631
The following code should NOT raise no-member.
"""
# pylint: disable=missing-docstring,too-few-public-methods
diff --git a/tests/functional/r/regression_02/regression_node_statement_two.py b/tests/functional/r/regression_02/regression_node_statement_two.py
index b54ed99bb..ad4afd947 100644
--- a/tests/functional/r/regression_02/regression_node_statement_two.py
+++ b/tests/functional/r/regression_02/regression_node_statement_two.py
@@ -1,6 +1,6 @@
"""Test to see we don't crash on this code in pandas.
See: https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/period.py
-Reported in https://github.com/PyCQA/pylint/issues/5382
+Reported in https://github.com/pylint-dev/pylint/issues/5382
"""
# pylint: disable=missing-function-docstring, missing-class-docstring, unused-argument
# pylint: disable=too-few-public-methods, no-method-argument, invalid-name
diff --git a/tests/functional/r/regression_02/regression_property_slots_2439.py b/tests/functional/r/regression_02/regression_property_slots_2439.py
index 91cf86cfd..43882b3ac 100644
--- a/tests/functional/r/regression_02/regression_property_slots_2439.py
+++ b/tests/functional/r/regression_02/regression_property_slots_2439.py
@@ -1,5 +1,5 @@
# pylint: disable=missing-docstring,invalid-name,too-few-public-methods
-# https://github.com/PyCQA/pylint/issues/2439
+# https://github.com/pylint-dev/pylint/issues/2439
class TestClass:
__slots__ = ["_i"]
diff --git a/tests/functional/r/regression_02/regression_too_many_arguments_2335.py b/tests/functional/r/regression_02/regression_too_many_arguments_2335.py
index 55aa87308..896bb320e 100644
--- a/tests/functional/r/regression_02/regression_too_many_arguments_2335.py
+++ b/tests/functional/r/regression_02/regression_too_many_arguments_2335.py
@@ -1,6 +1,6 @@
"""Test that `abc.ABCMeta.__new__` does not trigger too-many-function-arguments when referred
-https://github.com/PyCQA/pylint/issues/2335
+https://github.com/pylint-dev/pylint/issues/2335
"""
# pylint: disable=missing-class-docstring,unused-argument,arguments-differ
from abc import ABCMeta
diff --git a/tests/functional/s/stop_iteration_inside_generator.py b/tests/functional/s/stop_iteration_inside_generator.py
index efde61a77..fcd20a683 100644
--- a/tests/functional/s/stop_iteration_inside_generator.py
+++ b/tests/functional/s/stop_iteration_inside_generator.py
@@ -100,25 +100,25 @@ def gen_dont_crash_on_no_exception():
def gen_dont_crash_on_uninferable():
- # https://github.com/PyCQA/pylint/issues/1779
+ # https://github.com/pylint-dev/pylint/issues/1779
yield from iter()
raise asyncio.TimeoutError()
-# https://github.com/PyCQA/pylint/issues/1830
+# https://github.com/pylint-dev/pylint/issues/1830
def gen_next_with_sentinel():
yield next([], 42) # No bad return
from itertools import count, cycle
-# https://github.com/PyCQA/pylint/issues/2158
+# https://github.com/pylint-dev/pylint/issues/2158
def generator_using_next():
counter = count()
number = next(counter)
yield number * 2
-# https://github.com/PyCQA/pylint/issues/7765
+# https://github.com/pylint-dev/pylint/issues/7765
def infinite_iterator_itertools_cycle():
counter = cycle('ABCD')
val = next(counter)
@@ -179,7 +179,7 @@ def other_safeiter(it):
def data(filename):
"""
Ensure pylint doesn't crash if `next` is incorrectly called without args
- See https://github.com/PyCQA/pylint/issues/7828
+ See https://github.com/pylint-dev/pylint/issues/7828
"""
with open(filename, encoding="utf8") as file:
next() # attempt to skip header but this is incorrect code
diff --git a/tests/functional/s/subclassed_final_class_py38.py b/tests/functional/s/subclassed_final_class_py38.py
index a4621d532..76f4d617e 100644
--- a/tests/functional/s/subclassed_final_class_py38.py
+++ b/tests/functional/s/subclassed_final_class_py38.py
@@ -4,7 +4,7 @@ subclassed."""
# pylint: disable=missing-docstring, too-few-public-methods
# Disabled because of a bug with pypy 3.8 see
-# https://github.com/PyCQA/pylint/pull/7918#issuecomment-1352737369
+# https://github.com/pylint-dev/pylint/pull/7918#issuecomment-1352737369
# pylint: disable=multiple-statements
from typing import final
diff --git a/tests/functional/s/super/super_checks.py b/tests/functional/s/super/super_checks.py
index 050fd3c81..62fc3c0e4 100644
--- a/tests/functional/s/super/super_checks.py
+++ b/tests/functional/s/super/super_checks.py
@@ -125,7 +125,7 @@ class SuperWithSelfClass:
super(self.__class__, self).__init__() # [bad-super-call]
-# Reported in https://github.com/PyCQA/pylint/issues/2903
+# Reported in https://github.com/pylint-dev/pylint/issues/2903
class Parent:
def method(self):
print()
@@ -149,7 +149,7 @@ class GrandChild(Child):
super(Niece, self).method() # [bad-super-call]
-# Reported in https://github.com/PyCQA/pylint/issues/4922
+# Reported in https://github.com/pylint-dev/pylint/issues/4922
class AlabamaCousin(Child, Niece):
def method(self):
print("AlabamaCousin")
diff --git a/tests/functional/s/super/super_init_not_called.py b/tests/functional/s/super/super_init_not_called.py
index f0bfe0329..03bfd3b43 100644
--- a/tests/functional/s/super/super_init_not_called.py
+++ b/tests/functional/s/super/super_init_not_called.py
@@ -52,14 +52,14 @@ class ChildThree(ParentWithoutInit):
# Regression test as reported in
-# https://github.com/PyCQA/pylint/issues/6027
+# https://github.com/pylint-dev/pylint/issues/6027
class MyUnion(ctypes.Union):
def __init__(self):
pass
# Should not be called on abstract __init__ methods
-# https://github.com/PyCQA/pylint/issues/3975
+# https://github.com/pylint-dev/pylint/issues/3975
class Base:
def __init__(self, param: int, param_two: str) -> None:
raise NotImplementedError()
diff --git a/tests/functional/s/sys_stream_regression_1004.py b/tests/functional/s/sys_stream_regression_1004.py
index c0391859d..546552af9 100644
--- a/tests/functional/s/sys_stream_regression_1004.py
+++ b/tests/functional/s/sys_stream_regression_1004.py
@@ -1,4 +1,4 @@
-'''Regression for issue https://github.com/PyCQA/pylint/issues/1004'''
+'''Regression for issue https://github.com/pylint-dev/pylint/issues/1004'''
# pylint: disable=missing-docstring, pointless-statement
import sys
diff --git a/tests/functional/t/too/too_few_public_methods_37.py b/tests/functional/t/too/too_few_public_methods_37.py
index 3b63a8fec..db9c9f171 100644
--- a/tests/functional/t/too/too_few_public_methods_37.py
+++ b/tests/functional/t/too/too_few_public_methods_37.py
@@ -1,7 +1,7 @@
# pylint: disable=missing-docstring
# Disabled because of a bug with pypy 3.8 see
-# https://github.com/PyCQA/pylint/pull/7918#issuecomment-1352737369
+# https://github.com/pylint-dev/pylint/pull/7918#issuecomment-1352737369
# pylint: disable=multiple-statements
import dataclasses
diff --git a/tests/functional/t/too/too_many_ancestors.py b/tests/functional/t/too/too_many_ancestors.py
index a460e4f16..cd83492b3 100644
--- a/tests/functional/t/too/too_many_ancestors.py
+++ b/tests/functional/t/too/too_many_ancestors.py
@@ -25,8 +25,8 @@ class Jjjj(Iiii): # [too-many-ancestors]
pass
-# https://github.com/PyCQA/pylint/issues/4166
-# https://github.com/PyCQA/pylint/issues/4415
+# https://github.com/pylint-dev/pylint/issues/4166
+# https://github.com/pylint-dev/pylint/issues/4415
class ItemSequence(MutableSequence):
"""Minimal MutableSequence."""
def __getitem__(self, key):
diff --git a/tests/functional/t/too/too_many_arguments.py b/tests/functional/t/too/too_many_arguments.py
index 8d26902af..f4a668f53 100644
--- a/tests/functional/t/too/too_many_arguments.py
+++ b/tests/functional/t/too/too_many_arguments.py
@@ -26,7 +26,7 @@ def root_function(first, second, third):
def func_call():
- """Test we don't emit a FP for https://github.com/PyCQA/pylint/issues/2588"""
+ """Test we don't emit a FP for https://github.com/pylint-dev/pylint/issues/2588"""
partial_func = partial(root_function, 1, 2, 3)
partial_func()
return root_function(1, 2, 3)
diff --git a/tests/functional/t/too/too_many_function_args.py b/tests/functional/t/too/too_many_function_args.py
index c5ca4f78e..9ba49565e 100644
--- a/tests/functional/t/too/too_many_function_args.py
+++ b/tests/functional/t/too/too_many_function_args.py
@@ -1,4 +1,4 @@
-"""https://github.com/PyCQA/pylint/issues/3675"""
+"""https://github.com/pylint-dev/pylint/issues/3675"""
def noop(x): # pylint: disable=invalid-name
diff --git a/tests/functional/t/too/too_many_instance_attributes.py b/tests/functional/t/too/too_many_instance_attributes.py
index 3177dc8aa..a41f3ea88 100644
--- a/tests/functional/t/too/too_many_instance_attributes.py
+++ b/tests/functional/t/too/too_many_instance_attributes.py
@@ -1,7 +1,7 @@
# pylint: disable=missing-docstring, too-few-public-methods
# Disabled because of a bug with pypy 3.8 see
-# https://github.com/PyCQA/pylint/pull/7918#issuecomment-1352737369
+# https://github.com/pylint-dev/pylint/pull/7918#issuecomment-1352737369
# pylint: disable=multiple-statements
diff --git a/tests/functional/t/too/too_many_instance_attributes_py37.py b/tests/functional/t/too/too_many_instance_attributes_py37.py
index 152bb1ca2..1ab262b87 100644
--- a/tests/functional/t/too/too_many_instance_attributes_py37.py
+++ b/tests/functional/t/too/too_many_instance_attributes_py37.py
@@ -6,7 +6,7 @@ Default max_instance_attributes is 7
# pylint: disable=missing-docstring, too-few-public-methods
# Disabled because of a bug with pypy 3.8 see
-# https://github.com/PyCQA/pylint/pull/7918#issuecomment-1352737369
+# https://github.com/pylint-dev/pylint/pull/7918#issuecomment-1352737369
# pylint: disable=multiple-statements
from dataclasses import dataclass, InitVar
diff --git a/tests/functional/t/trailing_whitespaces.py b/tests/functional/t/trailing_whitespaces.py
index c88b7ea62..9866398ee 100644
--- a/tests/functional/t/trailing_whitespaces.py
+++ b/tests/functional/t/trailing_whitespaces.py
@@ -9,7 +9,7 @@ print('windows line ends are ok')
# +1: [trailing-whitespace]
print('but trailing whitespace on win is not')
-# Regression test for https://github.com/PyCQA/pylint/issues/6936
+# Regression test for https://github.com/pylint-dev/pylint/issues/6936
# +2: [trailing-whitespace]
""" This module has the Board class.
"""
@@ -19,7 +19,7 @@ print('but trailing whitespace on win is not')
It's a very nice Board.
"""
-# Regression test for https://github.com/PyCQA/pylint/issues/3822
+# Regression test for https://github.com/pylint-dev/pylint/issues/3822
def example(*args):
"""Example function."""
print(*args)
diff --git a/tests/functional/t/typedDict.py b/tests/functional/t/typedDict.py
index 3ce96b256..31cad0b28 100644
--- a/tests/functional/t/typedDict.py
+++ b/tests/functional/t/typedDict.py
@@ -25,7 +25,7 @@ my_dict["var"]
my_dict["var"] = 2
-# https://github.com/PyCQA/pylint/issues/4715
+# https://github.com/pylint-dev/pylint/issues/4715
# Instance of TypedDict should be callable
Link = TypedDict("Link", {"href": str})
Link(href="foo")
diff --git a/tests/functional/t/typing_generic.py b/tests/functional/t/typing_generic.py
index 4b2985e0d..540402bf0 100644
--- a/tests/functional/t/typing_generic.py
+++ b/tests/functional/t/typing_generic.py
@@ -1,6 +1,6 @@
# pylint: disable=missing-docstring,invalid-name,too-few-public-methods
-# https://github.com/PyCQA/pylint/issues/2822
+# https://github.com/pylint-dev/pylint/issues/2822
# Base should be subscriptable, even with ABCMeta as metaclass
from abc import ABC, ABCMeta
from typing import Generic, TypeVar
diff --git a/tests/functional/u/unbalanced/unbalanced_tuple_unpacking.py b/tests/functional/u/unbalanced/unbalanced_tuple_unpacking.py
index 226748933..21e497be8 100644
--- a/tests/functional/u/unbalanced/unbalanced_tuple_unpacking.py
+++ b/tests/functional/u/unbalanced/unbalanced_tuple_unpacking.py
@@ -158,5 +158,5 @@ a, b = my_function("12") # [unbalanced-tuple-unpacking]
c = my_function("12")
d, *_ = my_function("12")
-# https://github.com/PyCQA/pylint/issues/5998
+# https://github.com/pylint-dev/pylint/issues/5998
x, y, z = (1, 2) # [unbalanced-tuple-unpacking]
diff --git a/tests/functional/u/undefined/undefined_loop_variable.py b/tests/functional/u/undefined/undefined_loop_variable.py
index 9d5cf4111..a00af5d79 100644
--- a/tests/functional/u/undefined/undefined_loop_variable.py
+++ b/tests/functional/u/undefined/undefined_loop_variable.py
@@ -84,7 +84,7 @@ def do_stuff_with_redefined_range():
def test(content):
- # https://github.com/PyCQA/pylint/issues/3711
+ # https://github.com/pylint-dev/pylint/issues/3711
def handle_line(layne):
if "X" in layne:
layne = layne.replace("X", "Y")
@@ -160,7 +160,7 @@ bigger = [
def lambda_in_first_of_two_loops():
- """https://github.com/PyCQA/pylint/issues/6419"""
+ """https://github.com/pylint-dev/pylint/issues/6419"""
my_list = []
for thing in my_list:
print_it = lambda: print(thing) # pylint: disable=cell-var-from-loop, unnecessary-lambda-assignment
@@ -180,21 +180,21 @@ def variable_name_assigned_in_body_of_second_loop():
def use_enumerate():
- """https://github.com/PyCQA/pylint/issues/6593"""
+ """https://github.com/pylint-dev/pylint/issues/6593"""
for i, num in enumerate(range(3)):
pass
print(i, num)
def use_enumerate_in_ternary_expression():
- """https://github.com/PyCQA/pylint/issues/7131"""
+ """https://github.com/pylint-dev/pylint/issues/7131"""
for i, num in enumerate(range(3)) if __revision__ else enumerate(range(4)):
pass
print(i, num)
def find_even_number(container):
- """https://github.com/PyCQA/pylint/pull/6923#discussion_r895134495"""
+ """https://github.com/pylint-dev/pylint/pull/6923#discussion_r895134495"""
for something in container:
if something % 2 == 0:
break
diff --git a/tests/functional/u/undefined/undefined_loop_variable_py38.py b/tests/functional/u/undefined/undefined_loop_variable_py38.py
index 5778df7d2..f9bd06f62 100644
--- a/tests/functional/u/undefined/undefined_loop_variable_py38.py
+++ b/tests/functional/u/undefined/undefined_loop_variable_py38.py
@@ -2,7 +2,7 @@
def walrus_in_comprehension_test(container):
- """https://github.com/PyCQA/pylint/issues/7222"""
+ """https://github.com/pylint-dev/pylint/issues/7222"""
for something in container:
print(something)
print([my_test for something in container if (my_test := something)])
diff --git a/tests/functional/u/undefined/undefined_variable.py b/tests/functional/u/undefined/undefined_variable.py
index 78a32dacc..e1b66910f 100644
--- a/tests/functional/u/undefined/undefined_variable.py
+++ b/tests/functional/u/undefined/undefined_variable.py
@@ -203,7 +203,7 @@ def dec(inp):
# referencing parent class do not raise undefined variable
# because at the time of their calling, the class name will
# be populated
-# See https://github.com/PyCQA/pylint/issues/704
+# See https://github.com/pylint-dev/pylint/issues/704
class LambdaClass:
myattr = 1
mylambda = lambda: LambdaClass.myattr
@@ -346,7 +346,7 @@ def decorated4(x):
print(x)
-# https://github.com/PyCQA/pylint/issues/5111
+# https://github.com/pylint-dev/pylint/issues/5111
# AssignAttr in orelse block of 'TYPE_CHECKING' shouldn't crash
# Name being assigned must be imported in orelse block
if TYPE_CHECKING:
diff --git a/tests/functional/u/undefined/undefined_variable_classes.py b/tests/functional/u/undefined/undefined_variable_classes.py
index 364e24942..64d0007a5 100644
--- a/tests/functional/u/undefined/undefined_variable_classes.py
+++ b/tests/functional/u/undefined/undefined_variable_classes.py
@@ -2,7 +2,7 @@
# pylint: disable=missing-function-docstring, missing-class-docstring, too-few-public-methods
# Test that list comprehensions in base classes are scoped correctly
-# Regression reported in https://github.com/PyCQA/pylint/issues/3434
+# Regression reported in https://github.com/pylint-dev/pylint/issues/3434
import collections
@@ -14,7 +14,7 @@ class Foo(collections.namedtuple("Foo", [x + "_foo" for x in l])):
# Test that class attributes are in scope for return type annotations.
-# Regression reported in https://github.com/PyCQA/pylint/issues/1976
+# Regression reported in https://github.com/pylint-dev/pylint/issues/1976
class MyObject:
class MyType:
pass
diff --git a/tests/functional/u/undefined/undefined_variable_decorators.py b/tests/functional/u/undefined/undefined_variable_decorators.py
index 359737289..77c0b1229 100644
--- a/tests/functional/u/undefined/undefined_variable_decorators.py
+++ b/tests/functional/u/undefined/undefined_variable_decorators.py
@@ -3,7 +3,7 @@
# pylint: disable=unnecessary-comprehension
# Test that class attributes are in scope for listcomp in decorator.
-# Regression reported in https://github.com/PyCQA/pylint/issues/511
+# Regression reported in https://github.com/pylint-dev/pylint/issues/511
def dec(inp):
def inner(func):
diff --git a/tests/functional/u/undefined/undefined_variable_py30.py b/tests/functional/u/undefined/undefined_variable_py30.py
index ff77aaf8e..723e275a0 100644
--- a/tests/functional/u/undefined/undefined_variable_py30.py
+++ b/tests/functional/u/undefined/undefined_variable_py30.py
@@ -87,7 +87,7 @@ def used_before_assignment(*, arg): return arg + 1
# Test for #4021
-# https://github.com/PyCQA/pylint/issues/4021
+# https://github.com/pylint-dev/pylint/issues/4021
class MetaClass(type):
def __new__(mcs, *args, parameter=None, **kwargs):
print(parameter)
@@ -99,7 +99,7 @@ class InheritingClass(metaclass=MetaClass, parameter=variable): # [undefined-va
# Test for #4031
-# https://github.com/PyCQA/pylint/issues/4031
+# https://github.com/pylint-dev/pylint/issues/4031
class Inheritor(metaclass=DefinedTooLate ): # [undefined-variable]
pass
diff --git a/tests/functional/u/undefined/undefined_variable_py38.py b/tests/functional/u/undefined/undefined_variable_py38.py
index 6fb543e80..1f69a18a8 100644
--- a/tests/functional/u/undefined/undefined_variable_py38.py
+++ b/tests/functional/u/undefined/undefined_variable_py38.py
@@ -120,7 +120,7 @@ sorted_things = sorted(
# Tests for type annotation reused in comprehension
def type_annotation_used_after_comprehension():
- """https://github.com/PyCQA/pylint/issues/5326#issuecomment-982635371"""
+ """https://github.com/pylint-dev/pylint/issues/5326#issuecomment-982635371"""
my_int: int
ints = [my_int + 1 for my_int in range(5)]
@@ -129,13 +129,13 @@ def type_annotation_used_after_comprehension():
def type_annotation_unused_after_comprehension():
- """https://github.com/PyCQA/pylint/issues/5326"""
+ """https://github.com/pylint-dev/pylint/issues/5326"""
my_int: int
_ = [print(sep=my_int, end=my_int) for my_int in range(10)]
def type_annotation_used_improperly_after_comprehension():
- """https://github.com/PyCQA/pylint/issues/5654"""
+ """https://github.com/pylint-dev/pylint/issues/5654"""
my_int: int
_ = [print(sep=my_int, end=my_int) for my_int in range(10)]
print(my_int) # [used-before-assignment]
diff --git a/tests/functional/u/undefined/undefined_variable_typing.py b/tests/functional/u/undefined/undefined_variable_typing.py
index 7ef4d8599..fda65ceca 100644
--- a/tests/functional/u/undefined/undefined_variable_typing.py
+++ b/tests/functional/u/undefined/undefined_variable_typing.py
@@ -2,7 +2,7 @@
# pylint: disable=invalid-name, import-error
# Ensure attribute lookups in type comments are accounted for.
-# Reported in https://github.com/PyCQA/pylint/issues/4603
+# Reported in https://github.com/pylint-dev/pylint/issues/4603
from typing import TYPE_CHECKING, Any, Dict
@@ -16,12 +16,12 @@ c = ... # type: Bar.Boo
if TYPE_CHECKING:
__additional_builtin__: Dict[str, Any]
- # For why this would emit redefined-builtin: https://github.com/PyCQA/pylint/pull/3643
+ # For why this would emit redefined-builtin: https://github.com/pylint-dev/pylint/pull/3643
# pylint: disable-next=redefined-builtin
repr: Any
def run():
- """https://github.com/PyCQA/pylint/issues/6388"""
+ """https://github.com/pylint-dev/pylint/issues/6388"""
print(repr)
return __additional_builtin__["test"]
diff --git a/tests/functional/u/unexpected_special_method_signature.py b/tests/functional/u/unexpected_special_method_signature.py
index e2ae33857..146308b03 100644
--- a/tests/functional/u/unexpected_special_method_signature.py
+++ b/tests/functional/u/unexpected_special_method_signature.py
@@ -128,7 +128,7 @@ class ThirdGoodContextManager:
# unexpected-special-method-signature
-# https://github.com/PyCQA/pylint/issues/6644
+# https://github.com/pylint-dev/pylint/issues/6644
class Philosopher:
def __init_subclass__(cls, default_name, **kwargs):
super().__init_subclass__(**kwargs)
diff --git a/tests/functional/u/ungrouped_imports.py b/tests/functional/u/ungrouped_imports.py
index ace3a8e3f..b94fbeef9 100644
--- a/tests/functional/u/ungrouped_imports.py
+++ b/tests/functional/u/ungrouped_imports.py
@@ -26,7 +26,7 @@ from unittest import TestCase
from unittest.mock import MagicMock
-# https://github.com/PyCQA/pylint/issues/3382
+# https://github.com/pylint-dev/pylint/issues/3382
# Imports in a `if TYPE_CHECKING` block should not trigger `ungrouped-imports`
from typing import TYPE_CHECKING
if TYPE_CHECKING:
diff --git a/tests/functional/u/unnecessary/unnecessary_dict_index_lookup.py b/tests/functional/u/unnecessary/unnecessary_dict_index_lookup.py
index 74bf4e611..e02df87e3 100644
--- a/tests/functional/u/unnecessary/unnecessary_dict_index_lookup.py
+++ b/tests/functional/u/unnecessary/unnecessary_dict_index_lookup.py
@@ -73,7 +73,7 @@ for item in d.items():
# Test false positive described in #4630
-# (https://github.com/PyCQA/pylint/issues/4630)
+# (https://github.com/pylint-dev/pylint/issues/4630)
d = {'key': 'value'}
@@ -90,7 +90,7 @@ for k, _ in d.items():
# Test false positive described in #4716
# Should not be emitted for del
-# (https://github.com/PyCQA/pylint/issues/4716)
+# (https://github.com/pylint-dev/pylint/issues/4716)
d = {}
for key, val in d.items():
del d[key]
@@ -107,25 +107,25 @@ for key, val in outer_dict.items():
break
# Test partial unpacking of items
-# https://github.com/PyCQA/pylint/issues/5504
+# https://github.com/pylint-dev/pylint/issues/5504
d = {}
for key, in d.items():
print(d[key])
# Test subscripting an attribute
-# https://github.com/PyCQA/pylint/issues/6557
+# https://github.com/pylint-dev/pylint/issues/6557
f = Foo()
for input_output in d.items():
f.input_output = input_output # pylint: disable=attribute-defined-outside-init
print(d[f.input_output[0]])
-# Regression test for https://github.com/PyCQA/pylint/issues/6788
+# Regression test for https://github.com/pylint-dev/pylint/issues/6788
d = {'a': 1, 'b': 2, 'c': 3}
for key, val in d.items():
([d[key], x], y) = ([1, 2], 3)
-# Regression test for https://github.com/PyCQA/pylint/issues/6818
+# Regression test for https://github.com/pylint-dev/pylint/issues/6818
d = {'a': 1, 'b': 2, 'c': 3}
for key, val in d.items():
while d[key] > 0:
diff --git a/tests/functional/u/unnecessary/unnecessary_ellipsis.py b/tests/functional/u/unnecessary/unnecessary_ellipsis.py
index c46fd323a..081c4beda 100644
--- a/tests/functional/u/unnecessary/unnecessary_ellipsis.py
+++ b/tests/functional/u/unnecessary/unnecessary_ellipsis.py
@@ -123,7 +123,7 @@ def func1(val1, _):
def func2(val1, val2):
"""Ignore if ellipsis is used on comparisons.
- See https://github.com/PyCQA/pylint/issues/6071."""
+ See https://github.com/pylint-dev/pylint/issues/6071."""
if val1 is not ... and val2:
pass
diff --git a/tests/functional/u/unnecessary/unnecessary_list_index_lookup.py b/tests/functional/u/unnecessary/unnecessary_list_index_lookup.py
index ec5ee22c2..9e99388d8 100644
--- a/tests/functional/u/unnecessary/unnecessary_list_index_lookup.py
+++ b/tests/functional/u/unnecessary/unnecessary_list_index_lookup.py
@@ -45,16 +45,16 @@ result = [val for idx, val in enumerate(my_list) if idx > 0 and my_list[idx - 1]
result = [val for idx, val in enumerate(my_list) if other_list[idx] == 'a']
result = [my_list[idx] for idx, val in enumerate(my_list)] # [unnecessary-list-index-lookup]
-# Regression test for https://github.com/PyCQA/pylint/issues/6049
+# Regression test for https://github.com/pylint-dev/pylint/issues/6049
pairs = [(0, 0)]
for i, (a, b) in enumerate(pairs):
print(pairs[i][0])
-# Regression test for https://github.com/PyCQA/pylint/issues/6603
+# Regression test for https://github.com/pylint-dev/pylint/issues/6603
for i, num in enumerate(): # raises TypeError, but shouldn't crash pylint
pass
-# Regression test for https://github.com/PyCQA/pylint/issues/6788
+# Regression test for https://github.com/pylint-dev/pylint/issues/6788
num_list = [1, 2, 3]
for a, b in enumerate(num_list):
num_list[a], _ = (2, 1)
@@ -63,7 +63,7 @@ num_list = [1, 2, 3]
for a, b in enumerate(num_list):
([x, num_list[a]], _) = ([5, 6], 1)
-# Regression test for https://github.com/PyCQA/pylint/issues/6818
+# Regression test for https://github.com/pylint-dev/pylint/issues/6818
updated_list = [1, 2, 3]
for idx, val in enumerate(updated_list):
while updated_list[idx] > 0:
@@ -75,14 +75,14 @@ for idx, val in enumerate(updated_list):
updated_list[idx] -= 1
print(updated_list[idx])
-# Regression test for https://github.com/PyCQA/pylint/issues/6896
+# Regression test for https://github.com/pylint-dev/pylint/issues/6896
parts = ["a", "b", "c", "d"]
for i, part in enumerate(parts):
if i == 3: # more complex condition actually
parts.insert(i, "X")
print(part, parts[i])
-# regression tests for https://github.com/PyCQA/pylint/issues/7682
+# regression tests for https://github.com/pylint-dev/pylint/issues/7682
series = [1, 2, 3, 4, 5]
output_list = [
(item, series[index])
diff --git a/tests/functional/u/unpacking/unpacking_non_sequence_py37.py b/tests/functional/u/unpacking/unpacking_non_sequence_py37.py
index 13ab35b9a..3a1e3700a 100644
--- a/tests/functional/u/unpacking/unpacking_non_sequence_py37.py
+++ b/tests/functional/u/unpacking/unpacking_non_sequence_py37.py
@@ -1,11 +1,11 @@
"""
-https://github.com/PyCQA/pylint/issues/4895
+https://github.com/pylint-dev/pylint/issues/4895
"""
# pylint: disable=missing-docstring
# Disabled because of a bug with pypy 3.8 see
-# https://github.com/PyCQA/pylint/pull/7918#issuecomment-1352737369
+# https://github.com/pylint-dev/pylint/pull/7918#issuecomment-1352737369
# pylint: disable=multiple-statements
from __future__ import annotations
diff --git a/tests/functional/u/unreachable.py b/tests/functional/u/unreachable.py
index 0211a6136..e59ad218f 100644
--- a/tests/functional/u/unreachable.py
+++ b/tests/functional/u/unreachable.py
@@ -25,7 +25,7 @@ def func4():
return 1 / 0 # [unreachable]
-# https://github.com/PyCQA/pylint/issues/4698
+# https://github.com/pylint-dev/pylint/issues/4698
def func5():
"""Empty generator functions should be allowed."""
return
diff --git a/tests/functional/u/unspecified_encoding_py38.py b/tests/functional/u/unspecified_encoding_py38.py
index 66b8523f4..6afdab92a 100644
--- a/tests/functional/u/unspecified_encoding_py38.py
+++ b/tests/functional/u/unspecified_encoding_py38.py
@@ -87,7 +87,7 @@ Path(FILENAME).open("w", encoding=LOCALE_ENCODING)
# Tests for storing data about open calls.
# Most of these are regression tests for a crash
-# reported in https://github.com/PyCQA/pylint/issues/5321
+# reported in https://github.com/pylint-dev/pylint/issues/5321
# -- Constants
MODE = "wb"
@@ -126,7 +126,7 @@ open(FILENAME, mode=IOData.mode)
open(FILENAME, mode=IOData().my_mode)
open(FILENAME, mode=IOData().my_mode_method())
open(FILENAME, mode=IOData().my_mode_method_returner("wb"))
-# Invalid value but shouldn't crash, reported in https://github.com/PyCQA/pylint/issues/5321
+# Invalid value but shouldn't crash, reported in https://github.com/pylint-dev/pylint/issues/5321
open(FILENAME, mode=IOData)
@@ -141,7 +141,7 @@ class IOArgs:
args_good_one = IOArgs(encoding=None, mode="wb")
-# Test for crash reported in https://github.com/PyCQA/pylint/issues/5321
+# Test for crash reported in https://github.com/pylint-dev/pylint/issues/5321
open(FILENAME, args_good_one.mode, encoding=args_good_one.encoding)
# Positional arguments
@@ -157,8 +157,8 @@ Path(FILENAME).read_text() # [unspecified-encoding]
Path(FILENAME).write_text("string", "utf-8")
Path(FILENAME).write_text("string") # [unspecified-encoding]
-# Test for crash reported in https://github.com/PyCQA/pylint/issues/5731
+# Test for crash reported in https://github.com/pylint-dev/pylint/issues/5731
open(FILENAME, mode=None) # [bad-open-mode, unspecified-encoding]
-# Test for crash reported in https://github.com/PyCQA/pylint/issues/6414
+# Test for crash reported in https://github.com/pylint-dev/pylint/issues/6414
open('foo', mode=2) # [bad-open-mode, unspecified-encoding]
diff --git a/tests/functional/u/unsubscriptable_object.py b/tests/functional/u/unsubscriptable_object.py
index 0b7da78b3..4f21871d0 100644
--- a/tests/functional/u/unsubscriptable_object.py
+++ b/tests/functional/u/unsubscriptable_object.py
@@ -1,7 +1,7 @@
"""Tests for unscubscriptable-object"""
# Test for typing.NamedTuple
-# See: https://github.com/PyCQA/pylint/issues/1295
+# See: https://github.com/pylint-dev/pylint/issues/1295
import typing
MyType = typing.Tuple[str, str]
diff --git a/tests/functional/u/unused/unused_argument.py b/tests/functional/u/unused/unused_argument.py
index b46c1e4d7..9e52de77a 100644
--- a/tests/functional/u/unused/unused_argument.py
+++ b/tests/functional/u/unused/unused_argument.py
@@ -94,7 +94,7 @@ class BBBB:
self.spam = 1
-# Regression test for https://github.com/PyCQA/pylint/issues/5771
+# Regression test for https://github.com/pylint-dev/pylint/issues/5771
# involving keyword-only arguments
class Ancestor:
def __init__(self):
diff --git a/tests/functional/u/unused/unused_import.py b/tests/functional/u/unused/unused_import.py
index 3534cd0cf..5c2bdc924 100644
--- a/tests/functional/u/unused/unused_import.py
+++ b/tests/functional/u/unused/unused_import.py
@@ -102,7 +102,7 @@ class WithMetaclass(metaclass=ABCMeta):
pass
-# Regression test for https://github.com/PyCQA/pylint/issues/3765
+# Regression test for https://github.com/pylint-dev/pylint/issues/3765
# `unused-import` should not be emitted when a type annotation uses quotation marks
from typing import List
diff --git a/tests/functional/u/unused/unused_import_class_def_keyword.py b/tests/functional/u/unused/unused_import_class_def_keyword.py
index 0d6b59987..161d33cdb 100644
--- a/tests/functional/u/unused/unused_import_class_def_keyword.py
+++ b/tests/functional/u/unused/unused_import_class_def_keyword.py
@@ -1,7 +1,7 @@
"""
Test false-positive for unused-import on class keyword arguments
- https://github.com/PyCQA/pylint/issues/3202
+ https://github.com/pylint-dev/pylint/issues/3202
"""
# pylint: disable=missing-docstring,too-few-public-methods,invalid-name,import-error
diff --git a/tests/functional/u/unused/unused_import_everything_disabled.py b/tests/functional/u/unused/unused_import_everything_disabled.py
index 381cd012f..3c7d6c9ec 100644
--- a/tests/functional/u/unused/unused_import_everything_disabled.py
+++ b/tests/functional/u/unused/unused_import_everything_disabled.py
@@ -1,7 +1,7 @@
"""Test that unused-import is not emitted here when everything else is disabled
-https://github.com/PyCQA/pylint/issues/3445
-https://github.com/PyCQA/pylint/issues/6089
+https://github.com/pylint-dev/pylint/issues/3445
+https://github.com/pylint-dev/pylint/issues/6089
"""
from math import e, pi
from os import environ
diff --git a/tests/functional/u/unused/unused_import_positional_only_py38.py b/tests/functional/u/unused/unused_import_positional_only_py38.py
index 693a377d9..ceaad539d 100644
--- a/tests/functional/u/unused/unused_import_positional_only_py38.py
+++ b/tests/functional/u/unused/unused_import_positional_only_py38.py
@@ -1,6 +1,6 @@
"""Test that positional only argument annotations are properly marked as consumed
-https://github.com/PyCQA/pylint/issues/3462
+https://github.com/pylint-dev/pylint/issues/3462
"""
from typing import AnyStr, Set
diff --git a/tests/functional/u/unused/unused_private_member.py b/tests/functional/u/unused/unused_private_member.py
index 1696fb691..6b14b001f 100644
--- a/tests/functional/u/unused/unused_private_member.py
+++ b/tests/functional/u/unused/unused_private_member.py
@@ -106,7 +106,7 @@ k = Klass()
print(k.twentyone)
print(k.ninetyfive)
-# https://github.com/PyCQA/pylint/issues/4657
+# https://github.com/pylint-dev/pylint/issues/4657
# Mutation of class member with cls should not fire a false-positive
class FalsePositive4657:
"""False positive tests for 4657"""
@@ -140,7 +140,7 @@ class FalsePositive4657:
return cls.__attr_c # [undefined-variable]
-# https://github.com/PyCQA/pylint/issues/4668
+# https://github.com/pylint-dev/pylint/issues/4668
# Attributes assigned within __new__() has to be processed as part of the class
class FalsePositive4668:
# pylint: disable=protected-access, no-member, unreachable
@@ -166,7 +166,7 @@ class FalsePositive4668:
return self.func(*self.__args)
-# https://github.com/PyCQA/pylint/issues/4673
+# https://github.com/pylint-dev/pylint/issues/4673
# Nested functions shouldn't cause a false positive if they are properly used
class FalsePositive4673:
""" The testing class """
@@ -207,7 +207,7 @@ class FalsePositive4673:
return fn_to_return
-# https://github.com/PyCQA/pylint/issues/4755
+# https://github.com/pylint-dev/pylint/issues/4755
# Nested attributes shouldn't cause crash
class Crash4755Context:
def __init__(self):
@@ -223,7 +223,7 @@ class Crash4755Command:
print(message)
-# https://github.com/PyCQA/pylint/issues/4681
+# https://github.com/pylint-dev/pylint/issues/4681
# Accessing attributes of the class using the class name should not result in a false positive
# as long as it is used within the class
class FalsePositive4681:
@@ -263,7 +263,7 @@ class FalsePositive4681b:
FalsePositive4681b.__instance = False # This should be fine
-# https://github.com/PyCQA/pylint/issues/4849
+# https://github.com/pylint-dev/pylint/issues/4849
# Accessing private static methods from classmethods via `cls` should not result in a
# false positive
class FalsePositive4849:
@@ -283,7 +283,7 @@ class FalsePositive4849:
class Pony:
- """https://github.com/PyCQA/pylint/issues/4837"""
+ """https://github.com/pylint-dev/pylint/issues/4837"""
__defaults = {}
__defaults_set = False
@@ -305,7 +305,7 @@ def lookup_attribute(mapping, key):
# Test for regression on checking __class__ attribute
-# See: https://github.com/PyCQA/pylint/issues/5261
+# See: https://github.com/pylint-dev/pylint/issues/5261
class Foo:
__ham = 1
@@ -313,7 +313,7 @@ class Foo:
print(self.__class__.__ham)
-# https://github.com/PyCQA/pylint/issues/4756
+# https://github.com/pylint-dev/pylint/issues/4756
# Check for false positives emitted when private functions are not referenced in the class body
# with standard calls but passed as arguments to other functions.
class FalsePositive4756a:
@@ -347,7 +347,7 @@ class TypeSelfCallInMethod:
class Item:
- """Regression test for https://github.com/PyCQA/pylint/issues/6709"""
+ """Regression test for https://github.com/pylint-dev/pylint/issues/6709"""
def __init__(self, parent):
self.__parent: Item = parent
self.__item = self.__parent.__item # [unused-private-member]
diff --git a/tests/functional/u/unused/unused_typing_imports.py b/tests/functional/u/unused/unused_typing_imports.py
index 7de4e411b..3b9b7aa06 100644
--- a/tests/functional/u/unused/unused_typing_imports.py
+++ b/tests/functional/u/unused/unused_typing_imports.py
@@ -1,5 +1,5 @@
# pylint: disable=missing-docstring
-"""Regression test for https://github.com/PyCQA/pylint/issues/1168
+"""Regression test for https://github.com/pylint-dev/pylint/issues/1168
The problem was that we weren't handling keyword-only arguments annotations,
which means we were never processing them.
diff --git a/tests/functional/u/unused/unused_variable_after_inference.py b/tests/functional/u/unused/unused_variable_after_inference.py
index 569564dc9..5020cd32f 100644
--- a/tests/functional/u/unused/unused_variable_after_inference.py
+++ b/tests/functional/u/unused/unused_variable_after_inference.py
@@ -1,4 +1,4 @@
-"""Regression test for https://github.com/PyCQA/pylint/issues/6895"""
+"""Regression test for https://github.com/pylint-dev/pylint/issues/6895"""
# pylint: disable=missing-class-docstring,too-few-public-methods
import argparse
class Cls:
diff --git a/tests/functional/u/use/use_a_generator.py b/tests/functional/u/use/use_a_generator.py
index 279deb46f..6327eb1a2 100644
--- a/tests/functional/u/use/use_a_generator.py
+++ b/tests/functional/u/use/use_a_generator.py
@@ -1,5 +1,5 @@
# pylint: disable=missing-docstring, invalid-name
-# https://github.com/PyCQA/pylint/issues/3165
+# https://github.com/pylint-dev/pylint/issues/3165
any([])
all([])
diff --git a/tests/functional/u/use/use_implicit_booleaness_not_comparison.py b/tests/functional/u/use/use_implicit_booleaness_not_comparison.py
index 681ee0607..26b6aeaef 100644
--- a/tests/functional/u/use/use_implicit_booleaness_not_comparison.py
+++ b/tests/functional/u/use/use_implicit_booleaness_not_comparison.py
@@ -1,11 +1,11 @@
# pylint: disable=missing-docstring, missing-module-docstring, invalid-name
# pylint: disable=too-few-public-methods, line-too-long, dangerous-default-value
# pylint: disable=wrong-import-order
-# https://github.com/PyCQA/pylint/issues/4774
+# https://github.com/pylint-dev/pylint/issues/4774
def github_issue_4774():
# Test literals
- # https://github.com/PyCQA/pylint/issues/4774
+ # https://github.com/pylint-dev/pylint/issues/4774
good_list = []
if not good_list:
pass
@@ -197,7 +197,7 @@ if long_test == { }: # [use-implicit-booleaness-not-comparison]
# Check for properties and uninferable class methods
-# See https://github.com/PyCQA/pylint/issues/5646
+# See https://github.com/pylint-dev/pylint/issues/5646
from xyz import AnotherClassWithProperty
diff --git a/tests/functional/u/use/use_implicit_booleaness_not_len.py b/tests/functional/u/use/use_implicit_booleaness_not_len.py
index 4002a6dda..eb0679918 100644
--- a/tests/functional/u/use/use_implicit_booleaness_not_len.py
+++ b/tests/functional/u/use/use_implicit_booleaness_not_len.py
@@ -171,7 +171,7 @@ def github_issue_1879():
assert len(function_returning_list(z)) # [use-implicit-booleaness-not-len]
assert len(function_returning_int(z))
# This should raise a use-implicit-booleaness-not-len once astroid can infer it
- # See https://github.com/PyCQA/pylint/pull/3821#issuecomment-743771514
+ # See https://github.com/pylint-dev/pylint/pull/3821#issuecomment-743771514
# assert len(function_returning_generator(z))
# assert len(function_returning_comprehension(z))
# assert len(function_returning_function(z))
@@ -179,7 +179,7 @@ def github_issue_1879():
def github_issue_4215():
# Test undefined variables
- # https://github.com/PyCQA/pylint/issues/4215
+ # https://github.com/pylint-dev/pylint/issues/4215
if len(undefined_var): # [undefined-variable]
pass
if len(undefined_var2[0]): # [undefined-variable]
diff --git a/tests/functional/u/use/use_maxsplit_arg.py b/tests/functional/u/use/use_maxsplit_arg.py
index 449457a0c..11e51c116 100644
--- a/tests/functional/u/use/use_maxsplit_arg.py
+++ b/tests/functional/u/use/use_maxsplit_arg.py
@@ -84,7 +84,7 @@ a = "1,2,3".split('split')[-1] # [use-maxsplit-arg]
a = "1,2,3".rsplit('rsplit')[0] # [use-maxsplit-arg]
# Test cases for false-positive reported in #4664
-# https://github.com/PyCQA/pylint/issues/4664
+# https://github.com/pylint-dev/pylint/issues/4664
source = 'A.B.C.D.E.F.G'
i = 0
for j in range(5):
@@ -92,7 +92,7 @@ for j in range(5):
i = i + 1
# Test for crash when sep is given by keyword
-# https://github.com/PyCQA/pylint/issues/5737
+# https://github.com/pylint-dev/pylint/issues/5737
get_last = SEQ.split(sep=None)[-1] # [use-maxsplit-arg]
diff --git a/tests/functional/u/use/used_before_assignment_except_handler_for_try_with_return_py38.py b/tests/functional/u/use/used_before_assignment_except_handler_for_try_with_return_py38.py
index a43a89aa1..e0d874ff8 100644
--- a/tests/functional/u/use/used_before_assignment_except_handler_for_try_with_return_py38.py
+++ b/tests/functional/u/use/used_before_assignment_except_handler_for_try_with_return_py38.py
@@ -1,6 +1,6 @@
"""Tests for used-before-assignment with assignments in except handlers after
try blocks with return statements.
-See: https://github.com/PyCQA/pylint/issues/5500.
+See: https://github.com/pylint-dev/pylint/issues/5500.
"""
# pylint: disable=inconsistent-return-statements
diff --git a/tests/functional/u/used/used_before_assignment.py b/tests/functional/u/used/used_before_assignment.py
index d36b2fd8d..cb6d9c06c 100644
--- a/tests/functional/u/used/used_before_assignment.py
+++ b/tests/functional/u/used/used_before_assignment.py
@@ -108,7 +108,7 @@ for num in [0, 1]:
print(VAR12)
def turn_on2(**kwargs):
- """https://github.com/PyCQA/pylint/issues/7873"""
+ """https://github.com/pylint-dev/pylint/issues/7873"""
if "brightness" in kwargs:
brightness = kwargs["brightness"]
var, *args = (1, "set_dimmer_state", brightness)
diff --git a/tests/functional/u/used/used_before_assignment_class_nested_under_function.py b/tests/functional/u/used/used_before_assignment_class_nested_under_function.py
index 3627ae1e1..43734757b 100644
--- a/tests/functional/u/used/used_before_assignment_class_nested_under_function.py
+++ b/tests/functional/u/used/used_before_assignment_class_nested_under_function.py
@@ -1,4 +1,4 @@
-"""https://github.com/PyCQA/pylint/issues/4590"""
+"""https://github.com/pylint-dev/pylint/issues/4590"""
# pylint: disable=too-few-public-methods
diff --git a/tests/functional/u/used/used_before_assignment_comprehension_homonyms.py b/tests/functional/u/used/used_before_assignment_comprehension_homonyms.py
index 2321afed7..6c7fe411a 100644
--- a/tests/functional/u/used/used_before_assignment_comprehension_homonyms.py
+++ b/tests/functional/u/used/used_before_assignment_comprehension_homonyms.py
@@ -2,7 +2,7 @@
# pylint: disable=broad-exception-raised
def func():
- """https://github.com/PyCQA/pylint/issues/5586"""
+ """https://github.com/pylint-dev/pylint/issues/5586"""
try:
print(value for value in range(1 / 0) if isinstance(value, int))
except ZeroDivisionError:
@@ -29,7 +29,7 @@ def func3():
def func4():
- """https://github.com/PyCQA/pylint/issues/6035"""
+ """https://github.com/pylint-dev/pylint/issues/6035"""
assets = [asset for asset in range(3) if asset.name == "filename"]
try:
@@ -54,7 +54,7 @@ def func5():
def func6(data, keys):
"""Similar, but with a subscript in a key-value pair rather than the test
- See https://github.com/PyCQA/pylint/issues/6069"""
+ See https://github.com/pylint-dev/pylint/issues/6069"""
try:
results = {key: data[key] for key in keys}
except KeyError as exc:
diff --git a/tests/functional/u/used/used_before_assignment_else_return.py b/tests/functional/u/used/used_before_assignment_else_return.py
index a7e58bb61..8dcd21337 100644
--- a/tests/functional/u/used/used_before_assignment_else_return.py
+++ b/tests/functional/u/used/used_before_assignment_else_return.py
@@ -3,7 +3,7 @@
import sys
def valid():
- """https://github.com/PyCQA/pylint/issues/6790"""
+ """https://github.com/pylint-dev/pylint/issues/6790"""
try:
pass
except ValueError:
diff --git a/tests/functional/u/used/used_before_assignment_except_handler_for_try_with_return.py b/tests/functional/u/used/used_before_assignment_except_handler_for_try_with_return.py
index c83a48473..418fee298 100644
--- a/tests/functional/u/used/used_before_assignment_except_handler_for_try_with_return.py
+++ b/tests/functional/u/used/used_before_assignment_except_handler_for_try_with_return.py
@@ -1,6 +1,6 @@
"""Tests for used-before-assignment with assignments in except handlers after
try blocks with return statements.
-See: https://github.com/PyCQA/pylint/issues/5500.
+See: https://github.com/pylint-dev/pylint/issues/5500.
"""
# pylint: disable=inconsistent-return-statements,broad-exception-raised
diff --git a/tests/functional/u/used/used_before_assignment_issue2615.py b/tests/functional/u/used/used_before_assignment_issue2615.py
index bce073bf3..e2e5a4181 100644
--- a/tests/functional/u/used/used_before_assignment_issue2615.py
+++ b/tests/functional/u/used/used_before_assignment_issue2615.py
@@ -1,4 +1,4 @@
-"""https://github.com/PyCQA/pylint/issues/2615"""
+"""https://github.com/pylint-dev/pylint/issues/2615"""
def main():
"""When evaluating except blocks, assume try statements fail."""
try:
diff --git a/tests/functional/u/used/used_before_assignment_issue4761.py b/tests/functional/u/used/used_before_assignment_issue4761.py
index 6f8e048e4..7ba77be62 100644
--- a/tests/functional/u/used/used_before_assignment_issue4761.py
+++ b/tests/functional/u/used/used_before_assignment_issue4761.py
@@ -13,7 +13,7 @@ def function():
def uses_nonlocal():
- """https://github.com/PyCQA/pylint/issues/5965"""
+ """https://github.com/pylint-dev/pylint/issues/5965"""
count = 0
def inner():
nonlocal count
@@ -46,7 +46,7 @@ def uses_unrelated_nonlocal():
# only non-break exit branch.
def valid_only_non_break_exit_from_loop_is_except_handler():
- """https://github.com/PyCQA/pylint/issues/5683"""
+ """https://github.com/pylint-dev/pylint/issues/5683"""
for _ in range(3):
try:
function() # not an exit branch because of `else` below
diff --git a/tests/functional/u/used/used_before_assignment_issue85.py b/tests/functional/u/used/used_before_assignment_issue85.py
index 367af9dfa..7ede436bb 100644
--- a/tests/functional/u/used/used_before_assignment_issue85.py
+++ b/tests/functional/u/used/used_before_assignment_issue85.py
@@ -1,4 +1,4 @@
-"""https://github.com/PyCQA/pylint/issues/85"""
+"""https://github.com/pylint-dev/pylint/issues/85"""
def main():
"""When evaluating finally blocks, assume try statements fail."""
try:
@@ -54,7 +54,7 @@ def try_except_finally_nested_try_finally_in_try():
def try_except_finally_nested_in_finally():
"""Until Pylint comes to a consensus on requiring all except handlers to
- define a name, raise, or return (https://github.com/PyCQA/pylint/issues/5524),
+ define a name, raise, or return (https://github.com/pylint-dev/pylint/issues/5524),
Pylint assumes statements in try blocks succeed when accessed *after*
except or finally blocks and fail when accessed *in* except or finally
blocks.)
diff --git a/tests/functional/u/used/used_before_assignment_nonlocal.py b/tests/functional/u/used/used_before_assignment_nonlocal.py
index 18e16177d..4d926e9eb 100644
--- a/tests/functional/u/used/used_before_assignment_nonlocal.py
+++ b/tests/functional/u/used/used_before_assignment_nonlocal.py
@@ -60,7 +60,7 @@ nonlocal_in_ifexp()
def type_annotation_only_gets_value_via_nonlocal():
- """https://github.com/PyCQA/pylint/issues/5394"""
+ """https://github.com/pylint-dev/pylint/issues/5394"""
some_num: int
def inner():
nonlocal some_num
diff --git a/tests/functional/u/used/used_before_assignment_py37.py b/tests/functional/u/used/used_before_assignment_py37.py
index c64bf7cf5..1b0a895bf 100644
--- a/tests/functional/u/used/used_before_assignment_py37.py
+++ b/tests/functional/u/used/used_before_assignment_py37.py
@@ -30,6 +30,6 @@ class MyClass:
class NamedTupleSubclass(namedtuple("NamedTupleSubclass", [])):
- """Taken from https://github.com/PyCQA/pylint/issues/5982"""
+ """Taken from https://github.com/pylint-dev/pylint/issues/5982"""
def method(self) -> NamedTupleSubclass:
"""Variables checker crashed when astroid did not supply a lineno"""
diff --git a/tests/functional/u/used/used_before_assignment_type_annotations.py b/tests/functional/u/used/used_before_assignment_type_annotations.py
index 1a03050c3..e70a911ca 100644
--- a/tests/functional/u/used/used_before_assignment_type_annotations.py
+++ b/tests/functional/u/used/used_before_assignment_type_annotations.py
@@ -77,7 +77,7 @@ def typing_and_value_assignment_with_tuple_assignment():
def nested_class_as_return_annotation():
"""A namedtuple as a class attribute is used as a return annotation
- Taken from https://github.com/PyCQA/pylint/issues/5568"""
+ Taken from https://github.com/pylint-dev/pylint/issues/5568"""
class MyObject:
"""namedtuple as class attribute"""
Coords = namedtuple('Point', ['x', 'y'])
diff --git a/tests/functional/u/used/used_before_assignment_typing.py b/tests/functional/u/used/used_before_assignment_typing.py
index a685bdabc..5823babfc 100644
--- a/tests/functional/u/used/used_before_assignment_typing.py
+++ b/tests/functional/u/used/used_before_assignment_typing.py
@@ -91,7 +91,7 @@ class MyClass:
class MySecondClass:
"""Class to test self referential variable typing.
- This regressed, reported in: https://github.com/PyCQA/pylint/issues/5342
+ This regressed, reported in: https://github.com/pylint-dev/pylint/issues/5342
"""
def self_referential_optional_within_method(self) -> None:
@@ -121,7 +121,7 @@ class MyOtherClass:
class MyThirdClass:
"""Class to test self referential variable typing within conditionals.
- This regressed, reported in: https://github.com/PyCQA/pylint/issues/5499
+ This regressed, reported in: https://github.com/pylint-dev/pylint/issues/5499
"""
def function(self, var: int) -> None:
@@ -134,7 +134,7 @@ class MyThirdClass:
class MyFourthClass: # pylint: disable=too-few-public-methods
"""Class to test conditional imports guarded by TYPE_CHECKING two levels
- up then used in function annotation. See https://github.com/PyCQA/pylint/issues/7539"""
+ up then used in function annotation. See https://github.com/pylint-dev/pylint/issues/7539"""
def is_close(self, comparator: math.isclose, first, second): # [used-before-assignment]
"""Conditional imports guarded are only valid for variable annotations."""
@@ -145,8 +145,8 @@ class VariableAnnotationsGuardedByTypeChecking: # pylint: disable=too-few-publi
"""Class to test conditional imports guarded by TYPE_CHECKING then used in
local (function) variable annotations, which are not evaluated at runtime.
- See: https://github.com/PyCQA/pylint/issues/7609
- and https://github.com/PyCQA/pylint/issues/7882
+ See: https://github.com/pylint-dev/pylint/issues/7609
+ and https://github.com/pylint-dev/pylint/issues/7882
"""
still_an_error: datetime.date # [used-before-assignment]
diff --git a/tests/functional/u/useless/useless_parent_delegation.py b/tests/functional/u/useless/useless_parent_delegation.py
index ce645e31f..b742a4e94 100644
--- a/tests/functional/u/useless/useless_parent_delegation.py
+++ b/tests/functional/u/useless/useless_parent_delegation.py
@@ -312,7 +312,7 @@ class DecoratedList(MyList):
return super().__hash__()
-# Reported in https://github.com/PyCQA/pylint/issues/2270
+# Reported in https://github.com/pylint-dev/pylint/issues/2270
class Super:
def __init__(self, *args):
self.args = args
diff --git a/tests/functional/u/useless/useless_suppression.py b/tests/functional/u/useless/useless_suppression.py
index b5c681eef..627138b50 100644
--- a/tests/functional/u/useless/useless_suppression.py
+++ b/tests/functional/u/useless/useless_suppression.py
@@ -3,14 +3,14 @@
# pylint: disable=unused-import, wrong-import-order, wrong-import-position
# False positive for wrong-import-order
-# Reported in https://github.com/PyCQA/pylint/issues/2366
+# Reported in https://github.com/pylint-dev/pylint/issues/2366
from pylint import run_pylint
import astroid
# False-positive for 'line-too-long'
-# Reported in https://github.com/PyCQA/pylint/issues/4212
+# Reported in https://github.com/pylint-dev/pylint/issues/4212
VAR = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" # pylint: disable=line-too-long
# False-positive for 'wrong-import-order'
-# Reported in https://github.com/PyCQA/pylint/issues/5219
+# Reported in https://github.com/pylint-dev/pylint/issues/5219
import os
diff --git a/tests/input/func_noerror_cycle/__init__.py b/tests/input/func_noerror_cycle/__init__.py
index fd8d14ec2..0a0ca7e19 100644
--- a/tests/input/func_noerror_cycle/__init__.py
+++ b/tests/input/func_noerror_cycle/__init__.py
@@ -1,3 +1,3 @@
-# https://github.com/PyCQA/pylint/issues/3525
+# https://github.com/pylint-dev/pylint/issues/3525
# `cyclic-import` should not be emitted if one import
# is guarded by `typing.TYPE_CHECKING`
diff --git a/tests/lint/__init__.py b/tests/lint/__init__.py
index e8a8ff79f..cfd18ddd3 100644
--- a/tests/lint/__init__.py
+++ b/tests/lint/__init__.py
@@ -1,3 +1,3 @@
# 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
diff --git a/tests/lint/test_caching.py b/tests/lint/test_caching.py
index 55c2b54dd..e891f6810 100644
--- a/tests/lint/test_caching.py
+++ b/tests/lint/test_caching.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
# Pytest fixtures work like this by design
# pylint: disable=redefined-outer-name
diff --git a/tests/lint/test_pylinter.py b/tests/lint/test_pylinter.py
index f7e7cf4c4..1e4f40a00 100644
--- a/tests/lint/test_pylinter.py
+++ b/tests/lint/test_pylinter.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
import os
from pathlib import Path
diff --git a/tests/lint/test_run_pylint.py b/tests/lint/test_run_pylint.py
index 73dc26331..5057f1343 100644
--- a/tests/lint/test_run_pylint.py
+++ b/tests/lint/test_run_pylint.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/lint/test_utils.py b/tests/lint/test_utils.py
index 682a65fdd..fa449374a 100644
--- a/tests/lint/test_utils.py
+++ b/tests/lint/test_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
import unittest.mock
from pathlib import Path, PosixPath
diff --git a/tests/lint/unittest_expand_modules.py b/tests/lint/unittest_expand_modules.py
index a8c46498c..7120a1748 100644
--- a/tests/lint/unittest_expand_modules.py
+++ b/tests/lint/unittest_expand_modules.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
diff --git a/tests/lint/unittest_lint.py b/tests/lint/unittest_lint.py
index 9a7e788a6..918533795 100644
--- a/tests/lint/unittest_lint.py
+++ b/tests/lint/unittest_lint.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
# pylint: disable=redefined-outer-name
@@ -1142,7 +1142,7 @@ def test_globbing() -> None:
def test_relative_imports(initialized_linter: PyLinter) -> None:
- """Regression test for https://github.com/PyCQA/pylint/issues/3651"""
+ """Regression test for https://github.com/pylint-dev/pylint/issues/3651"""
linter = initialized_linter
with tempdir() as tmpdir:
create_files(["x/y/__init__.py", "x/y/one.py", "x/y/two.py"], tmpdir)
@@ -1197,7 +1197,7 @@ print(submodule1)
def test_lint_namespace_package_under_dir(initialized_linter: PyLinter) -> None:
- """Regression test for https://github.com/PyCQA/pylint/issues/1667"""
+ """Regression test for https://github.com/pylint-dev/pylint/issues/1667"""
linter = initialized_linter
with tempdir():
create_files(["outer/namespace/__init__.py", "outer/namespace/module.py"])
diff --git a/tests/message/__init__.py b/tests/message/__init__.py
index e8a8ff79f..cfd18ddd3 100644
--- a/tests/message/__init__.py
+++ b/tests/message/__init__.py
@@ -1,3 +1,3 @@
# 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
diff --git a/tests/message/conftest.py b/tests/message/conftest.py
index e41057835..57567f438 100644
--- a/tests/message/conftest.py
+++ b/tests/message/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
# pylint: disable=redefined-outer-name
diff --git a/tests/message/test_no_removed_msgid_or_symbol_used.py b/tests/message/test_no_removed_msgid_or_symbol_used.py
index 3b0134235..7b13dc460 100644
--- a/tests/message/test_no_removed_msgid_or_symbol_used.py
+++ b/tests/message/test_no_removed_msgid_or_symbol_used.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 pylint.lint import PyLinter
from pylint.message._deleted_message_ids import DELETED_MESSAGES_IDS
@@ -10,7 +10,7 @@ def test_no_removed_msgid_or_symbol_used(linter: PyLinter) -> None:
"""Tests that we're not using deleted msgid or symbol.
This could cause occasional bugs, but more importantly confusion and inconsistencies
- when searching for old msgids online. See https://github.com/PyCQA/pylint/issues/5729
+ when searching for old msgids online. See https://github.com/pylint-dev/pylint/issues/5729
"""
for deleted_messages in DELETED_MESSAGES_IDS.values():
for msgid, symbol, old_names in deleted_messages:
diff --git a/tests/message/unittest_message.py b/tests/message/unittest_message.py
index edb803daf..6fddd804c 100644
--- a/tests/message/unittest_message.py
+++ b/tests/message/unittest_message.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
diff --git a/tests/message/unittest_message_definition.py b/tests/message/unittest_message_definition.py
index aebd1bc6b..6c393b519 100644
--- a/tests/message/unittest_message_definition.py
+++ b/tests/message/unittest_message_definition.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
diff --git a/tests/message/unittest_message_definition_store.py b/tests/message/unittest_message_definition_store.py
index eb323a2e6..a8a0043fa 100644
--- a/tests/message/unittest_message_definition_store.py
+++ b/tests/message/unittest_message_definition_store.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
diff --git a/tests/message/unittest_message_id_store.py b/tests/message/unittest_message_id_store.py
index 9dcf774e5..c2b556ac9 100644
--- a/tests/message/unittest_message_id_store.py
+++ b/tests/message/unittest_message_id_store.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
diff --git a/tests/primer/__main__.py b/tests/primer/__main__.py
index 1e99ca234..260306237 100644
--- a/tests/primer/__main__.py
+++ b/tests/primer/__main__.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
diff --git a/tests/primer/test_primer_external.py b/tests/primer/test_primer_external.py
index 65e21f280..f8afa21ca 100644
--- a/tests/primer/test_primer_external.py
+++ b/tests/primer/test_primer_external.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
diff --git a/tests/primer/test_primer_stdlib.py b/tests/primer/test_primer_stdlib.py
index 1a0adacdf..ea5581749 100644
--- a/tests/primer/test_primer_stdlib.py
+++ b/tests/primer/test_primer_stdlib.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
diff --git a/tests/profile/test_profile_against_externals.py b/tests/profile/test_profile_against_externals.py
index 3ee7564f0..b646ede90 100644
--- a/tests/profile/test_profile_against_externals.py
+++ b/tests/profile/test_profile_against_externals.py
@@ -1,8 +1,8 @@
"""Profiles basic -jX functionality."""
# 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
# pylint: disable=missing-function-docstring
diff --git a/tests/pyreverse/conftest.py b/tests/pyreverse/conftest.py
index 000e31967..b281c5bee 100644
--- a/tests/pyreverse/conftest.py
+++ b/tests/pyreverse/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 __future__ import annotations
diff --git a/tests/pyreverse/test_diadefs.py b/tests/pyreverse/test_diadefs.py
index 73d8adfcc..5ab327617 100644
--- a/tests/pyreverse/test_diadefs.py
+++ b/tests/pyreverse/test_diadefs.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
"""Unit test for the extensions.diadefslib modules."""
diff --git a/tests/pyreverse/test_diagrams.py b/tests/pyreverse/test_diagrams.py
index 863bcecc9..761aa0692 100644
--- a/tests/pyreverse/test_diagrams.py
+++ b/tests/pyreverse/test_diagrams.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
"""Unit test for the diagrams modules."""
diff --git a/tests/pyreverse/test_inspector.py b/tests/pyreverse/test_inspector.py
index 77afb947f..ce7a65b62 100644
--- a/tests/pyreverse/test_inspector.py
+++ b/tests/pyreverse/test_inspector.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
"""For the visitors.diadefs module."""
diff --git a/tests/pyreverse/test_main.py b/tests/pyreverse/test_main.py
index 564394abb..350550585 100644
--- a/tests/pyreverse/test_main.py
+++ b/tests/pyreverse/test_main.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
"""Unittest for the main module."""
diff --git a/tests/pyreverse/test_printer.py b/tests/pyreverse/test_printer.py
index df8bc6367..012657516 100644
--- a/tests/pyreverse/test_printer.py
+++ b/tests/pyreverse/test_printer.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
diff --git a/tests/pyreverse/test_printer_factory.py b/tests/pyreverse/test_printer_factory.py
index 6b1135a84..23055be28 100644
--- a/tests/pyreverse/test_printer_factory.py
+++ b/tests/pyreverse/test_printer_factory.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
"""Unit tests for pylint.pyreverse.printer_factory."""
diff --git a/tests/pyreverse/test_pyreverse_functional.py b/tests/pyreverse/test_pyreverse_functional.py
index aab500b81..715ad3dad 100644
--- a/tests/pyreverse/test_pyreverse_functional.py
+++ b/tests/pyreverse/test_pyreverse_functional.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
import os
from pathlib import Path
diff --git a/tests/pyreverse/test_utils.py b/tests/pyreverse/test_utils.py
index d64bf4fa7..ef843fd29 100644
--- a/tests/pyreverse/test_utils.py
+++ b/tests/pyreverse/test_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
"""Tests for pylint.pyreverse.utils."""
diff --git a/tests/pyreverse/test_writer.py b/tests/pyreverse/test_writer.py
index c68eb1adf..2897ca054 100644
--- a/tests/pyreverse/test_writer.py
+++ b/tests/pyreverse/test_writer.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
"""Unit test for ``DiagramWriter``."""
diff --git a/tests/regrtest_data/line_too_long_no_code.py b/tests/regrtest_data/line_too_long_no_code.py
index 75ab07fc2..07fada40d 100644
--- a/tests/regrtest_data/line_too_long_no_code.py
+++ b/tests/regrtest_data/line_too_long_no_code.py
@@ -1,2 +1,2 @@
# ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 # pylint: disable=line-too-long
-# See https://github.com/PyCQA/pylint/issues/3368
+# See https://github.com/pylint-dev/pylint/issues/3368
diff --git a/tests/regrtest_data/max_inferable_limit_for_classes/main.py b/tests/regrtest_data/max_inferable_limit_for_classes/main.py
index 2588d916f..5f64c2e57 100644
--- a/tests/regrtest_data/max_inferable_limit_for_classes/main.py
+++ b/tests/regrtest_data/max_inferable_limit_for_classes/main.py
@@ -1,6 +1,6 @@
"""This example is based on sqlalchemy.
-See https://github.com/PyCQA/pylint/issues/5679
+See https://github.com/pylint-dev/pylint/issues/5679
"""
from other_funcs import FromClause
diff --git a/tests/reporters/unittest_json_reporter.py b/tests/reporters/unittest_json_reporter.py
index 9104016ea..0182ebd1a 100644
--- a/tests/reporters/unittest_json_reporter.py
+++ b/tests/reporters/unittest_json_reporter.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 JSON reporter."""
diff --git a/tests/reporters/unittest_reporting.py b/tests/reporters/unittest_reporting.py
index 4bc656640..98cd17923 100644
--- a/tests/reporters/unittest_reporting.py
+++ b/tests/reporters/unittest_reporting.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
# pylint: disable=redefined-outer-name
diff --git a/tests/test_check_parallel.py b/tests/test_check_parallel.py
index 9134d485b..24f958406 100644
--- a/tests/test_check_parallel.py
+++ b/tests/test_check_parallel.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
"""Puts the check_parallel system under test."""
@@ -188,7 +188,7 @@ class TestCheckParallelFramework:
See:
https://stackoverflow.com/questions/8804830/python-multiprocessing-picklingerror-cant-pickle-type-function
- https://github.com/PyCQA/pylint/pull/5584
+ https://github.com/pylint-dev/pylint/pull/5584
"""
linter = PyLinter(reporter=Reporter())
linter.attribute = argparse.ArgumentParser() # type: ignore[attr-defined]
@@ -548,7 +548,7 @@ class TestCheckParallel:
The intent here is to validate the reduce step: no stats should be lost.
- Checks regression of https://github.com/PyCQA/pylint/issues/4118
+ Checks regression of https://github.com/pylint-dev/pylint/issues/4118
"""
# define the stats we expect to get back from the runs, these should only vary
diff --git a/tests/test_func.py b/tests/test_func.py
index f68e53135..d74e7ac6f 100644
--- a/tests/test_func.py
+++ b/tests/test_func.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
"""Functional/non regression tests for pylint."""
diff --git a/tests/test_functional.py b/tests/test_functional.py
index 77cdbc58f..13bb060b7 100644
--- a/tests/test_functional.py
+++ b/tests/test_functional.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
"""Functional full-module tests for PyLint."""
diff --git a/tests/test_functional_directories.py b/tests/test_functional_directories.py
index f75772332..59a2eddfb 100644
--- a/tests/test_functional_directories.py
+++ b/tests/test_functional_directories.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 that the directory structure of the functional tests is correct."""
from pathlib import Path
diff --git a/tests/test_import_graph.py b/tests/test_import_graph.py
index 2ad51f889..20cbdff00 100644
--- a/tests/test_import_graph.py
+++ b/tests/test_import_graph.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
# pylint: disable=redefined-outer-name
diff --git a/tests/test_numversion.py b/tests/test_numversion.py
index 2c34c1aa3..d19c6a31e 100644
--- a/tests/test_numversion.py
+++ b/tests/test_numversion.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
diff --git a/tests/test_pragma_parser.py b/tests/test_pragma_parser.py
index 3590950f4..b686c0042 100644
--- a/tests/test_pragma_parser.py
+++ b/tests/test_pragma_parser.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
import pytest
diff --git a/tests/test_pylint_runners.py b/tests/test_pylint_runners.py
index dab1dc025..29c4f90e8 100644
--- a/tests/test_pylint_runners.py
+++ b/tests/test_pylint_runners.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
# pylint: disable=missing-module-docstring, missing-function-docstring
from __future__ import annotations
@@ -61,8 +61,8 @@ def test_pylint_argument_deduplication(
"""Check that the Pylint runner does not over-report on duplicate
arguments.
- See https://github.com/PyCQA/pylint/issues/6242 and
- https://github.com/PyCQA/pylint/issues/4053
+ See https://github.com/pylint-dev/pylint/issues/6242 and
+ https://github.com/pylint-dev/pylint/issues/4053
"""
filepath = str(tests_directory / "functional/t/too/too_many_branches.py")
testargs = shlex.split("--report n --score n --max-branches 13")
diff --git a/tests/test_regr.py b/tests/test_regr.py
index 599b258ad..d92742943 100644
--- a/tests/test_regr.py
+++ b/tests/test_regr.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
"""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 988862ab2..51a077665 100644
--- a/tests/test_self.py
+++ b/tests/test_self.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
# pylint: disable=too-many-public-methods
@@ -301,7 +301,7 @@ class TestRunTC:
An import inside `module_a`, which is used as a type annotation in `module_a`, should not prevent
emitting the `unused-import` message when the same import occurs in `module_b` & is unused.
- See: https://github.com/PyCQA/pylint/issues/4150
+ See: https://github.com/pylint-dev/pylint/issues/4150
"""
module1 = join(
HERE, "regrtest_data", "imported_module_in_typehint", "module_a.py"
@@ -888,7 +888,7 @@ a.py:1:4: E0001: Parsing failed: 'invalid syntax (<unknown>, line 1)' (syntax-er
[
["--disable=import-error,unused-import"],
# Test with multiple jobs for 'hmac.py' for which we have a
- # CVE against: https://github.com/PyCQA/pylint/issues/959
+ # CVE against: https://github.com/pylint-dev/pylint/issues/959
["-j2", "--disable=import-error,unused-import"],
],
)
@@ -904,7 +904,7 @@ a.py:1:4: E0001: Parsing failed: 'invalid syntax (<unknown>, line 1)' (syntax-er
new_python_path = os.environ.get("PYTHONPATH", "").strip(":")
with _test_cwd(tmp_path), _test_environ_pythonpath(f"{new_python_path}:"):
# Appending a colon to PYTHONPATH should not break path stripping
- # https://github.com/PyCQA/pylint/issues/3636
+ # https://github.com/pylint-dev/pylint/issues/3636
subprocess.check_output(pylint_call, cwd=str(tmp_path))
@staticmethod
@@ -983,7 +983,7 @@ a.py:1:4: E0001: Parsing failed: 'invalid syntax (<unknown>, line 1)' (syntax-er
def test_regression_parallel_mode_without_filepath(self) -> None:
# Test that parallel mode properly passes filepath
- # https://github.com/PyCQA/pylint/issues/3564
+ # https://github.com/pylint-dev/pylint/issues/3564
path = join(
HERE, "regrtest_data", "regression_missing_init_3564", "subdirectory/"
)
@@ -1127,7 +1127,7 @@ a.py:1:4: E0001: Parsing failed: 'invalid syntax (<unknown>, line 1)' (syntax-er
def test_regex_paths_csv_validator() -> None:
"""Test to see if _regexp_paths_csv_validator works.
Previously the validator crashed when encountering already validated values.
- Reported in https://github.com/PyCQA/pylint/issues/5437
+ Reported in https://github.com/pylint-dev/pylint/issues/5437
"""
with pytest.raises(SystemExit) as ex:
args = _add_rcfile_default_pylintrc(
@@ -1138,7 +1138,7 @@ a.py:1:4: E0001: Parsing failed: 'invalid syntax (<unknown>, line 1)' (syntax-er
@staticmethod
def test_max_inferred_for_complicated_class_hierarchy() -> None:
- """Regression test for a crash reported in https://github.com/PyCQA/pylint/issues/5679.
+ """Regression test for a crash reported in https://github.com/pylint-dev/pylint/issues/5679.
The class hierarchy of 'sqlalchemy' is so intricate that it becomes uninferable with
the standard max_inferred of 100. We used to crash when this happened.
@@ -1273,7 +1273,7 @@ a.py:1:4: E0001: Parsing failed: 'invalid syntax (<unknown>, line 1)' (syntax-er
def test_line_too_long_useless_suppression(self) -> None:
"""A test that demonstrates a known false positive for useless-suppression
- See https://github.com/PyCQA/pylint/issues/3368
+ See https://github.com/pylint-dev/pylint/issues/3368
If you manage to make this test fail and remove the useless-suppression
warning please contact open a Pylint PR!
diff --git a/tests/test_similar.py b/tests/test_similar.py
index 051bc4b27..0f2ec242c 100644
--- a/tests/test_similar.py
+++ b/tests/test_similar.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
diff --git a/tests/testutils/_primer/test_package_to_lint.py b/tests/testutils/_primer/test_package_to_lint.py
index 6fce306b3..19645d1eb 100644
--- a/tests/testutils/_primer/test_package_to_lint.py
+++ b/tests/testutils/_primer/test_package_to_lint.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 pylint.testutils._primer import PRIMER_DIRECTORY_PATH, PackageToLint
diff --git a/tests/testutils/_primer/test_primer.py b/tests/testutils/_primer/test_primer.py
index 96430f537..076c58a14 100644
--- a/tests/testutils/_primer/test_primer.py
+++ b/tests/testutils/_primer/test_primer.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 the primer commands. """
from __future__ import annotations
diff --git a/tests/testutils/dummy_checker.py b/tests/testutils/dummy_checker.py
index e8a8ff79f..cfd18ddd3 100644
--- a/tests/testutils/dummy_checker.py
+++ b/tests/testutils/dummy_checker.py
@@ -1,3 +1,3 @@
# 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
diff --git a/tests/testutils/test_configuration_test.py b/tests/testutils/test_configuration_test.py
index 2efa65df3..fa6156a29 100644
--- a/tests/testutils/test_configuration_test.py
+++ b/tests/testutils/test_configuration_test.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
import logging
from pathlib import Path
diff --git a/tests/testutils/test_functional_testutils.py b/tests/testutils/test_functional_testutils.py
index d4a7a0ce1..d1047c8ee 100644
--- a/tests/testutils/test_functional_testutils.py
+++ b/tests/testutils/test_functional_testutils.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
"""Tests for the functional test framework."""
diff --git a/tests/testutils/test_lint_module_output_update.py b/tests/testutils/test_lint_module_output_update.py
index 04c51d884..a8bfc5fde 100644
--- a/tests/testutils/test_lint_module_output_update.py
+++ b/tests/testutils/test_lint_module_output_update.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
# pylint: disable=redefined-outer-name
diff --git a/tests/testutils/test_output_line.py b/tests/testutils/test_output_line.py
index db0e6eb0e..c28c851ac 100644
--- a/tests/testutils/test_output_line.py
+++ b/tests/testutils/test_output_line.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
# pylint: disable=redefined-outer-name
diff --git a/tests/testutils/test_pyreverse_testutils.py b/tests/testutils/test_pyreverse_testutils.py
index 95cbc239f..2bb411c4d 100644
--- a/tests/testutils/test_pyreverse_testutils.py
+++ b/tests/testutils/test_pyreverse_testutils.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/testutils/test_testutils_utils.py b/tests/testutils/test_testutils_utils.py
index b521e25c4..f32f87ba3 100644
--- a/tests/testutils/test_testutils_utils.py
+++ b/tests/testutils/test_testutils_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
import os
import sys
diff --git a/tests/utils/unittest_ast_walker.py b/tests/utils/unittest_ast_walker.py
index 5a2dc6609..2aac78126 100644
--- a/tests/utils/unittest_ast_walker.py
+++ b/tests/utils/unittest_ast_walker.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
diff --git a/tests/utils/unittest_utils.py b/tests/utils/unittest_utils.py
index c802c40e2..d2cfbd5b2 100644
--- a/tests/utils/unittest_utils.py
+++ b/tests/utils/unittest_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
import io
diff --git a/towncrier.toml b/towncrier.toml
index b8c00a8ff..f71f5e829 100644
--- a/towncrier.toml
+++ b/towncrier.toml
@@ -3,7 +3,7 @@ version = "2.17.1"
directory = "doc/whatsnew/fragments"
filename = "doc/whatsnew/2/2.17/index.rst"
template = "doc/whatsnew/fragments/_template.rst"
-issue_format = "`#{issue} <https://github.com/PyCQA/pylint/issues/{issue}>`_"
+issue_format = "`#{issue} <https://github.com/pylint-dev/pylint/issues/{issue}>`_"
wrap = true
# Definition of fragment types.