diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2023-03-29 13:54:24 +0200 |
---|---|---|
committer | Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com> | 2023-03-29 19:19:40 +0200 |
commit | 6714f15531c78d98860d8b17123d4308205aecc6 (patch) | |
tree | 701adef92867cc5f5d974d64446b72c3ab7363b4 /astroid/brain | |
parent | 7d76924a8ef0053be6484fe12e8c6c23d7145ab5 (diff) | |
download | astroid-git-6714f15531c78d98860d8b17123d4308205aecc6.tar.gz |
[PyCQA migration] Upgrade links to the repositories in code and doc
Diffstat (limited to 'astroid/brain')
52 files changed, 111 insertions, 111 deletions
diff --git a/astroid/brain/brain_argparse.py b/astroid/brain/brain_argparse.py index 28a5e859..1e0a6e84 100644 --- a/astroid/brain/brain_argparse.py +++ b/astroid/brain/brain_argparse.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt from __future__ import annotations @@ -18,7 +18,7 @@ def infer_namespace(node, context: InferenceContext | None = None): class_node = nodes.ClassDef("Namespace") # Set parent manually until ClassDef constructor fixed: - # https://github.com/PyCQA/astroid/issues/1490 + # https://github.com/pylint-dev/astroid/issues/1490 class_node.parent = node.parent for attr in set(callsite.keyword_arguments): fake_node = nodes.EmptyNode() diff --git a/astroid/brain/brain_attrs.py b/astroid/brain/brain_attrs.py index acb069e3..80d9a252 100644 --- a/astroid/brain/brain_attrs.py +++ b/astroid/brain/brain_attrs.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """ Astroid hook for the attrs library @@ -48,7 +48,7 @@ def attr_attributes_transform(node: ClassDef) -> None: rewrite class attributes as instance attributes """ # Astroid can't infer this attribute properly - # Prevents https://github.com/PyCQA/pylint/issues/1884 + # Prevents https://github.com/pylint-dev/pylint/issues/1884 node.locals["__attrs_attrs__"] = [Unknown(parent=node)] for cdef_body_node in node.body: @@ -73,7 +73,7 @@ def attr_attributes_transform(node: ClassDef) -> None: if isinstance(target, AssignName): # Could be a subscript if the code analysed is # i = Optional[str] = "" - # See https://github.com/PyCQA/pylint/issues/4439 + # See https://github.com/pylint-dev/pylint/issues/4439 node.locals[target.name] = [rhs_node] node.instance_attrs[target.name] = [rhs_node] diff --git a/astroid/brain/brain_boto3.py b/astroid/brain/brain_boto3.py index 425a1d33..f874c007 100644 --- a/astroid/brain/brain_boto3.py +++ b/astroid/brain/brain_boto3.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """Astroid hooks for understanding ``boto3.ServiceRequest()``.""" diff --git a/astroid/brain/brain_builtin_inference.py b/astroid/brain/brain_builtin_inference.py index 383621d4..adea1c21 100644 --- a/astroid/brain/brain_builtin_inference.py +++ b/astroid/brain/brain_builtin_inference.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """Astroid hooks for various builtins.""" @@ -182,7 +182,7 @@ def register_builtin_transform(transform, builtin_name) -> None: if result.lineno is None: result.lineno = node.lineno - # Can be a 'Module' see https://github.com/PyCQA/pylint/issues/4671 + # Can be a 'Module' see https://github.com/pylint-dev/pylint/issues/4671 # We don't have a regression test on this one: tread carefully if hasattr(result, "col_offset") and result.col_offset is None: result.col_offset = node.col_offset diff --git a/astroid/brain/brain_collections.py b/astroid/brain/brain_collections.py index 51014dfa..8de6d241 100644 --- a/astroid/brain/brain_collections.py +++ b/astroid/brain/brain_collections.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt from __future__ import annotations diff --git a/astroid/brain/brain_crypt.py b/astroid/brain/brain_crypt.py index 312353c6..6b10b821 100644 --- a/astroid/brain/brain_crypt.py +++ b/astroid/brain/brain_crypt.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt from astroid.brain.helpers import register_module_extender from astroid.builder import parse diff --git a/astroid/brain/brain_ctypes.py b/astroid/brain/brain_ctypes.py index 35cb208f..f3d89c55 100644 --- a/astroid/brain/brain_ctypes.py +++ b/astroid/brain/brain_ctypes.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """ Astroid hooks for ctypes module. diff --git a/astroid/brain/brain_curses.py b/astroid/brain/brain_curses.py index 66cd5b27..b617f862 100644 --- a/astroid/brain/brain_curses.py +++ b/astroid/brain/brain_curses.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt from astroid.brain.helpers import register_module_extender from astroid.builder import parse diff --git a/astroid/brain/brain_dataclasses.py b/astroid/brain/brain_dataclasses.py index 7d27a8ae..408fe2c3 100644 --- a/astroid/brain/brain_dataclasses.py +++ b/astroid/brain/brain_dataclasses.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """ Astroid hook for the dataclasses library. diff --git a/astroid/brain/brain_dateutil.py b/astroid/brain/brain_dateutil.py index 4579e026..a1db7fc9 100644 --- a/astroid/brain/brain_dateutil.py +++ b/astroid/brain/brain_dateutil.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """Astroid hooks for dateutil.""" diff --git a/astroid/brain/brain_fstrings.py b/astroid/brain/brain_fstrings.py index c0df22e8..1aa30319 100644 --- a/astroid/brain/brain_fstrings.py +++ b/astroid/brain/brain_fstrings.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt from __future__ import annotations diff --git a/astroid/brain/brain_functools.py b/astroid/brain/brain_functools.py index f6a9830d..9393b886 100644 --- a/astroid/brain/brain_functools.py +++ b/astroid/brain/brain_functools.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """Astroid hooks for understanding functools library module.""" @@ -59,7 +59,7 @@ class LruWrappedModel(objectmodel.FunctionModel): def _transform_lru_cache(node, context: InferenceContext | None = None) -> None: # TODO: this is not ideal, since the node should be immutable, - # but due to https://github.com/PyCQA/astroid/issues/354, + # but due to https://github.com/pylint-dev/astroid/issues/354, # there's not much we can do now. # Replacing the node would work partially, because, # in pylint, the old node would still be available, leading diff --git a/astroid/brain/brain_gi.py b/astroid/brain/brain_gi.py index b8a8568d..66a03484 100644 --- a/astroid/brain/brain_gi.py +++ b/astroid/brain/brain_gi.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """Astroid hooks for the Python 2 GObject introspection bindings. diff --git a/astroid/brain/brain_hashlib.py b/astroid/brain/brain_hashlib.py index e321af6d..858251be 100644 --- a/astroid/brain/brain_hashlib.py +++ b/astroid/brain/brain_hashlib.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt 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 c5db1f43..0052124e 100644 --- a/astroid/brain/brain_http.py +++ b/astroid/brain/brain_http.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """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 5d68f732..ce49d652 100644 --- a/astroid/brain/brain_hypothesis.py +++ b/astroid/brain/brain_hypothesis.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """ Astroid hook for the Hypothesis library. diff --git a/astroid/brain/brain_io.py b/astroid/brain/brain_io.py index c0ae6fe1..80fd18ed 100644 --- a/astroid/brain/brain_io.py +++ b/astroid/brain/brain_io.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """Astroid brain hints for some of the _io C objects.""" from astroid.manager import AstroidManager diff --git a/astroid/brain/brain_mechanize.py b/astroid/brain/brain_mechanize.py index 6b08bc42..2ea223fb 100644 --- a/astroid/brain/brain_mechanize.py +++ b/astroid/brain/brain_mechanize.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt 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 c349bbef..292295f8 100644 --- a/astroid/brain/brain_multiprocessing.py +++ b/astroid/brain/brain_multiprocessing.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt 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 e09e2ade..9e475026 100644 --- a/astroid/brain/brain_namedtuple_enum.py +++ b/astroid/brain/brain_namedtuple_enum.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """Astroid hooks for the Python standard library.""" @@ -158,7 +158,7 @@ def infer_func_form( class_node = nodes.ClassDef(name) # A typical ClassDef automatically adds its name to the parent scope, # but doing so causes problems, so defer setting parent until after init - # see: https://github.com/PyCQA/pylint/issues/5982 + # see: https://github.com/pylint-dev/pylint/issues/5982 class_node.parent = node.parent class_node.postinit( # set base class=tuple diff --git a/astroid/brain/brain_nose.py b/astroid/brain/brain_nose.py index 38e2229e..e668f329 100644 --- a/astroid/brain/brain_nose.py +++ b/astroid/brain/brain_nose.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """Hooks for nose library.""" diff --git a/astroid/brain/brain_numpy_core_einsumfunc.py b/astroid/brain/brain_numpy_core_einsumfunc.py index d76241e4..d916947c 100644 --- a/astroid/brain/brain_numpy_core_einsumfunc.py +++ b/astroid/brain/brain_numpy_core_einsumfunc.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """ Astroid hooks for numpy.core.einsumfunc module: diff --git a/astroid/brain/brain_numpy_core_fromnumeric.py b/astroid/brain/brain_numpy_core_fromnumeric.py index 19d48224..13a9e56a 100644 --- a/astroid/brain/brain_numpy_core_fromnumeric.py +++ b/astroid/brain/brain_numpy_core_fromnumeric.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """Astroid hooks for numpy.core.fromnumeric module.""" from astroid.brain.helpers import register_module_extender diff --git a/astroid/brain/brain_numpy_core_function_base.py b/astroid/brain/brain_numpy_core_function_base.py index 31d53cb1..bd218efa 100644 --- a/astroid/brain/brain_numpy_core_function_base.py +++ b/astroid/brain/brain_numpy_core_function_base.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """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 dbdb24ea..4b2fe63c 100644 --- a/astroid/brain/brain_numpy_core_multiarray.py +++ b/astroid/brain/brain_numpy_core_multiarray.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """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 140d81ab..c5c816f0 100644 --- a/astroid/brain/brain_numpy_core_numeric.py +++ b/astroid/brain/brain_numpy_core_numeric.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """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 245296e0..4f8f1c34 100644 --- a/astroid/brain/brain_numpy_core_numerictypes.py +++ b/astroid/brain/brain_numpy_core_numerictypes.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt # 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 42dfdfa6..948d17c9 100644 --- a/astroid/brain/brain_numpy_core_umath.py +++ b/astroid/brain/brain_numpy_core_umath.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt # 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_ma.py b/astroid/brain/brain_numpy_ma.py index 8654f907..f8ba2bea 100644 --- a/astroid/brain/brain_numpy_ma.py +++ b/astroid/brain/brain_numpy_ma.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """Astroid hooks for numpy ma module.""" diff --git a/astroid/brain/brain_numpy_ndarray.py b/astroid/brain/brain_numpy_ndarray.py index 48db84eb..dd356067 100644 --- a/astroid/brain/brain_numpy_ndarray.py +++ b/astroid/brain/brain_numpy_ndarray.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """Astroid hooks for numpy ndarray class.""" from __future__ import annotations diff --git a/astroid/brain/brain_numpy_random_mtrand.py b/astroid/brain/brain_numpy_random_mtrand.py index b1f0d455..68af7597 100644 --- a/astroid/brain/brain_numpy_random_mtrand.py +++ b/astroid/brain/brain_numpy_random_mtrand.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt # 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 a3dbb116..5867b6f9 100644 --- a/astroid/brain/brain_numpy_utils.py +++ b/astroid/brain/brain_numpy_utils.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """Different utilities for the numpy brains.""" diff --git a/astroid/brain/brain_pathlib.py b/astroid/brain/brain_pathlib.py index 41bbcf0c..f3847bb3 100644 --- a/astroid/brain/brain_pathlib.py +++ b/astroid/brain/brain_pathlib.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt from __future__ import annotations diff --git a/astroid/brain/brain_pkg_resources.py b/astroid/brain/brain_pkg_resources.py index 689dd743..940783d2 100644 --- a/astroid/brain/brain_pkg_resources.py +++ b/astroid/brain/brain_pkg_resources.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt from astroid import parse from astroid.brain.helpers import register_module_extender diff --git a/astroid/brain/brain_pytest.py b/astroid/brain/brain_pytest.py index 78c97799..7bbcafdf 100644 --- a/astroid/brain/brain_pytest.py +++ b/astroid/brain/brain_pytest.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """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 e8bfe88f..2979de7f 100644 --- a/astroid/brain/brain_qt.py +++ b/astroid/brain/brain_qt.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """Astroid hooks for the PyQT library.""" diff --git a/astroid/brain/brain_random.py b/astroid/brain/brain_random.py index ef3beb7e..4edc55a9 100644 --- a/astroid/brain/brain_random.py +++ b/astroid/brain/brain_random.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt from __future__ import annotations diff --git a/astroid/brain/brain_re.py b/astroid/brain/brain_re.py index 5f05d473..1096e6d4 100644 --- a/astroid/brain/brain_re.py +++ b/astroid/brain/brain_re.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt from __future__ import annotations diff --git a/astroid/brain/brain_regex.py b/astroid/brain/brain_regex.py index 9d149639..23fe804f 100644 --- a/astroid/brain/brain_regex.py +++ b/astroid/brain/brain_regex.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt from __future__ import annotations diff --git a/astroid/brain/brain_responses.py b/astroid/brain/brain_responses.py index 100f3831..067d569f 100644 --- a/astroid/brain/brain_responses.py +++ b/astroid/brain/brain_responses.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """ Astroid hooks for responses. diff --git a/astroid/brain/brain_scipy_signal.py b/astroid/brain/brain_scipy_signal.py index 578022f6..91762b1d 100755 --- a/astroid/brain/brain_scipy_signal.py +++ b/astroid/brain/brain_scipy_signal.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """Astroid hooks for scipy.signal module.""" from astroid.brain.helpers import register_module_extender diff --git a/astroid/brain/brain_signal.py b/astroid/brain/brain_signal.py index 85010daa..c2b831df 100644 --- a/astroid/brain/brain_signal.py +++ b/astroid/brain/brain_signal.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """Astroid hooks for the signal library. diff --git a/astroid/brain/brain_six.py b/astroid/brain/brain_six.py index 0eb945d8..93a16a93 100644 --- a/astroid/brain/brain_six.py +++ b/astroid/brain/brain_six.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """Astroid hooks for six module.""" diff --git a/astroid/brain/brain_sqlalchemy.py b/astroid/brain/brain_sqlalchemy.py index f3695ded..92722fc2 100644 --- a/astroid/brain/brain_sqlalchemy.py +++ b/astroid/brain/brain_sqlalchemy.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt from astroid.brain.helpers import register_module_extender from astroid.builder import parse diff --git a/astroid/brain/brain_ssl.py b/astroid/brain/brain_ssl.py index 68ffe30c..0f0f939f 100644 --- a/astroid/brain/brain_ssl.py +++ b/astroid/brain/brain_ssl.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """Astroid hooks for the ssl library.""" diff --git a/astroid/brain/brain_subprocess.py b/astroid/brain/brain_subprocess.py index a4e7bad5..553ade59 100644 --- a/astroid/brain/brain_subprocess.py +++ b/astroid/brain/brain_subprocess.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt import textwrap diff --git a/astroid/brain/brain_threading.py b/astroid/brain/brain_threading.py index 061b11fc..6b17b126 100644 --- a/astroid/brain/brain_threading.py +++ b/astroid/brain/brain_threading.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt 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 e63f9733..dc01693e 100644 --- a/astroid/brain/brain_type.py +++ b/astroid/brain/brain_type.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """ Astroid hooks for type support. diff --git a/astroid/brain/brain_typing.py b/astroid/brain/brain_typing.py index e0a9dfd1..0dc4afae 100644 --- a/astroid/brain/brain_typing.py +++ b/astroid/brain/brain_typing.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """Astroid hooks for typing.py support.""" diff --git a/astroid/brain/brain_unittest.py b/astroid/brain/brain_unittest.py index 89f5d26f..e8f08a1b 100644 --- a/astroid/brain/brain_unittest.py +++ b/astroid/brain/brain_unittest.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """Astroid hooks for unittest module.""" from astroid.brain.helpers import register_module_extender @@ -18,7 +18,7 @@ def IsolatedAsyncioTestCaseImport(): is not imported statically (during import time). This function mocks a classical static import of the IsolatedAsyncioTestCase. - (see https://github.com/PyCQA/pylint/issues/4060) + (see https://github.com/pylint-dev/pylint/issues/4060) """ return parse( """ diff --git a/astroid/brain/brain_uuid.py b/astroid/brain/brain_uuid.py index 4890e101..7d4c85b7 100644 --- a/astroid/brain/brain_uuid.py +++ b/astroid/brain/brain_uuid.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt """Astroid hooks for the UUID module.""" from astroid.manager import AstroidManager diff --git a/astroid/brain/helpers.py b/astroid/brain/helpers.py index 56683c8e..22e3ec74 100644 --- a/astroid/brain/helpers.py +++ b/astroid/brain/helpers.py @@ -1,6 +1,6 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html -# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt +# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt from __future__ import annotations |