summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdoc/exts/pylint_extensions.py2
-rwxr-xr-xdoc/exts/pylint_features.py2
-rw-r--r--pylint/__init__.py2
-rw-r--r--pylint/__main__.py2
-rw-r--r--pylint/__pkginfo__.py2
-rw-r--r--pylint/checkers/__init__.py2
-rw-r--r--pylint/checkers/async.py2
-rw-r--r--pylint/checkers/base.py2
-rw-r--r--pylint/checkers/base_checker.py2
-rw-r--r--pylint/checkers/classes.py2
-rw-r--r--pylint/checkers/deprecated.py2
-rw-r--r--pylint/checkers/design_analysis.py2
-rw-r--r--pylint/checkers/exceptions.py2
-rw-r--r--pylint/checkers/format.py2
-rw-r--r--pylint/checkers/imports.py2
-rw-r--r--pylint/checkers/logging.py2
-rw-r--r--pylint/checkers/mapreduce_checker.py2
-rw-r--r--pylint/checkers/misc.py2
-rw-r--r--pylint/checkers/newstyle.py2
-rw-r--r--pylint/checkers/python3.py2
-rw-r--r--pylint/checkers/raw_metrics.py2
-rw-r--r--pylint/checkers/refactoring/__init__.py2
-rw-r--r--pylint/checkers/refactoring/len_checker.py2
-rw-r--r--pylint/checkers/refactoring/not_checker.py2
-rw-r--r--pylint/checkers/refactoring/recommendation_checker.py2
-rw-r--r--pylint/checkers/refactoring/refactoring_checker.py2
-rw-r--r--pylint/checkers/similar.py2
-rw-r--r--pylint/checkers/spelling.py2
-rw-r--r--pylint/checkers/stdlib.py2
-rw-r--r--pylint/checkers/strings.py2
-rw-r--r--pylint/checkers/typecheck.py2
-rw-r--r--pylint/checkers/utils.py2
-rw-r--r--pylint/checkers/variables.py2
-rw-r--r--pylint/config/__init__.py2
-rw-r--r--pylint/config/configuration_mixin.py2
-rw-r--r--pylint/config/find_default_config_files.py2
-rw-r--r--pylint/config/man_help_formatter.py2
-rw-r--r--pylint/config/option.py2
-rw-r--r--pylint/config/option_manager_mixin.py2
-rw-r--r--pylint/config/option_parser.py2
-rw-r--r--pylint/config/options_provider_mixin.py2
-rw-r--r--pylint/constants.py2
-rwxr-xr-xpylint/epylint.py2
-rw-r--r--pylint/exceptions.py2
-rw-r--r--pylint/extensions/_check_docs_utils.py2
-rw-r--r--pylint/extensions/bad_builtin.py2
-rw-r--r--pylint/extensions/broad_try_clause.py2
-rw-r--r--pylint/extensions/check_docs.py2
-rw-r--r--pylint/extensions/check_elif.py2
-rw-r--r--pylint/extensions/comparetozero.py2
-rw-r--r--pylint/extensions/confusing_elif.py2
-rw-r--r--pylint/extensions/docparams.py2
-rw-r--r--pylint/extensions/docstyle.py2
-rw-r--r--pylint/extensions/emptystring.py2
-rw-r--r--pylint/extensions/mccabe.py2
-rw-r--r--pylint/extensions/overlapping_exceptions.py2
-rw-r--r--pylint/extensions/redefined_variable_type.py2
-rw-r--r--pylint/graph.py2
-rw-r--r--pylint/interfaces.py2
-rw-r--r--pylint/lint/__init__.py2
-rw-r--r--pylint/lint/parallel.py2
-rw-r--r--pylint/lint/pylinter.py2
-rw-r--r--pylint/lint/report_functions.py2
-rw-r--r--pylint/lint/run.py2
-rw-r--r--pylint/lint/utils.py2
-rw-r--r--pylint/message/__init__.py2
-rw-r--r--pylint/message/message.py2
-rw-r--r--pylint/message/message_definition.py2
-rw-r--r--pylint/message/message_definition_store.py2
-rw-r--r--pylint/message/message_handler_mix_in.py2
-rw-r--r--pylint/message/message_id_store.py2
-rw-r--r--pylint/pyreverse/__init__.py2
-rw-r--r--pylint/pyreverse/diadefslib.py2
-rw-r--r--pylint/pyreverse/diagrams.py2
-rw-r--r--pylint/pyreverse/inspector.py2
-rw-r--r--pylint/pyreverse/main.py2
-rw-r--r--pylint/pyreverse/utils.py2
-rw-r--r--pylint/pyreverse/vcgutils.py2
-rw-r--r--pylint/pyreverse/writer.py2
-rw-r--r--pylint/reporters/__init__.py2
-rw-r--r--pylint/reporters/base_reporter.py2
-rw-r--r--pylint/reporters/collecting_reporter.py2
-rw-r--r--pylint/reporters/json_reporter.py2
-rw-r--r--pylint/reporters/multi_reporter.py2
-rw-r--r--pylint/reporters/reports_handler_mix_in.py2
-rw-r--r--pylint/reporters/text.py2
-rw-r--r--pylint/reporters/ureports/__init__.py2
-rw-r--r--pylint/reporters/ureports/nodes.py2
-rw-r--r--pylint/reporters/ureports/text_writer.py2
-rw-r--r--pylint/testutils/__init__.py2
-rw-r--r--pylint/testutils/checker_test_case.py2
-rw-r--r--pylint/testutils/constants.py2
-rw-r--r--pylint/testutils/decorator.py2
-rw-r--r--pylint/testutils/functional_test_file.py2
-rw-r--r--pylint/testutils/get_test_info.py2
-rw-r--r--pylint/testutils/global_test_linter.py2
-rw-r--r--pylint/testutils/lint_module_test.py2
-rw-r--r--pylint/testutils/output_line.py2
-rw-r--r--pylint/testutils/reporter_for_tests.py2
-rw-r--r--pylint/testutils/tokenize_str.py2
-rw-r--r--pylint/testutils/unittest_linter.py2
-rw-r--r--pylint/utils/__init__.py2
-rw-r--r--pylint/utils/ast_walker.py2
-rw-r--r--pylint/utils/file_state.py2
-rw-r--r--pylint/utils/pragma_parser.py2
-rw-r--r--pylint/utils/utils.py2
-rw-r--r--script/bump_changelog.py2
-rw-r--r--tests/acceptance/test_stdlib.py2
-rw-r--r--tests/benchmark/test_baseline_benchmarks.py2
-rw-r--r--tests/checkers/unittest_base.py2
-rw-r--r--tests/checkers/unittest_classes.py2
-rw-r--r--tests/checkers/unittest_exceptions.py2
-rw-r--r--tests/checkers/unittest_format.py2
-rw-r--r--tests/checkers/unittest_imports.py2
-rw-r--r--tests/checkers/unittest_logging.py2
-rw-r--r--tests/checkers/unittest_misc.py2
-rw-r--r--tests/checkers/unittest_python3.py2
-rw-r--r--tests/checkers/unittest_refactoring.py2
-rw-r--r--tests/checkers/unittest_similar.py2
-rw-r--r--tests/checkers/unittest_spelling.py2
-rw-r--r--tests/checkers/unittest_stdlib.py2
-rw-r--r--tests/checkers/unittest_strings.py2
-rw-r--r--tests/checkers/unittest_typecheck.py2
-rw-r--r--tests/checkers/unittest_utils.py2
-rw-r--r--tests/checkers/unittest_variables.py2
-rw-r--r--tests/extensions/test_bad_builtin.py2
-rw-r--r--tests/extensions/test_broad_try_clause.py2
-rw-r--r--tests/extensions/test_check_docs.py2
-rw-r--r--tests/extensions/test_check_docs_utils.py2
-rw-r--r--tests/extensions/test_check_mccabe.py2
-rw-r--r--tests/extensions/test_check_raise_docs.py2
-rw-r--r--tests/extensions/test_check_return_docs.py2
-rw-r--r--tests/extensions/test_check_yields_docs.py2
-rw-r--r--tests/extensions/test_comparetozero.py2
-rw-r--r--tests/extensions/test_confusing_elif.py2
-rw-r--r--tests/extensions/test_docstyle.py2
-rw-r--r--tests/extensions/test_elseif_used.py2
-rw-r--r--tests/extensions/test_emptystring.py2
-rw-r--r--tests/extensions/test_overlapping_exceptions.py2
-rw-r--r--tests/extensions/test_redefined.py2
-rw-r--r--tests/lint/unittest_expand_modules.py2
-rw-r--r--tests/lint/unittest_lint.py2
-rw-r--r--tests/message/conftest.py2
-rw-r--r--tests/message/unittest_message.py2
-rw-r--r--tests/message/unittest_message_definition.py2
-rw-r--r--tests/message/unittest_message_definition_store.py2
-rw-r--r--tests/message/unittest_message_id_store.py2
-rw-r--r--tests/profile/test_profile_against_externals.py2
-rw-r--r--tests/test_check_parallel.py2
-rw-r--r--tests/test_func.py2
-rw-r--r--tests/test_functional.py2
-rw-r--r--tests/test_import_graph.py2
-rw-r--r--tests/test_numversion.py2
-rw-r--r--tests/test_regr.py2
-rw-r--r--tests/test_self.py2
-rw-r--r--tests/testutils/test_output_line.py2
-rw-r--r--tests/unittest_config.py2
-rw-r--r--tests/unittest_pyreverse_diadefs.py2
-rw-r--r--tests/unittest_pyreverse_inspector.py2
-rw-r--r--tests/unittest_pyreverse_writer.py2
-rw-r--r--tests/unittest_reporters_json.py2
-rw-r--r--tests/unittest_reporting.py2
-rw-r--r--tests/utils/unittest_ast_walker.py2
-rw-r--r--tests/utils/unittest_utils.py2
164 files changed, 164 insertions, 164 deletions
diff --git a/doc/exts/pylint_extensions.py b/doc/exts/pylint_extensions.py
index 824514be5..02e9be5bc 100755
--- a/doc/exts/pylint_extensions.py
+++ b/doc/exts/pylint_extensions.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Script used to generate the extensions file before building the actual documentation."""
diff --git a/doc/exts/pylint_features.py b/doc/exts/pylint_features.py
index e202f9880..7a296986c 100755
--- a/doc/exts/pylint_features.py
+++ b/doc/exts/pylint_features.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Script used to generate the features file before building the actual documentation."""
diff --git a/pylint/__init__.py b/pylint/__init__.py
index 14bf18d3b..1e6dbafe4 100644
--- a/pylint/__init__.py
+++ b/pylint/__init__.py
@@ -7,7 +7,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import os
import sys
diff --git a/pylint/__main__.py b/pylint/__main__.py
index 0415e32ac..278570f61 100644
--- a/pylint/__main__.py
+++ b/pylint/__main__.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import pylint
diff --git a/pylint/__pkginfo__.py b/pylint/__pkginfo__.py
index 3be32cd61..626dac6c4 100644
--- a/pylint/__pkginfo__.py
+++ b/pylint/__pkginfo__.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
from typing import Tuple
__version__ = "2.9.3-dev0"
diff --git a/pylint/checkers/__init__.py b/pylint/checkers/__init__.py
index 74d1bae1f..4bc586a1c 100644
--- a/pylint/checkers/__init__.py
+++ b/pylint/checkers/__init__.py
@@ -16,7 +16,7 @@
# Copyright (c) 2021 Matus Valo <matusvalo@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""utilities methods and classes for checkers
diff --git a/pylint/checkers/async.py b/pylint/checkers/async.py
index 4dd019266..b52eee4d3 100644
--- a/pylint/checkers/async.py
+++ b/pylint/checkers/async.py
@@ -4,7 +4,7 @@
# Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Checker for anything related to the async protocol (PEP 492)."""
diff --git a/pylint/checkers/base.py b/pylint/checkers/base.py
index 98cf1ba09..e8b30f7bc 100644
--- a/pylint/checkers/base.py
+++ b/pylint/checkers/base.py
@@ -59,7 +59,7 @@
# Copyright (c) 2021 Or Bahari <orbahari@mail.tau.ac.il>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""basic checker for Python code"""
import builtins
diff --git a/pylint/checkers/base_checker.py b/pylint/checkers/base_checker.py
index 0ef186f66..67e569151 100644
--- a/pylint/checkers/base_checker.py
+++ b/pylint/checkers/base_checker.py
@@ -13,7 +13,7 @@
# Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import functools
from inspect import cleandoc
from typing import Any
diff --git a/pylint/checkers/classes.py b/pylint/checkers/classes.py
index abf77a416..c61e33c9c 100644
--- a/pylint/checkers/classes.py
+++ b/pylint/checkers/classes.py
@@ -40,7 +40,7 @@
# Copyright (c) 2021 tiagohonorato <61059243+tiagohonorato@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""classes checker for Python code
"""
diff --git a/pylint/checkers/deprecated.py b/pylint/checkers/deprecated.py
index 6f9c4b27a..a20b09e8e 100644
--- a/pylint/checkers/deprecated.py
+++ b/pylint/checkers/deprecated.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Checker mixin for deprecated functionality."""
from itertools import chain
diff --git a/pylint/checkers/design_analysis.py b/pylint/checkers/design_analysis.py
index 09b28b3d4..a02969410 100644
--- a/pylint/checkers/design_analysis.py
+++ b/pylint/checkers/design_analysis.py
@@ -19,7 +19,7 @@
# Copyright (c) 2021 yushao2 <36848472+yushao2@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""check for signs of poor design"""
diff --git a/pylint/checkers/exceptions.py b/pylint/checkers/exceptions.py
index 41e420461..74b944977 100644
--- a/pylint/checkers/exceptions.py
+++ b/pylint/checkers/exceptions.py
@@ -29,7 +29,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Checks for various exception related errors."""
import builtins
diff --git a/pylint/checkers/format.py b/pylint/checkers/format.py
index 89877521a..3bcdfc977 100644
--- a/pylint/checkers/format.py
+++ b/pylint/checkers/format.py
@@ -39,7 +39,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Python code format's checker.
diff --git a/pylint/checkers/imports.py b/pylint/checkers/imports.py
index ceadaef90..ef10e39b0 100644
--- a/pylint/checkers/imports.py
+++ b/pylint/checkers/imports.py
@@ -40,7 +40,7 @@
# Copyright (c) 2021 Andrew Howe <howeaj@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""imports checkers for Python code"""
diff --git a/pylint/checkers/logging.py b/pylint/checkers/logging.py
index 084c7a96e..411e2f574 100644
--- a/pylint/checkers/logging.py
+++ b/pylint/checkers/logging.py
@@ -19,7 +19,7 @@
# Copyright (c) 2020 Anthony Sottile <asottile@umich.edu>
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""checker for use of Python logging
"""
diff --git a/pylint/checkers/mapreduce_checker.py b/pylint/checkers/mapreduce_checker.py
index 36cc012c4..cb76decf9 100644
--- a/pylint/checkers/mapreduce_checker.py
+++ b/pylint/checkers/mapreduce_checker.py
@@ -3,7 +3,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import abc
diff --git a/pylint/checkers/misc.py b/pylint/checkers/misc.py
index 4ae912f4f..8d6febb36 100644
--- a/pylint/checkers/misc.py
+++ b/pylint/checkers/misc.py
@@ -20,7 +20,7 @@
# Copyright (c) 2021 Konstantina Saketou <56515303+ksaketou@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Check source code is ascii only or has an encoding declaration (PEP 263)"""
diff --git a/pylint/checkers/newstyle.py b/pylint/checkers/newstyle.py
index 0c3344632..770eea39c 100644
--- a/pylint/checkers/newstyle.py
+++ b/pylint/checkers/newstyle.py
@@ -17,7 +17,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""check for new / old style related problems
"""
diff --git a/pylint/checkers/python3.py b/pylint/checkers/python3.py
index 53b75344a..ccce98901 100644
--- a/pylint/checkers/python3.py
+++ b/pylint/checkers/python3.py
@@ -37,7 +37,7 @@
# Copyright (c) 2021 Tiago Honorato <tiagohonorato1@gmail.com>
# Copyright (c) 2021 tiagohonorato <61059243+tiagohonorato@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Check Python 2 code for Python 2/3 source-compatible issues."""
import itertools
diff --git a/pylint/checkers/raw_metrics.py b/pylint/checkers/raw_metrics.py
index 68dfd474b..22bd096cb 100644
--- a/pylint/checkers/raw_metrics.py
+++ b/pylint/checkers/raw_metrics.py
@@ -12,7 +12,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import tokenize
from typing import Any
diff --git a/pylint/checkers/refactoring/__init__.py b/pylint/checkers/refactoring/__init__.py
index 4f30084cc..b2d3fbd70 100644
--- a/pylint/checkers/refactoring/__init__.py
+++ b/pylint/checkers/refactoring/__init__.py
@@ -31,7 +31,7 @@
# Copyright (c) 2020 Anthony Sottile <asottile@umich.edu>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Looks for code which can be refactored."""
diff --git a/pylint/checkers/refactoring/len_checker.py b/pylint/checkers/refactoring/len_checker.py
index 1132a63a9..24cbd546f 100644
--- a/pylint/checkers/refactoring/len_checker.py
+++ b/pylint/checkers/refactoring/len_checker.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
from typing import List
import astroid
diff --git a/pylint/checkers/refactoring/not_checker.py b/pylint/checkers/refactoring/not_checker.py
index ea3bae30f..32498086c 100644
--- a/pylint/checkers/refactoring/not_checker.py
+++ b/pylint/checkers/refactoring/not_checker.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import builtins
diff --git a/pylint/checkers/refactoring/recommendation_checker.py b/pylint/checkers/refactoring/recommendation_checker.py
index 795015b71..7c4761ea3 100644
--- a/pylint/checkers/refactoring/recommendation_checker.py
+++ b/pylint/checkers/refactoring/recommendation_checker.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
from typing import cast
import astroid
diff --git a/pylint/checkers/refactoring/refactoring_checker.py b/pylint/checkers/refactoring/refactoring_checker.py
index df8f4f271..73bd68296 100644
--- a/pylint/checkers/refactoring/refactoring_checker.py
+++ b/pylint/checkers/refactoring/refactoring_checker.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import collections
import copy
diff --git a/pylint/checkers/similar.py b/pylint/checkers/similar.py
index 048abd1d7..967796b2b 100644
--- a/pylint/checkers/similar.py
+++ b/pylint/checkers/similar.py
@@ -22,7 +22,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# pylint: disable=redefined-builtin
"""a similarities / code duplication command line tool and pylint checker
diff --git a/pylint/checkers/spelling.py b/pylint/checkers/spelling.py
index 718d607ab..0cb030521 100644
--- a/pylint/checkers/spelling.py
+++ b/pylint/checkers/spelling.py
@@ -23,7 +23,7 @@
# Copyright (c) 2021 Eli Fine <ejfine@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Checker for spelling errors in comments and docstrings.
"""
diff --git a/pylint/checkers/stdlib.py b/pylint/checkers/stdlib.py
index ca8fa4982..dac830b9a 100644
--- a/pylint/checkers/stdlib.py
+++ b/pylint/checkers/stdlib.py
@@ -31,7 +31,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Checkers for various standard library functions."""
diff --git a/pylint/checkers/strings.py b/pylint/checkers/strings.py
index a3c8c880c..f41c487b5 100644
--- a/pylint/checkers/strings.py
+++ b/pylint/checkers/strings.py
@@ -29,7 +29,7 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Checker for string formatting operations.
"""
diff --git a/pylint/checkers/typecheck.py b/pylint/checkers/typecheck.py
index 8ee88ff86..7c8ccad65 100644
--- a/pylint/checkers/typecheck.py
+++ b/pylint/checkers/typecheck.py
@@ -49,7 +49,7 @@
# Copyright (c) 2021 Ikraduya Edian <ikraduya@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""try to find more bugs in the code using astroid inference capabilities
"""
diff --git a/pylint/checkers/utils.py b/pylint/checkers/utils.py
index 6e884745c..04fa7b812 100644
--- a/pylint/checkers/utils.py
+++ b/pylint/checkers/utils.py
@@ -46,7 +46,7 @@
# Copyright (c) 2021 yushao2 <36848472+yushao2@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""some functions that may be useful for various checkers
"""
diff --git a/pylint/checkers/variables.py b/pylint/checkers/variables.py
index 4f3d97e8b..7c07e2ec9 100644
--- a/pylint/checkers/variables.py
+++ b/pylint/checkers/variables.py
@@ -46,7 +46,7 @@
# Copyright (c) 2021 Alexander Kapshuna <kapsh@kap.sh>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""variables checkers for Python code
"""
diff --git a/pylint/config/__init__.py b/pylint/config/__init__.py
index a4246e26b..2230318d0 100644
--- a/pylint/config/__init__.py
+++ b/pylint/config/__init__.py
@@ -29,7 +29,7 @@
# Copyright (c) 2019 Hugo van Kemenade <hugovk@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import os
import pickle
diff --git a/pylint/config/configuration_mixin.py b/pylint/config/configuration_mixin.py
index 2b8402b1d..deca7f4bc 100644
--- a/pylint/config/configuration_mixin.py
+++ b/pylint/config/configuration_mixin.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
from pylint.config.option_manager_mixin import OptionsManagerMixIn
from pylint.config.options_provider_mixin import OptionsProviderMixIn
diff --git a/pylint/config/find_default_config_files.py b/pylint/config/find_default_config_files.py
index 2994d8de5..d4faa259e 100644
--- a/pylint/config/find_default_config_files.py
+++ b/pylint/config/find_default_config_files.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import configparser
import os
diff --git a/pylint/config/man_help_formatter.py b/pylint/config/man_help_formatter.py
index a7b227296..d2c6feca2 100644
--- a/pylint/config/man_help_formatter.py
+++ b/pylint/config/man_help_formatter.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import optparse # pylint: disable=deprecated-module
import sys
diff --git a/pylint/config/option.py b/pylint/config/option.py
index cf53adaba..56aab9628 100644
--- a/pylint/config/option.py
+++ b/pylint/config/option.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import copy
import optparse # pylint: disable=deprecated-module
diff --git a/pylint/config/option_manager_mixin.py b/pylint/config/option_manager_mixin.py
index 70ec56e9f..86785f36f 100644
--- a/pylint/config/option_manager_mixin.py
+++ b/pylint/config/option_manager_mixin.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import collections
diff --git a/pylint/config/option_parser.py b/pylint/config/option_parser.py
index e33175e3c..ceae3c719 100644
--- a/pylint/config/option_parser.py
+++ b/pylint/config/option_parser.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import optparse # pylint: disable=deprecated-module
diff --git a/pylint/config/options_provider_mixin.py b/pylint/config/options_provider_mixin.py
index fdce3a5e3..a8526095c 100644
--- a/pylint/config/options_provider_mixin.py
+++ b/pylint/config/options_provider_mixin.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import optparse # pylint: disable=deprecated-module
diff --git a/pylint/constants.py b/pylint/constants.py
index 786cde7d0..a3fcaa35f 100644
--- a/pylint/constants.py
+++ b/pylint/constants.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import platform
import sys
diff --git a/pylint/epylint.py b/pylint/epylint.py
index 12f541c7a..ead2429f8 100755
--- a/pylint/epylint.py
+++ b/pylint/epylint.py
@@ -23,7 +23,7 @@
# Copyright (c) 2021 Andreas Finkler <andi.finkler@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Emacs and Flymake compatible Pylint.
diff --git a/pylint/exceptions.py b/pylint/exceptions.py
index f159f3e3d..879c2009b 100644
--- a/pylint/exceptions.py
+++ b/pylint/exceptions.py
@@ -7,7 +7,7 @@
# Copyright (c) 2020 Anthony Sottile <asottile@umich.edu>
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Exception classes raised by various operations within pylint."""
diff --git a/pylint/extensions/_check_docs_utils.py b/pylint/extensions/_check_docs_utils.py
index 9f8f4f0c4..db615edbd 100644
--- a/pylint/extensions/_check_docs_utils.py
+++ b/pylint/extensions/_check_docs_utils.py
@@ -17,7 +17,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Utility methods for docstring checking."""
diff --git a/pylint/extensions/bad_builtin.py b/pylint/extensions/bad_builtin.py
index bb2090114..f69ab5cf0 100644
--- a/pylint/extensions/bad_builtin.py
+++ b/pylint/extensions/bad_builtin.py
@@ -5,7 +5,7 @@
# Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Checker for deprecated builtins."""
import astroid
diff --git a/pylint/extensions/broad_try_clause.py b/pylint/extensions/broad_try_clause.py
index 5c14c99fe..fbace0c15 100644
--- a/pylint/extensions/broad_try_clause.py
+++ b/pylint/extensions/broad_try_clause.py
@@ -5,7 +5,7 @@
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Looks for try/except statements with too much code in the try clause."""
diff --git a/pylint/extensions/check_docs.py b/pylint/extensions/check_docs.py
index 0a34b098a..d66751776 100644
--- a/pylint/extensions/check_docs.py
+++ b/pylint/extensions/check_docs.py
@@ -5,7 +5,7 @@
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import warnings
diff --git a/pylint/extensions/check_elif.py b/pylint/extensions/check_elif.py
index 613f17f4e..c73c2b0eb 100644
--- a/pylint/extensions/check_elif.py
+++ b/pylint/extensions/check_elif.py
@@ -7,7 +7,7 @@
# Copyright (c) 2020 Anthony Sottile <asottile@umich.edu>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import astroid
diff --git a/pylint/extensions/comparetozero.py b/pylint/extensions/comparetozero.py
index 9c6b73ee4..c67f82515 100644
--- a/pylint/extensions/comparetozero.py
+++ b/pylint/extensions/comparetozero.py
@@ -6,7 +6,7 @@
# Copyright (c) 2021 bernie gray <bfgray3@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Looks for comparisons to zero."""
diff --git a/pylint/extensions/confusing_elif.py b/pylint/extensions/confusing_elif.py
index d36fb8c57..9fe9c86ae 100644
--- a/pylint/extensions/confusing_elif.py
+++ b/pylint/extensions/confusing_elif.py
@@ -2,7 +2,7 @@
# Copyright (c) 2021 Andreas Finkler <andi.finkler@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import astroid
diff --git a/pylint/extensions/docparams.py b/pylint/extensions/docparams.py
index 42dfd2b87..9d77a3d5c 100644
--- a/pylint/extensions/docparams.py
+++ b/pylint/extensions/docparams.py
@@ -18,7 +18,7 @@
# Copyright (c) 2021 Logan Miller <14319179+komodo472@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Pylint plugin for checking in Sphinx, Google, or Numpy style docstrings
"""
diff --git a/pylint/extensions/docstyle.py b/pylint/extensions/docstyle.py
index 9f0e54566..ed38e8279 100644
--- a/pylint/extensions/docstyle.py
+++ b/pylint/extensions/docstyle.py
@@ -6,7 +6,7 @@
# Copyright (c) 2020 Anthony Sottile <asottile@umich.edu>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import linecache
diff --git a/pylint/extensions/emptystring.py b/pylint/extensions/emptystring.py
index 82a1a5fe6..4bde969f8 100644
--- a/pylint/extensions/emptystring.py
+++ b/pylint/extensions/emptystring.py
@@ -5,7 +5,7 @@
# Copyright (c) 2020 Anthony Sottile <asottile@umich.edu>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Looks for comparisons to empty string."""
diff --git a/pylint/extensions/mccabe.py b/pylint/extensions/mccabe.py
index a541d09ae..139da2d84 100644
--- a/pylint/extensions/mccabe.py
+++ b/pylint/extensions/mccabe.py
@@ -6,7 +6,7 @@
# Copyright (c) 2020 Anthony Sottile <asottile@umich.edu>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Module to add McCabe checker class for pylint. """
diff --git a/pylint/extensions/overlapping_exceptions.py b/pylint/extensions/overlapping_exceptions.py
index 4f9f41b45..aba70b559 100644
--- a/pylint/extensions/overlapping_exceptions.py
+++ b/pylint/extensions/overlapping_exceptions.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Looks for overlapping exceptions."""
diff --git a/pylint/extensions/redefined_variable_type.py b/pylint/extensions/redefined_variable_type.py
index 4bfa1addd..7e55ef2b0 100644
--- a/pylint/extensions/redefined_variable_type.py
+++ b/pylint/extensions/redefined_variable_type.py
@@ -7,7 +7,7 @@
# Copyright (c) 2020 Anthony Sottile <asottile@umich.edu>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import astroid
diff --git a/pylint/graph.py b/pylint/graph.py
index 366206a37..351b3a4dc 100644
--- a/pylint/graph.py
+++ b/pylint/graph.py
@@ -12,7 +12,7 @@
# Copyright (c) 2021 Andrew Howe <howeaj@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Graph manipulation utilities.
diff --git a/pylint/interfaces.py b/pylint/interfaces.py
index 1281843a8..8e66cc614 100644
--- a/pylint/interfaces.py
+++ b/pylint/interfaces.py
@@ -12,7 +12,7 @@
# Copyright (c) 2020 Anthony Sottile <asottile@umich.edu>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Interfaces for Pylint objects"""
from collections import namedtuple
diff --git a/pylint/lint/__init__.py b/pylint/lint/__init__.py
index a7c50f3ad..9ea05bc99 100644
--- a/pylint/lint/__init__.py
+++ b/pylint/lint/__init__.py
@@ -56,7 +56,7 @@
# Copyright (c) 2020 anubh-v <anubhav@u.nus.edu>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
""" pylint [options] modules_or_packages
diff --git a/pylint/lint/parallel.py b/pylint/lint/parallel.py
index 4433575c0..e22e81afb 100644
--- a/pylint/lint/parallel.py
+++ b/pylint/lint/parallel.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import collections
import functools
diff --git a/pylint/lint/pylinter.py b/pylint/lint/pylinter.py
index 67cd9bfd3..563ef621f 100644
--- a/pylint/lint/pylinter.py
+++ b/pylint/lint/pylinter.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import collections
import contextlib
diff --git a/pylint/lint/report_functions.py b/pylint/lint/report_functions.py
index d3a88a14c..2b5bbfd07 100644
--- a/pylint/lint/report_functions.py
+++ b/pylint/lint/report_functions.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import collections
diff --git a/pylint/lint/run.py b/pylint/lint/run.py
index d17c40c74..9f95287d0 100644
--- a/pylint/lint/run.py
+++ b/pylint/lint/run.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import os
import sys
diff --git a/pylint/lint/utils.py b/pylint/lint/utils.py
index a90abfb97..1f201d864 100644
--- a/pylint/lint/utils.py
+++ b/pylint/lint/utils.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import contextlib
import sys
diff --git a/pylint/message/__init__.py b/pylint/message/__init__.py
index 45403bce9..3004f396d 100644
--- a/pylint/message/__init__.py
+++ b/pylint/message/__init__.py
@@ -34,7 +34,7 @@
# Copyright (c) 2018 Nick Drozd <nicholasdrozd@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""All the classes related to Message handling."""
diff --git a/pylint/message/message.py b/pylint/message/message.py
index f7a67f5ae..df0e7079e 100644
--- a/pylint/message/message.py
+++ b/pylint/message/message.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import collections
diff --git a/pylint/message/message_definition.py b/pylint/message/message_definition.py
index 1e8c53ea6..a48526e9b 100644
--- a/pylint/message/message_definition.py
+++ b/pylint/message/message_definition.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import sys
from typing import List, Optional, Tuple
diff --git a/pylint/message/message_definition_store.py b/pylint/message/message_definition_store.py
index 382b0904d..80ee5b81d 100644
--- a/pylint/message/message_definition_store.py
+++ b/pylint/message/message_definition_store.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import collections
from typing import Dict, List, ValuesView
diff --git a/pylint/message/message_handler_mix_in.py b/pylint/message/message_handler_mix_in.py
index 1b468eeb7..b28be128d 100644
--- a/pylint/message/message_handler_mix_in.py
+++ b/pylint/message/message_handler_mix_in.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import sys
from typing import List, Tuple
diff --git a/pylint/message/message_id_store.py b/pylint/message/message_id_store.py
index 98dd0a587..2f061e4b6 100644
--- a/pylint/message/message_id_store.py
+++ b/pylint/message/message_id_store.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
from typing import Dict, List, Optional, Tuple
from pylint.exceptions import InvalidMessageError, UnknownMessageError
diff --git a/pylint/pyreverse/__init__.py b/pylint/pyreverse/__init__.py
index 95a760d44..fdbbe1e83 100644
--- a/pylint/pyreverse/__init__.py
+++ b/pylint/pyreverse/__init__.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""
pyreverse.extensions
diff --git a/pylint/pyreverse/diadefslib.py b/pylint/pyreverse/diadefslib.py
index 5d803c929..53b3f14e1 100644
--- a/pylint/pyreverse/diadefslib.py
+++ b/pylint/pyreverse/diadefslib.py
@@ -14,7 +14,7 @@
# Copyright (c) 2020 Anthony Sottile <asottile@umich.edu>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""handle diagram generation options for class diagram or default diagrams
"""
diff --git a/pylint/pyreverse/diagrams.py b/pylint/pyreverse/diagrams.py
index 52f4c0f77..946a0e07d 100644
--- a/pylint/pyreverse/diagrams.py
+++ b/pylint/pyreverse/diagrams.py
@@ -9,7 +9,7 @@
# Copyright (c) 2021 Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""diagram objects
"""
diff --git a/pylint/pyreverse/inspector.py b/pylint/pyreverse/inspector.py
index 3d7d90814..b2154cfc8 100644
--- a/pylint/pyreverse/inspector.py
+++ b/pylint/pyreverse/inspector.py
@@ -9,7 +9,7 @@
# Copyright (c) 2021 Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""
Visitor doing some postprocessing on the astroid tree.
diff --git a/pylint/pyreverse/main.py b/pylint/pyreverse/main.py
index c7679cfee..b888725ea 100644
--- a/pylint/pyreverse/main.py
+++ b/pylint/pyreverse/main.py
@@ -12,7 +12,7 @@
# Copyright (c) 2021 Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""
%prog [options] <packages>
diff --git a/pylint/pyreverse/utils.py b/pylint/pyreverse/utils.py
index 9d00e3fec..0f1c59e5e 100644
--- a/pylint/pyreverse/utils.py
+++ b/pylint/pyreverse/utils.py
@@ -14,7 +14,7 @@
# Copyright (c) 2021 Andreas Finkler <andi.finkler@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Generic classes/functions for pyreverse core/extensions. """
import os
diff --git a/pylint/pyreverse/vcgutils.py b/pylint/pyreverse/vcgutils.py
index 38193b325..c93ab5477 100644
--- a/pylint/pyreverse/vcgutils.py
+++ b/pylint/pyreverse/vcgutils.py
@@ -8,7 +8,7 @@
# Copyright (c) 2020 Anthony Sottile <asottile@umich.edu>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Functions to generate files readable with Georg Sander's vcg
(Visualization of Compiler Graphs).
diff --git a/pylint/pyreverse/writer.py b/pylint/pyreverse/writer.py
index d230d06d1..88e6a423d 100644
--- a/pylint/pyreverse/writer.py
+++ b/pylint/pyreverse/writer.py
@@ -12,7 +12,7 @@
# Copyright (c) 2021 Andreas Finkler <andi.finkler@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Utilities for creating VCG and Dot diagrams"""
diff --git a/pylint/reporters/__init__.py b/pylint/reporters/__init__.py
index 3c60dfdbb..3605ab31b 100644
--- a/pylint/reporters/__init__.py
+++ b/pylint/reporters/__init__.py
@@ -18,7 +18,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""utilities methods and classes for reporters"""
diff --git a/pylint/reporters/base_reporter.py b/pylint/reporters/base_reporter.py
index 858073a66..067a32c77 100644
--- a/pylint/reporters/base_reporter.py
+++ b/pylint/reporters/base_reporter.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import os
import sys
diff --git a/pylint/reporters/collecting_reporter.py b/pylint/reporters/collecting_reporter.py
index 814c4c7f6..309c60405 100644
--- a/pylint/reporters/collecting_reporter.py
+++ b/pylint/reporters/collecting_reporter.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
from pylint.reporters.base_reporter import BaseReporter
diff --git a/pylint/reporters/json_reporter.py b/pylint/reporters/json_reporter.py
index 7befaf2c9..212a5767c 100644
--- a/pylint/reporters/json_reporter.py
+++ b/pylint/reporters/json_reporter.py
@@ -8,7 +8,7 @@
# Copyright (c) 2020 Clément Pit-Claudel <cpitclaudel@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""JSON reporter"""
import json
diff --git a/pylint/reporters/multi_reporter.py b/pylint/reporters/multi_reporter.py
index 506b9c3bf..a4dbae53b 100644
--- a/pylint/reporters/multi_reporter.py
+++ b/pylint/reporters/multi_reporter.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import os
diff --git a/pylint/reporters/reports_handler_mix_in.py b/pylint/reporters/reports_handler_mix_in.py
index 2d7cc8bc2..f42824559 100644
--- a/pylint/reporters/reports_handler_mix_in.py
+++ b/pylint/reporters/reports_handler_mix_in.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import collections
diff --git a/pylint/reporters/text.py b/pylint/reporters/text.py
index 66e8de914..13d8e399e 100644
--- a/pylint/reporters/text.py
+++ b/pylint/reporters/text.py
@@ -14,7 +14,7 @@
# Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Plain text reporters:
diff --git a/pylint/reporters/ureports/__init__.py b/pylint/reporters/ureports/__init__.py
index 53a3a37b7..e0321c67d 100644
--- a/pylint/reporters/ureports/__init__.py
+++ b/pylint/reporters/ureports/__init__.py
@@ -6,7 +6,7 @@
# Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Universal report objects and some formatting drivers.
diff --git a/pylint/reporters/ureports/nodes.py b/pylint/reporters/ureports/nodes.py
index dbc34d48a..64d4ebb9d 100644
--- a/pylint/reporters/ureports/nodes.py
+++ b/pylint/reporters/ureports/nodes.py
@@ -7,7 +7,7 @@
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Micro reports objects.
diff --git a/pylint/reporters/ureports/text_writer.py b/pylint/reporters/ureports/text_writer.py
index e9ee80a88..879ba3339 100644
--- a/pylint/reporters/ureports/text_writer.py
+++ b/pylint/reporters/ureports/text_writer.py
@@ -6,7 +6,7 @@
# Copyright (c) 2021 bot <bot@noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Text formatting drivers for ureports"""
diff --git a/pylint/testutils/__init__.py b/pylint/testutils/__init__.py
index 52bfcf254..bcc983365 100644
--- a/pylint/testutils/__init__.py
+++ b/pylint/testutils/__init__.py
@@ -24,7 +24,7 @@
# Copyright (c) 2021 Lefteris Karapetsas <lefteris@refu.co>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Functional/non regression tests for pylint"""
diff --git a/pylint/testutils/checker_test_case.py b/pylint/testutils/checker_test_case.py
index 77fe6f226..5c8815dab 100644
--- a/pylint/testutils/checker_test_case.py
+++ b/pylint/testutils/checker_test_case.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import contextlib
from typing import Dict, Optional, Type
diff --git a/pylint/testutils/constants.py b/pylint/testutils/constants.py
index e5a7c84a1..fa70d3b57 100644
--- a/pylint/testutils/constants.py
+++ b/pylint/testutils/constants.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import operator
import re
diff --git a/pylint/testutils/decorator.py b/pylint/testutils/decorator.py
index 52440ee71..44d186d1e 100644
--- a/pylint/testutils/decorator.py
+++ b/pylint/testutils/decorator.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import functools
diff --git a/pylint/testutils/functional_test_file.py b/pylint/testutils/functional_test_file.py
index 2923412e9..bea65394b 100644
--- a/pylint/testutils/functional_test_file.py
+++ b/pylint/testutils/functional_test_file.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import configparser
from os.path import basename, exists, join
diff --git a/pylint/testutils/get_test_info.py b/pylint/testutils/get_test_info.py
index 73d7d3a44..3b63a8e55 100644
--- a/pylint/testutils/get_test_info.py
+++ b/pylint/testutils/get_test_info.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
from glob import glob
from os.path import basename, join, splitext
diff --git a/pylint/testutils/global_test_linter.py b/pylint/testutils/global_test_linter.py
index 905210e0a..2e6028e30 100644
--- a/pylint/testutils/global_test_linter.py
+++ b/pylint/testutils/global_test_linter.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
from pylint import checkers
diff --git a/pylint/testutils/lint_module_test.py b/pylint/testutils/lint_module_test.py
index b04f2a021..34d8e4554 100644
--- a/pylint/testutils/lint_module_test.py
+++ b/pylint/testutils/lint_module_test.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import csv
import operator
diff --git a/pylint/testutils/output_line.py b/pylint/testutils/output_line.py
index 1150c6b17..9d38b6847 100644
--- a/pylint/testutils/output_line.py
+++ b/pylint/testutils/output_line.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import collections
from typing import Any, NamedTuple
diff --git a/pylint/testutils/reporter_for_tests.py b/pylint/testutils/reporter_for_tests.py
index e56a0e284..11f812c29 100644
--- a/pylint/testutils/reporter_for_tests.py
+++ b/pylint/testutils/reporter_for_tests.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
from io import StringIO
from os import getcwd, linesep, sep
diff --git a/pylint/testutils/tokenize_str.py b/pylint/testutils/tokenize_str.py
index 96094faf8..16bfea8ab 100644
--- a/pylint/testutils/tokenize_str.py
+++ b/pylint/testutils/tokenize_str.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import tokenize
from io import StringIO
diff --git a/pylint/testutils/unittest_linter.py b/pylint/testutils/unittest_linter.py
index ff902c273..2d0a4f2c3 100644
--- a/pylint/testutils/unittest_linter.py
+++ b/pylint/testutils/unittest_linter.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
from pylint.testutils.global_test_linter import linter
from pylint.testutils.output_line import Message
diff --git a/pylint/utils/__init__.py b/pylint/utils/__init__.py
index 948e5d5ce..1503e733b 100644
--- a/pylint/utils/__init__.py
+++ b/pylint/utils/__init__.py
@@ -36,7 +36,7 @@
# Copyright (c) 2020 Damien Baty <damien.baty@polyconseil.fr>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""some various utilities and helper classes, most of them used in the
main pylint class
diff --git a/pylint/utils/ast_walker.py b/pylint/utils/ast_walker.py
index 6ad2f953f..143267399 100644
--- a/pylint/utils/ast_walker.py
+++ b/pylint/utils/ast_walker.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import collections
diff --git a/pylint/utils/file_state.py b/pylint/utils/file_state.py
index ba843691c..7209fe061 100644
--- a/pylint/utils/file_state.py
+++ b/pylint/utils/file_state.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import collections
diff --git a/pylint/utils/pragma_parser.py b/pylint/utils/pragma_parser.py
index 060c6da87..363cc2665 100644
--- a/pylint/utils/pragma_parser.py
+++ b/pylint/utils/pragma_parser.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import re
from collections import namedtuple
diff --git a/pylint/utils/utils.py b/pylint/utils/utils.py
index 709ef4afc..b6c81284b 100644
--- a/pylint/utils/utils.py
+++ b/pylint/utils/utils.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
try:
diff --git a/script/bump_changelog.py b/script/bump_changelog.py
index 08c0c69ac..278b627da 100644
--- a/script/bump_changelog.py
+++ b/script/bump_changelog.py
@@ -1,4 +1,4 @@
-# ORIGINAL here:https://raw.githubusercontent.com/PyCQA/astroid/master/script/bump_changelog.py
+# ORIGINAL here: https://github.com/PyCQA/astroid/blob/main/script/bump_changelog.py
# DO NOT MODIFY DIRECTLY
"""
diff --git a/tests/acceptance/test_stdlib.py b/tests/acceptance/test_stdlib.py
index 17981177c..c5af893b4 100644
--- a/tests/acceptance/test_stdlib.py
+++ b/tests/acceptance/test_stdlib.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import contextlib
import io
diff --git a/tests/benchmark/test_baseline_benchmarks.py b/tests/benchmark/test_baseline_benchmarks.py
index 6fc914d48..e7713daff 100644
--- a/tests/benchmark/test_baseline_benchmarks.py
+++ b/tests/benchmark/test_baseline_benchmarks.py
@@ -6,7 +6,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# pylint: disable=protected-access,missing-function-docstring,no-self-use
diff --git a/tests/checkers/unittest_base.py b/tests/checkers/unittest_base.py
index a210d67d1..20db31ce7 100644
--- a/tests/checkers/unittest_base.py
+++ b/tests/checkers/unittest_base.py
@@ -20,7 +20,7 @@
# Copyright (c) 2021 David Gilman <davidgilman1@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Unittest for the base checker."""
diff --git a/tests/checkers/unittest_classes.py b/tests/checkers/unittest_classes.py
index 47ac02dde..5dae4473b 100644
--- a/tests/checkers/unittest_classes.py
+++ b/tests/checkers/unittest_classes.py
@@ -12,7 +12,7 @@
# Copyright (c) 2021 tiagohonorato <61059243+tiagohonorato@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Unit tests for the variables checker."""
import astroid
diff --git a/tests/checkers/unittest_exceptions.py b/tests/checkers/unittest_exceptions.py
index affd5cdc9..fb34fc6d3 100644
--- a/tests/checkers/unittest_exceptions.py
+++ b/tests/checkers/unittest_exceptions.py
@@ -10,7 +10,7 @@
# Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Tests for pylint.checkers.exceptions."""
import astroid
diff --git a/tests/checkers/unittest_format.py b/tests/checkers/unittest_format.py
index 8d1c9077d..b12a43dd6 100644
--- a/tests/checkers/unittest_format.py
+++ b/tests/checkers/unittest_format.py
@@ -22,7 +22,7 @@
# Copyright (c) 2021 Andreas Finkler <andi.finkler@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Check format checker helper functions"""
diff --git a/tests/checkers/unittest_imports.py b/tests/checkers/unittest_imports.py
index f10255eba..a45260c9b 100644
--- a/tests/checkers/unittest_imports.py
+++ b/tests/checkers/unittest_imports.py
@@ -13,7 +13,7 @@
# Copyright (c) 2020 Anthony Sottile <asottile@umich.edu>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Unit tests for the imports checker."""
diff --git a/tests/checkers/unittest_logging.py b/tests/checkers/unittest_logging.py
index ee7824e1e..8dd44f684 100644
--- a/tests/checkers/unittest_logging.py
+++ b/tests/checkers/unittest_logging.py
@@ -10,7 +10,7 @@
# Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Unittest for the logging checker."""
import sys
diff --git a/tests/checkers/unittest_misc.py b/tests/checkers/unittest_misc.py
index fc059ba5c..a9a26e6da 100644
--- a/tests/checkers/unittest_misc.py
+++ b/tests/checkers/unittest_misc.py
@@ -12,7 +12,7 @@
# Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Tests for the misc checker."""
diff --git a/tests/checkers/unittest_python3.py b/tests/checkers/unittest_python3.py
index c33d166a8..28f067fe1 100644
--- a/tests/checkers/unittest_python3.py
+++ b/tests/checkers/unittest_python3.py
@@ -23,7 +23,7 @@
# Copyright (c) 2021 David Gilman <davidgilman1@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Tests for the python3 checkers."""
diff --git a/tests/checkers/unittest_refactoring.py b/tests/checkers/unittest_refactoring.py
index 15e18db46..8963e2236 100644
--- a/tests/checkers/unittest_refactoring.py
+++ b/tests/checkers/unittest_refactoring.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import astroid
diff --git a/tests/checkers/unittest_similar.py b/tests/checkers/unittest_similar.py
index 12b54e5c9..731f6a3c5 100644
--- a/tests/checkers/unittest_similar.py
+++ b/tests/checkers/unittest_similar.py
@@ -15,7 +15,7 @@
# Copyright (c) 2021 Aditya Gupta <adityagupta1089@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
from contextlib import redirect_stdout
from io import StringIO
diff --git a/tests/checkers/unittest_spelling.py b/tests/checkers/unittest_spelling.py
index 009ec21d3..2d4f5f40a 100644
--- a/tests/checkers/unittest_spelling.py
+++ b/tests/checkers/unittest_spelling.py
@@ -13,7 +13,7 @@
# Copyright (c) 2021 Eli Fine <ejfine@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Unittest for the spelling checker."""
diff --git a/tests/checkers/unittest_stdlib.py b/tests/checkers/unittest_stdlib.py
index 962b33f37..ef02fdfe0 100644
--- a/tests/checkers/unittest_stdlib.py
+++ b/tests/checkers/unittest_stdlib.py
@@ -7,7 +7,7 @@
# Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import contextlib
diff --git a/tests/checkers/unittest_strings.py b/tests/checkers/unittest_strings.py
index 12b2b5139..f0888fb0f 100644
--- a/tests/checkers/unittest_strings.py
+++ b/tests/checkers/unittest_strings.py
@@ -8,7 +8,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import astroid
diff --git a/tests/checkers/unittest_typecheck.py b/tests/checkers/unittest_typecheck.py
index 88d3dab4a..772a1d59d 100644
--- a/tests/checkers/unittest_typecheck.py
+++ b/tests/checkers/unittest_typecheck.py
@@ -20,7 +20,7 @@
# Copyright (c) 2021 David Gilman <davidgilman1@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import astroid
import pytest
diff --git a/tests/checkers/unittest_utils.py b/tests/checkers/unittest_utils.py
index 18115bfa4..87a9ea703 100644
--- a/tests/checkers/unittest_utils.py
+++ b/tests/checkers/unittest_utils.py
@@ -13,7 +13,7 @@
# Copyright (c) 2020 Anthony Sottile <asottile@umich.edu>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Tests for the pylint.checkers.utils module."""
diff --git a/tests/checkers/unittest_variables.py b/tests/checkers/unittest_variables.py
index be7e32fe8..a3deb4b53 100644
--- a/tests/checkers/unittest_variables.py
+++ b/tests/checkers/unittest_variables.py
@@ -17,7 +17,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import os
import re
diff --git a/tests/extensions/test_bad_builtin.py b/tests/extensions/test_bad_builtin.py
index 427dd20ec..9ca435924 100644
--- a/tests/extensions/test_bad_builtin.py
+++ b/tests/extensions/test_bad_builtin.py
@@ -6,7 +6,7 @@
# Copyright (c) 2020 Damien Baty <damien.baty@polyconseil.fr>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Tests for the pylint checker in :mod:`pylint.extensions.bad_builtin
"""
diff --git a/tests/extensions/test_broad_try_clause.py b/tests/extensions/test_broad_try_clause.py
index fb9cffbc6..c66ce5118 100644
--- a/tests/extensions/test_broad_try_clause.py
+++ b/tests/extensions/test_broad_try_clause.py
@@ -7,7 +7,7 @@
# Copyright (c) 2020 Anthony Sottile <asottile@umich.edu>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Tests for the pylint checker in :mod:`pylint.extensions.broad_try_clause`"""
import unittest
diff --git a/tests/extensions/test_check_docs.py b/tests/extensions/test_check_docs.py
index 42b145fc8..0435fa212 100644
--- a/tests/extensions/test_check_docs.py
+++ b/tests/extensions/test_check_docs.py
@@ -15,7 +15,7 @@
# Copyright (c) 2021 Logan Miller <14319179+komodo472@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Unit tests for the pylint checkers in :mod:`pylint.extensions.check_docs`,
in particular the parameter documentation checker `DocstringChecker`
diff --git a/tests/extensions/test_check_docs_utils.py b/tests/extensions/test_check_docs_utils.py
index 49a2eacc9..bb4203802 100644
--- a/tests/extensions/test_check_docs_utils.py
+++ b/tests/extensions/test_check_docs_utils.py
@@ -8,7 +8,7 @@
# Copyright (c) 2020 Damien Baty <damien.baty@polyconseil.fr>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Unit tests for the pylint checkers in :mod:`pylint.extensions.check_docs`,
in particular the parameter documentation checker `DocstringChecker`
diff --git a/tests/extensions/test_check_mccabe.py b/tests/extensions/test_check_mccabe.py
index 0dcb347c0..9970f42b0 100644
--- a/tests/extensions/test_check_mccabe.py
+++ b/tests/extensions/test_check_mccabe.py
@@ -7,7 +7,7 @@
# Copyright (c) 2020 Damien Baty <damien.baty@polyconseil.fr>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Tests for the pylint checker in :mod:`pylint.extensions.check_mccabe"""
# pylint: disable=redefined-outer-name
diff --git a/tests/extensions/test_check_raise_docs.py b/tests/extensions/test_check_raise_docs.py
index 3e3d47157..19fda4bb0 100644
--- a/tests/extensions/test_check_raise_docs.py
+++ b/tests/extensions/test_check_raise_docs.py
@@ -11,7 +11,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Unit tests for the raised exception documentation checking in the
`DocstringChecker` in :mod:`pylint.extensions.check_docs`
diff --git a/tests/extensions/test_check_return_docs.py b/tests/extensions/test_check_return_docs.py
index 20494c972..cd258f884 100644
--- a/tests/extensions/test_check_return_docs.py
+++ b/tests/extensions/test_check_return_docs.py
@@ -11,7 +11,7 @@
# Copyright (c) 2020 Anthony Sottile <asottile@umich.edu>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Unit tests for the return documentation checking in the
`DocstringChecker` in :mod:`pylint.extensions.check_docs`
diff --git a/tests/extensions/test_check_yields_docs.py b/tests/extensions/test_check_yields_docs.py
index 3dc34345e..6bf3e15de 100644
--- a/tests/extensions/test_check_yields_docs.py
+++ b/tests/extensions/test_check_yields_docs.py
@@ -7,7 +7,7 @@
# Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Unit tests for the yield documentation checking in the
`DocstringChecker` in :mod:`pylint.extensions.check_docs`
diff --git a/tests/extensions/test_comparetozero.py b/tests/extensions/test_comparetozero.py
index e9bea88b4..6d37260fa 100644
--- a/tests/extensions/test_comparetozero.py
+++ b/tests/extensions/test_comparetozero.py
@@ -7,7 +7,7 @@
# Copyright (c) 2020 Anthony Sottile <asottile@umich.edu>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Tests for the pylint checker in :mod:`pylint.extensions.emptystring"""
diff --git a/tests/extensions/test_confusing_elif.py b/tests/extensions/test_confusing_elif.py
index 131e908a2..671654e34 100644
--- a/tests/extensions/test_confusing_elif.py
+++ b/tests/extensions/test_confusing_elif.py
@@ -2,7 +2,7 @@
# Copyright (c) 2021 Andreas Finkler <andi.finkler@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Tests for the pylint checker in :mod:`pylint.extensions.confusing_elif
"""
diff --git a/tests/extensions/test_docstyle.py b/tests/extensions/test_docstyle.py
index 336cd314f..e8d8e3e43 100644
--- a/tests/extensions/test_docstyle.py
+++ b/tests/extensions/test_docstyle.py
@@ -6,7 +6,7 @@
# Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Tests for the pylint checker in :mod:`pylint.extensions.check_docstring
"""
diff --git a/tests/extensions/test_elseif_used.py b/tests/extensions/test_elseif_used.py
index 8326458d0..4e3ee2d34 100644
--- a/tests/extensions/test_elseif_used.py
+++ b/tests/extensions/test_elseif_used.py
@@ -7,7 +7,7 @@
# Copyright (c) 2020 Damien Baty <damien.baty@polyconseil.fr>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Tests for the pylint checker in :mod:`pylint.extensions.check_elif
"""
diff --git a/tests/extensions/test_emptystring.py b/tests/extensions/test_emptystring.py
index 527918972..0d3e7a3be 100644
--- a/tests/extensions/test_emptystring.py
+++ b/tests/extensions/test_emptystring.py
@@ -9,7 +9,7 @@
# Copyright (c) 2020 Anthony Sottile <asottile@umich.edu>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Tests for the pylint checker in :mod:`pylint.extensions.emptystring
"""
diff --git a/tests/extensions/test_overlapping_exceptions.py b/tests/extensions/test_overlapping_exceptions.py
index e94a8f2a4..34a5be99a 100644
--- a/tests/extensions/test_overlapping_exceptions.py
+++ b/tests/extensions/test_overlapping_exceptions.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Tests for the pylint checker in :mod:`pylint.extensions.overlapping_exceptions
"""
diff --git a/tests/extensions/test_redefined.py b/tests/extensions/test_redefined.py
index eefe4b3df..598891d3a 100644
--- a/tests/extensions/test_redefined.py
+++ b/tests/extensions/test_redefined.py
@@ -6,7 +6,7 @@
# Copyright (c) 2020 Damien Baty <damien.baty@polyconseil.fr>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Tests for the pylint checker in :mod:`pylint.extensions.check_elif"""
from os import path as osp
diff --git a/tests/lint/unittest_expand_modules.py b/tests/lint/unittest_expand_modules.py
index a6618ce50..7b834fecf 100644
--- a/tests/lint/unittest_expand_modules.py
+++ b/tests/lint/unittest_expand_modules.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import re
diff --git a/tests/lint/unittest_lint.py b/tests/lint/unittest_lint.py
index 3485b16f1..984e9759d 100644
--- a/tests/lint/unittest_lint.py
+++ b/tests/lint/unittest_lint.py
@@ -32,7 +32,7 @@
# Copyright (c) 2021 Andreas Finkler <andi.finkler@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# pylint: disable=redefined-outer-name
import os
diff --git a/tests/message/conftest.py b/tests/message/conftest.py
index 1f5036db4..942119076 100644
--- a/tests/message/conftest.py
+++ b/tests/message/conftest.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# pylint: disable=redefined-outer-name
diff --git a/tests/message/unittest_message.py b/tests/message/unittest_message.py
index 583eb1494..5a02c26a0 100644
--- a/tests/message/unittest_message.py
+++ b/tests/message/unittest_message.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
from pylint.message import Message
diff --git a/tests/message/unittest_message_definition.py b/tests/message/unittest_message_definition.py
index 1935d8495..743499424 100644
--- a/tests/message/unittest_message_definition.py
+++ b/tests/message/unittest_message_definition.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import sys
from unittest import mock
diff --git a/tests/message/unittest_message_definition_store.py b/tests/message/unittest_message_definition_store.py
index b240af9ac..a08ca7c86 100644
--- a/tests/message/unittest_message_definition_store.py
+++ b/tests/message/unittest_message_definition_store.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
from contextlib import redirect_stdout
from io import StringIO
diff --git a/tests/message/unittest_message_id_store.py b/tests/message/unittest_message_id_store.py
index a411fd792..e61aba66b 100644
--- a/tests/message/unittest_message_id_store.py
+++ b/tests/message/unittest_message_id_store.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import pytest
diff --git a/tests/profile/test_profile_against_externals.py b/tests/profile/test_profile_against_externals.py
index 2860411bb..dd3e72708 100644
--- a/tests/profile/test_profile_against_externals.py
+++ b/tests/profile/test_profile_against_externals.py
@@ -4,7 +4,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# pylint: disable=protected-access,missing-function-docstring,no-self-use
diff --git a/tests/test_check_parallel.py b/tests/test_check_parallel.py
index fc437bec8..86d090359 100644
--- a/tests/test_check_parallel.py
+++ b/tests/test_check_parallel.py
@@ -3,7 +3,7 @@
# Copyright (c) 2020 Frank Harrison <frank@doublethefish.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# pylint: disable=protected-access,missing-function-docstring,no-self-use
diff --git a/tests/test_func.py b/tests/test_func.py
index 15edf59e0..73bb055fe 100644
--- a/tests/test_func.py
+++ b/tests/test_func.py
@@ -15,7 +15,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""functional/non regression tests for pylint"""
diff --git a/tests/test_functional.py b/tests/test_functional.py
index c42cb0c38..f3959b8e3 100644
--- a/tests/test_functional.py
+++ b/tests/test_functional.py
@@ -18,7 +18,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Functional full-module tests for PyLint."""
import csv
diff --git a/tests/test_import_graph.py b/tests/test_import_graph.py
index 7cbaea2e8..92ca4a510 100644
--- a/tests/test_import_graph.py
+++ b/tests/test_import_graph.py
@@ -14,7 +14,7 @@
# Copyright (c) 2021 Andrew Howe <howeaj@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# pylint: disable=redefined-outer-name
import os
diff --git a/tests/test_numversion.py b/tests/test_numversion.py
index d1f459a5a..46f154da7 100644
--- a/tests/test_numversion.py
+++ b/tests/test_numversion.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import pytest
diff --git a/tests/test_regr.py b/tests/test_regr.py
index 995bab808..1f0c96ce6 100644
--- a/tests/test_regr.py
+++ b/tests/test_regr.py
@@ -12,7 +12,7 @@
# Copyright (c) 2020 Damien Baty <damien.baty@polyconseil.fr>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""non regression tests for pylint, which requires a too specific configuration
to be incorporated in the automatic functional test framework
diff --git a/tests/test_self.py b/tests/test_self.py
index b47e17453..a921248c8 100644
--- a/tests/test_self.py
+++ b/tests/test_self.py
@@ -31,7 +31,7 @@
# Copyright (c) 2021 Louis Sautier <sautier.louis@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# pylint: disable=too-many-public-methods
diff --git a/tests/testutils/test_output_line.py b/tests/testutils/test_output_line.py
index 2fb342f32..18689f432 100644
--- a/tests/testutils/test_output_line.py
+++ b/tests/testutils/test_output_line.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# pylint: disable=redefined-outer-name
diff --git a/tests/unittest_config.py b/tests/unittest_config.py
index e43d81fe0..6ca250a20 100644
--- a/tests/unittest_config.py
+++ b/tests/unittest_config.py
@@ -8,7 +8,7 @@
# Copyright (c) 2020 Anthony Sottile <asottile@umich.edu>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Unit tests for the config module."""
diff --git a/tests/unittest_pyreverse_diadefs.py b/tests/unittest_pyreverse_diadefs.py
index beb1f7566..fbcf7fae3 100644
--- a/tests/unittest_pyreverse_diadefs.py
+++ b/tests/unittest_pyreverse_diadefs.py
@@ -14,7 +14,7 @@
# Copyright (c) 2021 bot <bot@noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Unit test for the extensions.diadefslib modules"""
# pylint: disable=redefined-outer-name
diff --git a/tests/unittest_pyreverse_inspector.py b/tests/unittest_pyreverse_inspector.py
index e1ff6378e..f5593de64 100644
--- a/tests/unittest_pyreverse_inspector.py
+++ b/tests/unittest_pyreverse_inspector.py
@@ -6,7 +6,7 @@
# Copyright (c) 2020 Damien Baty <damien.baty@polyconseil.fr>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""
for the visitors.diadefs module
diff --git a/tests/unittest_pyreverse_writer.py b/tests/unittest_pyreverse_writer.py
index 16a51f07d..acc47920e 100644
--- a/tests/unittest_pyreverse_writer.py
+++ b/tests/unittest_pyreverse_writer.py
@@ -12,7 +12,7 @@
# Copyright (c) 2021 Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""
unit test for visitors.diadefs and extensions.diadefslib modules
diff --git a/tests/unittest_reporters_json.py b/tests/unittest_reporters_json.py
index 11d37760e..22c165e14 100644
--- a/tests/unittest_reporters_json.py
+++ b/tests/unittest_reporters_json.py
@@ -9,7 +9,7 @@
# Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
"""Test for the JSON reporter."""
diff --git a/tests/unittest_reporting.py b/tests/unittest_reporting.py
index 1c4bda9c7..77fc43f18 100644
--- a/tests/unittest_reporting.py
+++ b/tests/unittest_reporting.py
@@ -12,7 +12,7 @@
# Copyright (c) 2021 ruro <ruro.ruro@ya.ru>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# pylint: disable=redefined-outer-name
import warnings
diff --git a/tests/utils/unittest_ast_walker.py b/tests/utils/unittest_ast_walker.py
index 5bf5b5bc6..364b35a35 100644
--- a/tests/utils/unittest_ast_walker.py
+++ b/tests/utils/unittest_ast_walker.py
@@ -1,5 +1,5 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import warnings
diff --git a/tests/utils/unittest_utils.py b/tests/utils/unittest_utils.py
index 9985b632b..79f5834bd 100644
--- a/tests/utils/unittest_utils.py
+++ b/tests/utils/unittest_utils.py
@@ -15,7 +15,7 @@
# Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com>
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
+# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
import io