summaryrefslogtreecommitdiff
path: root/astroid
diff options
context:
space:
mode:
authorMarc Mueller <30130371+cdce8p@users.noreply.github.com>2021-07-01 12:47:47 +0200
committerGitHub <noreply@github.com>2021-07-01 12:47:47 +0200
commitf2d0f4213f6f527a0d2309164ed43778f1e06184 (patch)
tree05ccb95f45efdb6b9db91b5c6024522e83e615b7 /astroid
parentd3e71d04566f74ad04bf1ac8e48c53f1f908fea2 (diff)
downloadastroid-git-f2d0f4213f6f527a0d2309164ed43778f1e06184.tar.gz
Fix copyright links (#1084)
* Fix link in license header * Fix link to cpython
Diffstat (limited to 'astroid')
-rw-r--r--astroid/__init__.py2
-rw-r--r--astroid/__pkginfo__.py2
-rw-r--r--astroid/arguments.py2
-rw-r--r--astroid/as_string.py2
-rw-r--r--astroid/astroid_manager.py2
-rw-r--r--astroid/bases.py2
-rw-r--r--astroid/brain/brain_attrs.py2
-rw-r--r--astroid/brain/brain_boto3.py2
-rw-r--r--astroid/brain/brain_builtin_inference.py2
-rw-r--r--astroid/brain/brain_collections.py2
-rw-r--r--astroid/brain/brain_crypt.py2
-rw-r--r--astroid/brain/brain_curses.py2
-rw-r--r--astroid/brain/brain_dataclasses.py2
-rw-r--r--astroid/brain/brain_dateutil.py2
-rw-r--r--astroid/brain/brain_fstrings.py2
-rw-r--r--astroid/brain/brain_gi.py2
-rw-r--r--astroid/brain/brain_hashlib.py2
-rw-r--r--astroid/brain/brain_http.py2
-rw-r--r--astroid/brain/brain_hypothesis.py2
-rw-r--r--astroid/brain/brain_io.py2
-rw-r--r--astroid/brain/brain_mechanize.py2
-rw-r--r--astroid/brain/brain_multiprocessing.py2
-rw-r--r--astroid/brain/brain_namedtuple_enum.py2
-rw-r--r--astroid/brain/brain_nose.py2
-rw-r--r--astroid/brain/brain_numpy_core_fromnumeric.py2
-rw-r--r--astroid/brain/brain_numpy_core_function_base.py2
-rw-r--r--astroid/brain/brain_numpy_core_multiarray.py2
-rw-r--r--astroid/brain/brain_numpy_core_numeric.py2
-rw-r--r--astroid/brain/brain_numpy_core_numerictypes.py2
-rw-r--r--astroid/brain/brain_numpy_core_umath.py2
-rw-r--r--astroid/brain/brain_numpy_ndarray.py2
-rw-r--r--astroid/brain/brain_numpy_random_mtrand.py2
-rw-r--r--astroid/brain/brain_numpy_utils.py2
-rw-r--r--astroid/brain/brain_pkg_resources.py2
-rw-r--r--astroid/brain/brain_pytest.py2
-rw-r--r--astroid/brain/brain_qt.py2
-rw-r--r--astroid/brain/brain_random.py2
-rw-r--r--astroid/brain/brain_re.py2
-rwxr-xr-xastroid/brain/brain_scipy_signal.py10
-rw-r--r--astroid/brain/brain_six.py2
-rw-r--r--astroid/brain/brain_ssl.py2
-rw-r--r--astroid/brain/brain_subprocess.py2
-rw-r--r--astroid/brain/brain_threading.py2
-rw-r--r--astroid/brain/brain_type.py2
-rw-r--r--astroid/brain/brain_typing.py2
-rw-r--r--astroid/brain/brain_uuid.py2
-rw-r--r--astroid/builder.py2
-rw-r--r--astroid/context.py2
-rw-r--r--astroid/decorators.py2
-rw-r--r--astroid/exceptions.py2
-rw-r--r--astroid/helpers.py2
-rw-r--r--astroid/inference.py2
-rw-r--r--astroid/inference_tip.py2
-rw-r--r--astroid/interpreter/dunder_lookup.py2
-rw-r--r--astroid/interpreter/objectmodel.py2
-rw-r--r--astroid/manager.py2
-rw-r--r--astroid/mixins.py2
-rw-r--r--astroid/modutils.py2
-rw-r--r--astroid/node_classes.py2
-rw-r--r--astroid/nodes.py2
-rw-r--r--astroid/objects.py2
-rw-r--r--astroid/protocols.py2
-rw-r--r--astroid/raw_building.py2
-rw-r--r--astroid/rebuilder.py2
-rw-r--r--astroid/scoped_nodes.py2
-rw-r--r--astroid/test_utils.py2
-rw-r--r--astroid/transforms.py2
-rw-r--r--astroid/util.py2
68 files changed, 72 insertions, 72 deletions
diff --git a/astroid/__init__.py b/astroid/__init__.py
index a2777e24..f4f8c49d 100644
--- a/astroid/__init__.py
+++ b/astroid/__init__.py
@@ -12,7 +12,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""Python Abstract Syntax Tree New Generation
diff --git a/astroid/__pkginfo__.py b/astroid/__pkginfo__.py
index 7e98e218..5e5a39ac 100644
--- a/astroid/__pkginfo__.py
+++ b/astroid/__pkginfo__.py
@@ -22,7 +22,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
__version__ = "2.6.3-dev0"
version = __version__
diff --git a/astroid/arguments.py b/astroid/arguments.py
index f5e29145..504dc5e4 100644
--- a/astroid/arguments.py
+++ b/astroid/arguments.py
@@ -7,7 +7,7 @@
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
from astroid import bases
diff --git a/astroid/as_string.py b/astroid/as_string.py
index 2ce20207..9665a1b2 100644
--- a/astroid/as_string.py
+++ b/astroid/as_string.py
@@ -18,7 +18,7 @@
# Copyright (c) 2021 pre-commit-ci[bot] <bot@noreply.github.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""This module renders Astroid nodes as string:
diff --git a/astroid/astroid_manager.py b/astroid/astroid_manager.py
index 6b58feb3..c8237a54 100644
--- a/astroid/astroid_manager.py
+++ b/astroid/astroid_manager.py
@@ -7,7 +7,7 @@ AstroidManager() directly.
"""
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
from astroid.manager import AstroidManager
diff --git a/astroid/bases.py b/astroid/bases.py
index df6d196c..3697a5a6 100644
--- a/astroid/bases.py
+++ b/astroid/bases.py
@@ -17,7 +17,7 @@
# Copyright (c) 2021 Andrew Haigh <hello@nelf.in>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""This module contains base classes and functions for the nodes and some
inference utils.
diff --git a/astroid/brain/brain_attrs.py b/astroid/brain/brain_attrs.py
index 63bdc4b5..cf05b76b 100644
--- a/astroid/brain/brain_attrs.py
+++ b/astroid/brain/brain_attrs.py
@@ -1,5 +1,5 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""
Astroid hook for the attrs library
diff --git a/astroid/brain/brain_boto3.py b/astroid/brain/brain_boto3.py
index c9fb1ff7..0a41915c 100644
--- a/astroid/brain/brain_boto3.py
+++ b/astroid/brain/brain_boto3.py
@@ -1,5 +1,5 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""Astroid hooks for understanding boto3.ServiceRequest()"""
from astroid import extract_node
diff --git a/astroid/brain/brain_builtin_inference.py b/astroid/brain/brain_builtin_inference.py
index 9d98cf9e..418d8029 100644
--- a/astroid/brain/brain_builtin_inference.py
+++ b/astroid/brain/brain_builtin_inference.py
@@ -15,7 +15,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""Astroid hooks for various builtins."""
diff --git a/astroid/brain/brain_collections.py b/astroid/brain/brain_collections.py
index d10a2592..92f0d2f1 100644
--- a/astroid/brain/brain_collections.py
+++ b/astroid/brain/brain_collections.py
@@ -7,7 +7,7 @@
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
from astroid.brain.helpers import register_module_extender
from astroid.builder import extract_node, parse
diff --git a/astroid/brain/brain_crypt.py b/astroid/brain/brain_crypt.py
index 6567c602..b0ed9ce0 100644
--- a/astroid/brain/brain_crypt.py
+++ b/astroid/brain/brain_crypt.py
@@ -1,5 +1,5 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
from astroid.brain.helpers import register_module_extender
from astroid.builder import parse
from astroid.const import PY37_PLUS
diff --git a/astroid/brain/brain_curses.py b/astroid/brain/brain_curses.py
index 115a77bb..f623e2bc 100644
--- a/astroid/brain/brain_curses.py
+++ b/astroid/brain/brain_curses.py
@@ -1,5 +1,5 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
from astroid.brain.helpers import register_module_extender
from astroid.builder import parse
from astroid.manager import AstroidManager
diff --git a/astroid/brain/brain_dataclasses.py b/astroid/brain/brain_dataclasses.py
index 52ded0d4..09463ecf 100644
--- a/astroid/brain/brain_dataclasses.py
+++ b/astroid/brain/brain_dataclasses.py
@@ -1,5 +1,5 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""
Astroid hook for the dataclasses library
"""
diff --git a/astroid/brain/brain_dateutil.py b/astroid/brain/brain_dateutil.py
index fa6304cf..2256d6b5 100644
--- a/astroid/brain/brain_dateutil.py
+++ b/astroid/brain/brain_dateutil.py
@@ -5,7 +5,7 @@
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""Astroid hooks for dateutil"""
diff --git a/astroid/brain/brain_fstrings.py b/astroid/brain/brain_fstrings.py
index b9bdc81c..d6f61b8e 100644
--- a/astroid/brain/brain_fstrings.py
+++ b/astroid/brain/brain_fstrings.py
@@ -4,7 +4,7 @@
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
import collections.abc
from astroid.manager import AstroidManager
diff --git a/astroid/brain/brain_gi.py b/astroid/brain/brain_gi.py
index d1e8b7fe..20ac1f36 100644
--- a/astroid/brain/brain_gi.py
+++ b/astroid/brain/brain_gi.py
@@ -12,7 +12,7 @@
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""Astroid hooks for the Python 2 GObject introspection bindings.
diff --git a/astroid/brain/brain_hashlib.py b/astroid/brain/brain_hashlib.py
index 3f54d737..fe2f27c6 100644
--- a/astroid/brain/brain_hashlib.py
+++ b/astroid/brain/brain_hashlib.py
@@ -7,7 +7,7 @@
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
from astroid.brain.helpers import register_module_extender
from astroid.builder import parse
diff --git a/astroid/brain/brain_http.py b/astroid/brain/brain_http.py
index e57e45ff..437b2381 100644
--- a/astroid/brain/brain_http.py
+++ b/astroid/brain/brain_http.py
@@ -3,7 +3,7 @@
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""Astroid brain hints for some of the `http` module."""
import textwrap
diff --git a/astroid/brain/brain_hypothesis.py b/astroid/brain/brain_hypothesis.py
index 9c5cedb6..8f49a7b4 100644
--- a/astroid/brain/brain_hypothesis.py
+++ b/astroid/brain/brain_hypothesis.py
@@ -1,5 +1,5 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""
Astroid hook for the Hypothesis library.
diff --git a/astroid/brain/brain_io.py b/astroid/brain/brain_io.py
index ba61853b..91769776 100644
--- a/astroid/brain/brain_io.py
+++ b/astroid/brain/brain_io.py
@@ -3,7 +3,7 @@
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""Astroid brain hints for some of the _io C objects."""
from astroid import ClassDef
diff --git a/astroid/brain/brain_mechanize.py b/astroid/brain/brain_mechanize.py
index 37813024..1cebb06a 100644
--- a/astroid/brain/brain_mechanize.py
+++ b/astroid/brain/brain_mechanize.py
@@ -7,7 +7,7 @@
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
from astroid.brain.helpers import register_module_extender
from astroid.builder import AstroidBuilder
diff --git a/astroid/brain/brain_multiprocessing.py b/astroid/brain/brain_multiprocessing.py
index 5f68f8b7..3d6223c0 100644
--- a/astroid/brain/brain_multiprocessing.py
+++ b/astroid/brain/brain_multiprocessing.py
@@ -5,7 +5,7 @@
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
from astroid.bases import BoundMethod
from astroid.brain.helpers import register_module_extender
diff --git a/astroid/brain/brain_namedtuple_enum.py b/astroid/brain/brain_namedtuple_enum.py
index 8798483c..4a39c43b 100644
--- a/astroid/brain/brain_namedtuple_enum.py
+++ b/astroid/brain/brain_namedtuple_enum.py
@@ -20,7 +20,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""Astroid hooks for the Python standard library."""
diff --git a/astroid/brain/brain_nose.py b/astroid/brain/brain_nose.py
index 86e70a7b..1a3b29a3 100644
--- a/astroid/brain/brain_nose.py
+++ b/astroid/brain/brain_nose.py
@@ -4,7 +4,7 @@
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""Hooks for nose library."""
diff --git a/astroid/brain/brain_numpy_core_fromnumeric.py b/astroid/brain/brain_numpy_core_fromnumeric.py
index 623ed22a..cc2ef532 100644
--- a/astroid/brain/brain_numpy_core_fromnumeric.py
+++ b/astroid/brain/brain_numpy_core_fromnumeric.py
@@ -3,7 +3,7 @@
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""Astroid hooks for numpy.core.fromnumeric module."""
diff --git a/astroid/brain/brain_numpy_core_function_base.py b/astroid/brain/brain_numpy_core_function_base.py
index 36c6f680..ff6b03cb 100644
--- a/astroid/brain/brain_numpy_core_function_base.py
+++ b/astroid/brain/brain_numpy_core_function_base.py
@@ -4,7 +4,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""Astroid hooks for numpy.core.function_base module."""
diff --git a/astroid/brain/brain_numpy_core_multiarray.py b/astroid/brain/brain_numpy_core_multiarray.py
index e06c1618..f5fbea0a 100644
--- a/astroid/brain/brain_numpy_core_multiarray.py
+++ b/astroid/brain/brain_numpy_core_multiarray.py
@@ -4,7 +4,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""Astroid hooks for numpy.core.multiarray module."""
diff --git a/astroid/brain/brain_numpy_core_numeric.py b/astroid/brain/brain_numpy_core_numeric.py
index d8c37996..48bd2dbc 100644
--- a/astroid/brain/brain_numpy_core_numeric.py
+++ b/astroid/brain/brain_numpy_core_numeric.py
@@ -4,7 +4,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""Astroid hooks for numpy.core.numeric module."""
diff --git a/astroid/brain/brain_numpy_core_numerictypes.py b/astroid/brain/brain_numpy_core_numerictypes.py
index a9fb925b..51e3bd33 100644
--- a/astroid/brain/brain_numpy_core_numerictypes.py
+++ b/astroid/brain/brain_numpy_core_numerictypes.py
@@ -3,7 +3,7 @@
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
# TODO(hippo91) : correct the methods signature.
diff --git a/astroid/brain/brain_numpy_core_umath.py b/astroid/brain/brain_numpy_core_umath.py
index a56fce32..b2c84573 100644
--- a/astroid/brain/brain_numpy_core_umath.py
+++ b/astroid/brain/brain_numpy_core_umath.py
@@ -3,7 +3,7 @@
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
# Note: starting with version 1.18 numpy module has `__getattr__` method which prevent
# `pylint` to emit `no-member` message for all numpy's attributes. (see pylint's module
diff --git a/astroid/brain/brain_numpy_ndarray.py b/astroid/brain/brain_numpy_ndarray.py
index fb9e34c4..e13ac0b7 100644
--- a/astroid/brain/brain_numpy_ndarray.py
+++ b/astroid/brain/brain_numpy_ndarray.py
@@ -4,7 +4,7 @@
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""Astroid hooks for numpy ndarray class."""
diff --git a/astroid/brain/brain_numpy_random_mtrand.py b/astroid/brain/brain_numpy_random_mtrand.py
index 69f221cf..2ff9f339 100644
--- a/astroid/brain/brain_numpy_random_mtrand.py
+++ b/astroid/brain/brain_numpy_random_mtrand.py
@@ -3,7 +3,7 @@
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
# TODO(hippo91) : correct the functions return types
"""Astroid hooks for numpy.random.mtrand module."""
diff --git a/astroid/brain/brain_numpy_utils.py b/astroid/brain/brain_numpy_utils.py
index 670becc1..2acd6380 100644
--- a/astroid/brain/brain_numpy_utils.py
+++ b/astroid/brain/brain_numpy_utils.py
@@ -3,7 +3,7 @@
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""Different utilities for the numpy brains"""
diff --git a/astroid/brain/brain_pkg_resources.py b/astroid/brain/brain_pkg_resources.py
index bc6d1e67..ee669efc 100644
--- a/astroid/brain/brain_pkg_resources.py
+++ b/astroid/brain/brain_pkg_resources.py
@@ -3,7 +3,7 @@
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
from astroid import parse
diff --git a/astroid/brain/brain_pytest.py b/astroid/brain/brain_pytest.py
index f7fa8036..1961c9d6 100644
--- a/astroid/brain/brain_pytest.py
+++ b/astroid/brain/brain_pytest.py
@@ -7,7 +7,7 @@
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""Astroid hooks for pytest."""
from astroid.brain.helpers import register_module_extender
diff --git a/astroid/brain/brain_qt.py b/astroid/brain/brain_qt.py
index 04c76b31..923501ee 100644
--- a/astroid/brain/brain_qt.py
+++ b/astroid/brain/brain_qt.py
@@ -7,7 +7,7 @@
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""Astroid hooks for the PyQT library."""
diff --git a/astroid/brain/brain_random.py b/astroid/brain/brain_random.py
index 42a9a0f2..abe3492e 100644
--- a/astroid/brain/brain_random.py
+++ b/astroid/brain/brain_random.py
@@ -1,5 +1,5 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
import random
from astroid import helpers
diff --git a/astroid/brain/brain_re.py b/astroid/brain/brain_re.py
index e3493840..23e791d7 100644
--- a/astroid/brain/brain_re.py
+++ b/astroid/brain/brain_re.py
@@ -1,5 +1,5 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
from astroid import context, inference_tip, nodes
from astroid.brain.helpers import register_module_extender
from astroid.builder import extract_node, parse
diff --git a/astroid/brain/brain_scipy_signal.py b/astroid/brain/brain_scipy_signal.py
index 8b2c5edf..322aac2e 100755
--- a/astroid/brain/brain_scipy_signal.py
+++ b/astroid/brain/brain_scipy_signal.py
@@ -1,10 +1,10 @@
-# Copyright (c) 2019 Valentin Valls <valentin.valls@esrf.fr>
-# Copyright (c) 2020-2021 hippo91 <guillaume.peillex@gmail.com>
-# Copyright (c) 2020 Claudiu Popa <pcmanticore@gmail.com>
-# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
+# Copyright (c) 2019 Valentin Valls <valentin.valls@esrf.fr>
+# Copyright (c) 2020-2021 hippo91 <guillaume.peillex@gmail.com>
+# Copyright (c) 2020 Claudiu Popa <pcmanticore@gmail.com>
+# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""Astroid hooks for scipy.signal module."""
diff --git a/astroid/brain/brain_six.py b/astroid/brain/brain_six.py
index c59d072c..bbf03207 100644
--- a/astroid/brain/brain_six.py
+++ b/astroid/brain/brain_six.py
@@ -8,7 +8,7 @@
# Copyright (c) 2021 Francis Charette Migneault <francis.charette.migneault@gmail.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""Astroid hooks for six module."""
diff --git a/astroid/brain/brain_ssl.py b/astroid/brain/brain_ssl.py
index f192843f..35cc211a 100644
--- a/astroid/brain/brain_ssl.py
+++ b/astroid/brain/brain_ssl.py
@@ -5,7 +5,7 @@
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""Astroid hooks for the ssl library."""
diff --git a/astroid/brain/brain_subprocess.py b/astroid/brain/brain_subprocess.py
index 2dcef9fd..0c4cfb7f 100644
--- a/astroid/brain/brain_subprocess.py
+++ b/astroid/brain/brain_subprocess.py
@@ -9,7 +9,7 @@
# Copyright (c) 2021 Damien Baty <damien@damienbaty.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
import textwrap
diff --git a/astroid/brain/brain_threading.py b/astroid/brain/brain_threading.py
index 8e4a36c2..3ff20f3f 100644
--- a/astroid/brain/brain_threading.py
+++ b/astroid/brain/brain_threading.py
@@ -4,7 +4,7 @@
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
from astroid.brain.helpers import register_module_extender
from astroid.builder import parse
diff --git a/astroid/brain/brain_type.py b/astroid/brain/brain_type.py
index d508f5ee..7d042651 100644
--- a/astroid/brain/brain_type.py
+++ b/astroid/brain/brain_type.py
@@ -6,7 +6,7 @@ However it was not possible to simply add this method inside type's body, otherw
all types would also have this method. In this case it would have been possible
to write str[int].
Guido Van Rossum proposed a hack to handle this in the interpreter:
-https://github.com/python/cpython/blob/master/Objects/abstract.c#L186-L189
+https://github.com/python/cpython/blob/67e394562d67cbcd0ac8114e5439494e7645b8f5/Objects/abstract.c#L181-L184
This brain follows the same logic. It is no wise to add permanently the __class_getitem__ method
to the type object. Instead we choose to add it only in the case of a subscript node
diff --git a/astroid/brain/brain_typing.py b/astroid/brain/brain_typing.py
index a120ede3..ceb6501e 100644
--- a/astroid/brain/brain_typing.py
+++ b/astroid/brain/brain_typing.py
@@ -1,5 +1,5 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
# Copyright (c) 2017-2018 Claudiu Popa <pcmanticore@gmail.com>
# Copyright (c) 2017 Ɓukasz Rogalski <rogalski.91@gmail.com>
diff --git a/astroid/brain/brain_uuid.py b/astroid/brain/brain_uuid.py
index cc27e475..04f8cbe9 100644
--- a/astroid/brain/brain_uuid.py
+++ b/astroid/brain/brain_uuid.py
@@ -3,7 +3,7 @@
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""Astroid hooks for the UUID module."""
from astroid.manager import AstroidManager
diff --git a/astroid/builder.py b/astroid/builder.py
index 3dbeed0d..a3fc9d4e 100644
--- a/astroid/builder.py
+++ b/astroid/builder.py
@@ -12,7 +12,7 @@
# Copyright (c) 2021 Andrew Haigh <hello@nelf.in>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""The AstroidBuilder makes astroid from living object and / or from _ast
diff --git a/astroid/context.py b/astroid/context.py
index ad4f4531..3d0817c7 100644
--- a/astroid/context.py
+++ b/astroid/context.py
@@ -8,7 +8,7 @@
# Copyright (c) 2021 Andrew Haigh <hello@nelf.in>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""Various context related utilities, including inference and call contexts."""
import contextlib
diff --git a/astroid/decorators.py b/astroid/decorators.py
index 7d029120..6d840c1b 100644
--- a/astroid/decorators.py
+++ b/astroid/decorators.py
@@ -13,7 +13,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
""" A few useful function/method decorators."""
diff --git a/astroid/exceptions.py b/astroid/exceptions.py
index 7f61aba7..bd8a35f5 100644
--- a/astroid/exceptions.py
+++ b/astroid/exceptions.py
@@ -9,7 +9,7 @@
# Copyright (c) 2021 Andrew Haigh <hello@nelf.in>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""this module contains exceptions used in the astroid library
"""
diff --git a/astroid/helpers.py b/astroid/helpers.py
index 7f86c6d9..7a573612 100644
--- a/astroid/helpers.py
+++ b/astroid/helpers.py
@@ -9,7 +9,7 @@
# Copyright (c) 2021 Andrew Haigh <hello@nelf.in>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""
diff --git a/astroid/inference.py b/astroid/inference.py
index 9bff8773..c5da0a4c 100644
--- a/astroid/inference.py
+++ b/astroid/inference.py
@@ -21,7 +21,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""this module contains a set of functions to handle inference on astroid trees
"""
diff --git a/astroid/inference_tip.py b/astroid/inference_tip.py
index 9eeb9e2b..8e25c002 100644
--- a/astroid/inference_tip.py
+++ b/astroid/inference_tip.py
@@ -1,5 +1,5 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""Transform utilities (filters and decorator)"""
diff --git a/astroid/interpreter/dunder_lookup.py b/astroid/interpreter/dunder_lookup.py
index 173325db..c90f3439 100644
--- a/astroid/interpreter/dunder_lookup.py
+++ b/astroid/interpreter/dunder_lookup.py
@@ -1,7 +1,7 @@
# Copyright (c) 2016-2018 Claudiu Popa <pcmanticore@gmail.com>
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""Contains logic for retrieving special methods.
diff --git a/astroid/interpreter/objectmodel.py b/astroid/interpreter/objectmodel.py
index b167e7ea..641312bb 100644
--- a/astroid/interpreter/objectmodel.py
+++ b/astroid/interpreter/objectmodel.py
@@ -9,7 +9,7 @@
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""
Data object model, as per https://docs.python.org/3/reference/datamodel.html.
diff --git a/astroid/manager.py b/astroid/manager.py
index 6d42be6c..8fa54066 100644
--- a/astroid/manager.py
+++ b/astroid/manager.py
@@ -19,7 +19,7 @@
# Copyright (c) 2021 pre-commit-ci[bot] <bot@noreply.github.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""astroid manager: avoid multiple astroid build of a same module when
possible by providing a class responsible to get astroid representation
diff --git a/astroid/mixins.py b/astroid/mixins.py
index ff0b678a..7f66345c 100644
--- a/astroid/mixins.py
+++ b/astroid/mixins.py
@@ -11,7 +11,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""This module contains some mixins for the different nodes.
"""
diff --git a/astroid/modutils.py b/astroid/modutils.py
index 6e53b97a..76759e9a 100644
--- a/astroid/modutils.py
+++ b/astroid/modutils.py
@@ -21,7 +21,7 @@
# Copyright (c) 2021 DudeNr33 <3929834+DudeNr33@users.noreply.github.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""Python modules manipulation utility functions.
diff --git a/astroid/node_classes.py b/astroid/node_classes.py
index bfd8c4fb..7cb5799f 100644
--- a/astroid/node_classes.py
+++ b/astroid/node_classes.py
@@ -29,7 +29,7 @@
# Copyright (c) 2021 Federico Bond <federicobond@gmail.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""Module for some node classes. More nodes in scoped_nodes.py"""
diff --git a/astroid/nodes.py b/astroid/nodes.py
index 63597a96..a9bee41c 100644
--- a/astroid/nodes.py
+++ b/astroid/nodes.py
@@ -11,7 +11,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""Every available node class.
diff --git a/astroid/objects.py b/astroid/objects.py
index 4e4bbd9e..1a32b52d 100644
--- a/astroid/objects.py
+++ b/astroid/objects.py
@@ -8,7 +8,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""
diff --git a/astroid/protocols.py b/astroid/protocols.py
index 651000cb..f2ffe6b3 100644
--- a/astroid/protocols.py
+++ b/astroid/protocols.py
@@ -19,7 +19,7 @@
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""this module contains a set of functions to handle python protocols for nodes
where it makes sense.
diff --git a/astroid/raw_building.py b/astroid/raw_building.py
index 19c4b47c..8eac5081 100644
--- a/astroid/raw_building.py
+++ b/astroid/raw_building.py
@@ -18,7 +18,7 @@
# Copyright (c) 2021 Andrew Haigh <hello@nelf.in>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""this module contains a set of functions to create astroid trees from scratch
(build_* functions) or from living object (object_build_* functions)
diff --git a/astroid/rebuilder.py b/astroid/rebuilder.py
index 189a963e..3cd2a1fb 100644
--- a/astroid/rebuilder.py
+++ b/astroid/rebuilder.py
@@ -23,7 +23,7 @@
# Copyright (c) 2021 hippo91 <guillaume.peillex@gmail.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""this module contains utilities for rebuilding an _ast tree in
order to get a single Astroid representation
diff --git a/astroid/scoped_nodes.py b/astroid/scoped_nodes.py
index 1ba6c3a3..de3d0270 100644
--- a/astroid/scoped_nodes.py
+++ b/astroid/scoped_nodes.py
@@ -29,7 +29,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""
diff --git a/astroid/test_utils.py b/astroid/test_utils.py
index 915f17cd..d93020cc 100644
--- a/astroid/test_utils.py
+++ b/astroid/test_utils.py
@@ -10,7 +10,7 @@
# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
"""Utility functions for test code that uses astroid ASTs as input."""
import contextlib
diff --git a/astroid/transforms.py b/astroid/transforms.py
index 27de040a..34a59168 100644
--- a/astroid/transforms.py
+++ b/astroid/transforms.py
@@ -5,7 +5,7 @@
# Copyright (c) 2021 Andrew Haigh <hello@nelf.in>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
import collections
diff --git a/astroid/util.py b/astroid/util.py
index fc697647..be22097d 100644
--- a/astroid/util.py
+++ b/astroid/util.py
@@ -7,7 +7,7 @@
# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
-# For details: https://github.com/PyCQA/astroid/blob/master/LICENSE
+# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
import importlib
import warnings