summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2023-03-29 21:27:18 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2023-03-31 09:02:32 +0200
commit07a945a218cf7f6b55691923bd797527e7b61cf5 (patch)
treebff2fe775746db1e004681091fac92185ac5db74
parentd7732e446bdd30cb258c0d4dc5a3e189e1e917b3 (diff)
downloadpylint-git-07a945a218cf7f6b55691923bd797527e7b61cf5.tar.gz
[cleanup] Upgrade more doc following the PyCQA migration
-rw-r--r--README.rst16
-rw-r--r--doc/contact.rst2
-rw-r--r--doc/development_guide/contributor_guide/contribute.rst4
-rw-r--r--doc/development_guide/contributor_guide/tests/install.rst4
-rw-r--r--doc/development_guide/contributor_guide/tests/launching_test.rst2
-rw-r--r--doc/development_guide/contributor_guide/tests/writing_test.rst2
-rw-r--r--doc/development_guide/how_tos/transform_plugins.rst2
-rw-r--r--doc/whatsnew/2/2.1/full.rst2
-rw-r--r--doc/whatsnew/2/2.13/full.rst8
-rw-r--r--doc/whatsnew/2/2.13/summary.rst8
-rw-r--r--doc/whatsnew/2/2.3/full.rst2
-rw-r--r--doc/whatsnew/2/2.9/full.rst4
-rw-r--r--pylint/checkers/utils.py2
-rw-r--r--pylint/checkers/variables.py2
-rw-r--r--pyproject.toml2
-rw-r--r--script/check_newsfragments.py2
-rw-r--r--tests/functional/a/assigning/assigning_non_slot_4509.py2
-rw-r--r--tests/functional/d/dataclass/dataclass_typecheck.py2
-rw-r--r--tests/functional/r/recursion/recursion_error_crash_astroid_623.py2
-rw-r--r--tests/functional/r/regression_02/regression_5030.py2
-rw-r--r--tests/functional/r/regression_02/regression_5048.py2
-rw-r--r--tests/functional/r/regression_02/regression_distutil_import_error_73.py2
-rw-r--r--tests/functional/r/regression_02/regression_enum_1734.py4
-rw-r--r--tests/functional/s/super/super_checks.py2
-rw-r--r--tests/functional/t/typing_generic.py2
-rw-r--r--tests/functional/u/unused/unused_variable.py2
-rw-r--r--tests/primer/packages_to_prime.json2
-rw-r--r--tests/testutils/_primer/fixtures/message_changed/expected.txt6
-rw-r--r--tests/testutils/_primer/fixtures/message_changed/expected_truncated.txt6
-rw-r--r--tests/testutils/_primer/fixtures/message_changed/main.json4
-rw-r--r--tests/testutils/_primer/fixtures/message_changed/pr.json4
-rw-r--r--tests/testutils/_primer/fixtures/no_change/main.json4
-rw-r--r--tests/testutils/_primer/fixtures/no_change/pr.json4
33 files changed, 58 insertions, 58 deletions
diff --git a/README.rst b/README.rst
index 2180f5162..d4e3c83ee 100644
--- a/README.rst
+++ b/README.rst
@@ -8,8 +8,8 @@
.. image:: https://github.com/pylint-dev/pylint/actions/workflows/tests.yaml/badge.svg?branch=main
:target: https://github.com/pylint-dev/pylint/actions
-.. image:: https://codecov.io/gh/PyCQA/pylint/branch/main/graph/badge.svg?token=ZETEzayrfk
- :target: https://codecov.io/gh/PyCQA/pylint
+.. image:: https://codecov.io/gh/pylint-dev/pylint/branch/main/graph/badge.svg?token=ZETEzayrfk
+ :target: https://codecov.io/gh/pylint-dev/pylint
.. image:: https://img.shields.io/pypi/v/pylint.svg
:alt: Pypi Package version
@@ -25,15 +25,15 @@
.. image:: https://img.shields.io/badge/linting-pylint-yellowgreen
:target: https://github.com/pylint-dev/pylint
-.. image:: https://results.pre-commit.ci/badge/github/PyCQA/pylint/main.svg
- :target: https://results.pre-commit.ci/latest/github/PyCQA/pylint/main
+.. image:: https://results.pre-commit.ci/badge/github/pylint-dev/pylint/main.svg
+ :target: https://results.pre-commit.ci/latest/github/pylint-dev/pylint/main
:alt: pre-commit.ci status
.. image:: https://bestpractices.coreinfrastructure.org/projects/6328/badge
:target: https://bestpractices.coreinfrastructure.org/projects/6328
:alt: CII Best Practices
-.. image:: https://api.securityscorecards.dev/projects/github.com/PyCQA/pylint/badge
+.. image:: https://img.shields.io/ossf-scorecard/github.com/PyCQA/pylint?label=openssf%20scorecard&style=flat
:target: https://api.securityscorecards.dev/projects/github.com/PyCQA/pylint
:alt: OpenSSF Scorecard
@@ -198,8 +198,8 @@ pylint is, with a few exceptions listed below, `GPLv2 <https://github.com/pylint
The icon files are licensed under the `CC BY-SA 4.0 <https://creativecommons.org/licenses/by-sa/4.0/>`_ license:
-- `doc/logo.png <https://raw.githubusercontent.com/PyCQA/pylint/main/doc/logo.png>`_
-- `doc/logo.svg <https://raw.githubusercontent.com/PyCQA/pylint/main/doc/logo.svg>`_
+- `doc/logo.png <https://raw.githubusercontent.com/pylint-dev/pylint/main/doc/logo.png>`_
+- `doc/logo.svg <https://raw.githubusercontent.com/pylint-dev/pylint/main/doc/logo.svg>`_
Support
-------
@@ -208,7 +208,7 @@ Please check `the contact information`_.
.. _`the contact information`: https://pylint.readthedocs.io/en/latest/contact.html
-.. |tideliftlogo| image:: https://raw.githubusercontent.com/PyCQA/pylint/main/doc/media/Tidelift_Logos_RGB_Tidelift_Shorthand_On-White.png
+.. |tideliftlogo| image:: https://raw.githubusercontent.com/pylint-dev/pylint/main/doc/media/Tidelift_Logos_RGB_Tidelift_Shorthand_On-White.png
:width: 200
:alt: Tidelift
diff --git a/doc/contact.rst b/doc/contact.rst
index be2eac41b..cd3594f39 100644
--- a/doc/contact.rst
+++ b/doc/contact.rst
@@ -14,7 +14,7 @@ https://github.com/pylint-dev/pylint
Note that the issue might also be reported in one of Pylint's major dependencies,
astroid:
-* https://github.com/PyCQA/astroid
+* https://github.com/pylint-dev/astroid
Discord server
--------------
diff --git a/doc/development_guide/contributor_guide/contribute.rst b/doc/development_guide/contributor_guide/contribute.rst
index d687a0d21..dee22aa69 100644
--- a/doc/development_guide/contributor_guide/contribute.rst
+++ b/doc/development_guide/contributor_guide/contribute.rst
@@ -27,7 +27,7 @@ Here's a list of links you can check depending on what you want to do:
.. _`on github`: https://github.com/pylint-dev/pylint/issues/new/choose
.. _`Opening an issue`: https://github.com/pylint-dev/pylint/issues/new?assignees=&labels=Needs+triage+%3Ainbox_tray%3A&template=BUG-REPORT.yml
.. _`Making the documentation better`: https://github.com/pylint-dev/pylint/issues?q=is%3Aopen+is%3Aissue+label%3A%22Documentation+%3Agreen_book%3A%22
-.. _`Making the error message better`: https://github.com/pylint-dev/pylint/issues?q=is%3Aopen+is%3Aissue+project%3Apycqa%2Fpylint%2F4+
+.. _`Making the error message better`: https://github.com/pylint-dev/pylint/issues?q=is%3Aopen%20is%3Aissue%20project%3Apylint-dev%2Fpylint%2F4
.. _`Reproducing bugs and confirming that issues are valid`: https://github.com/pylint-dev/pylint/issues?q=is%3Aopen+is%3Aissue+label%3A%22Needs+reproduction+%3Amag%3A%22%2C%22Cannot+reproduce+%F0%9F%A4%B7%22
.. _`Investigating or debugging complicated issues`: https://github.com/pylint-dev/pylint/issues?q=is%3Aopen+is%3Aissue+label%3A%22Needs+investigation+%F0%9F%94%AC%22
.. _`Designing or specifying a solution`: https://github.com/pylint-dev/pylint/issues?q=is%3Aopen+is%3Aissue+label%3A%22Needs+design+proposal+%3Alock%3A%22%2C%22Needs+specification+%3Aclosed_lock_with_key%3A%22
@@ -100,7 +100,7 @@ your patch gets accepted:
.. _pytest: https://docs.pytest.org/en/latest/
.. _black: https://github.com/psf/black
.. _isort: https://github.com/PyCQA/isort
-.. _astroid: https://github.com/pycqa/astroid
+.. _astroid: https://github.com/pylint-dev/astroid
Tips for Getting Started with Pylint Development
diff --git a/doc/development_guide/contributor_guide/tests/install.rst b/doc/development_guide/contributor_guide/tests/install.rst
index 1c669eada..24783ea2c 100644
--- a/doc/development_guide/contributor_guide/tests/install.rst
+++ b/doc/development_guide/contributor_guide/tests/install.rst
@@ -34,7 +34,7 @@ If you're testing new changes in astroid you need to also clone astroid_ and ins
with an editable installation alongside pylint as follows::
# Suppose you're in the pylint directory
- git clone https://github.com/PyCQA/astroid.git
+ git clone https://github.com/pylint-dev/astroid.git
python3 -m pip install -e astroid/
You're now using the local astroid in pylint and can control the version with git for example::
@@ -43,5 +43,5 @@ You're now using the local astroid in pylint and can control the version with gi
git switch my-astroid-dev-branch
.. _pytest-cov: https://pypi.org/project/pytest-cov/
-.. _astroid: https://github.com/pycqa/astroid
+.. _astroid: https://github.com/pylint-dev/astroid
.. _git: https://git-scm.com/
diff --git a/doc/development_guide/contributor_guide/tests/launching_test.rst b/doc/development_guide/contributor_guide/tests/launching_test.rst
index 02114f01f..64d4421a7 100644
--- a/doc/development_guide/contributor_guide/tests/launching_test.rst
+++ b/doc/development_guide/contributor_guide/tests/launching_test.rst
@@ -85,4 +85,4 @@ You can find the latest list of repositories and any relevant code for these tes
directory.
.. _pytest-cov: https://pypi.org/project/pytest-cov/
-.. _astroid: https://github.com/pycqa/astroid
+.. _astroid: https://github.com/pylint-dev/astroid
diff --git a/doc/development_guide/contributor_guide/tests/writing_test.rst b/doc/development_guide/contributor_guide/tests/writing_test.rst
index c616d172b..9ce9ca1f0 100644
--- a/doc/development_guide/contributor_guide/tests/writing_test.rst
+++ b/doc/development_guide/contributor_guide/tests/writing_test.rst
@@ -137,4 +137,4 @@ module name should be ``{abspath}`` and the file name ``{relpath}``.
.. _tox: https://tox.wiki/en/latest/
.. _pytest: https://docs.pytest.org/en/latest/
.. _pytest-cov: https://pypi.org/project/pytest-cov/
-.. _astroid: https://github.com/pycqa/astroid
+.. _astroid: https://github.com/pylint-dev/astroid
diff --git a/doc/development_guide/how_tos/transform_plugins.rst b/doc/development_guide/how_tos/transform_plugins.rst
index 031faa0f1..e1f7e9e64 100644
--- a/doc/development_guide/how_tos/transform_plugins.rst
+++ b/doc/development_guide/how_tos/transform_plugins.rst
@@ -114,4 +114,4 @@ an example, any code transformation can be done by plugins.
See `astroid/brain`_ for real life examples of transform plugins.
.. _`warnings.py`: https://hg.python.org/cpython/file/2.7/Lib/warnings.py
-.. _`astroid/brain`: https://github.com/PyCQA/astroid/tree/main/astroid/brain
+.. _`astroid/brain`: https://github.com/pylint-dev/astroid/tree/main/astroid/brain
diff --git a/doc/whatsnew/2/2.1/full.rst b/doc/whatsnew/2/2.1/full.rst
index a1e7e24c1..03d1e82ac 100644
--- a/doc/whatsnew/2/2.1/full.rst
+++ b/doc/whatsnew/2/2.1/full.rst
@@ -42,7 +42,7 @@ Release date: 2018-08-01
* Correctly handle the new name of the Python implementation of the ``abc`` module.
- Closes PyCQA/astroid#2288
+ Closes pylint-dev/astroid#2288
* Modules with ``__getattr__`` are exempted by default from ``no-member``
diff --git a/doc/whatsnew/2/2.13/full.rst b/doc/whatsnew/2/2.13/full.rst
index f723731dc..797648431 100644
--- a/doc/whatsnew/2/2.13/full.rst
+++ b/doc/whatsnew/2/2.13/full.rst
@@ -250,7 +250,7 @@ Release date: 2022-03-24
* No longer emit ``no-member`` in for loops that reference ``self`` if the binary operation that
started the for loop uses a ``self`` that is encapsulated in tuples or lists.
- Refs PyCQA/astroid#1360
+ Refs pylint-dev/astroid#1360
Closes #4826
* Output better error message if unsupported file formats are used with ``pyreverse``.
@@ -389,7 +389,7 @@ Release date: 2022-03-24
* Fixed a crash involving a ``NewType`` named with an f-string.
Closes #5770
- Ref PyCQA/astroid#1400
+ Ref pylint-dev/astroid#1400
* Improved ``bad-open-mode`` message when providing ``None`` to the ``mode``
argument of an ``open()`` call.
@@ -406,13 +406,13 @@ Release date: 2022-03-24
the class itself.
Closes #5408
- Ref PyCQA/astroid#1392
+ Ref pylint-dev/astroid#1392
* Fixed false positive for ``unused-argument`` when a method overridden in a subclass
does nothing with the value of a keyword-only argument.
Closes #5771
- Ref PyCQA/astroid#1382
+ Ref pylint-dev/astroid#1382
* The issue template for crashes is now created for crashes which were previously not covered
by this mechanism.
diff --git a/doc/whatsnew/2/2.13/summary.rst b/doc/whatsnew/2/2.13/summary.rst
index 5d4a17000..7a8f968fe 100644
--- a/doc/whatsnew/2/2.13/summary.rst
+++ b/doc/whatsnew/2/2.13/summary.rst
@@ -144,7 +144,7 @@ Other Changes
* No longer emit ``no-member`` in for loops that reference ``self`` if the binary operation that
started the for loop uses a ``self`` that is encapsulated in tuples or lists.
- Refs PyCQA/astroid#1360
+ Refs pylint-dev/astroid#1360
Closes #4826
* Fix matching ``--notes`` options that end in a non-word character.
@@ -295,13 +295,13 @@ Other Changes
the class itself.
Closes #5408
- RefsPyCQA/astroid#1392
+ Refspylint-dev/astroid#1392
* Fixed false positive for ``unused-argument`` when a method overridden in a subclass
does nothing with the value of a keyword-only argument.
Closes #5771
- RefsPyCQA/astroid#1382
+ Refspylint-dev/astroid#1382
* Optimize parsing of long lines when ``missing-final-newline`` is enabled.
@@ -343,7 +343,7 @@ Other Changes
* Fixed a crash involving a ``NewType`` named with an f-string.
Closes #5770
- RefsPyCQA/astroid#1400
+ Refspylint-dev/astroid#1400
* Improved ``bad-open-mode`` message when providing ``None`` to the ``mode``
argument of an ``open()`` call.
diff --git a/doc/whatsnew/2/2.3/full.rst b/doc/whatsnew/2/2.3/full.rst
index d55021275..947eedbac 100644
--- a/doc/whatsnew/2/2.3/full.rst
+++ b/doc/whatsnew/2/2.3/full.rst
@@ -13,7 +13,7 @@ Release date: 2019-02-27
Doesn't make that much sense for ``pylint`` itself, which is why we're handling the
exception here, rather than in ``astroid``
- Closes PyCQA/astroid#644
+ Closes pylint-dev/astroid#644
* Added a new command line option ``list-groups`` for listing all the check groups ``pylint`` knows about.
diff --git a/doc/whatsnew/2/2.9/full.rst b/doc/whatsnew/2/2.9/full.rst
index 5518f5464..417943e93 100644
--- a/doc/whatsnew/2/2.9/full.rst
+++ b/doc/whatsnew/2/2.9/full.rst
@@ -304,12 +304,12 @@ Release date: 2021-06-29
* Fix false-positive ``no-member`` with generic base class
- Closes PyCQA/astroid#942
+ Closes pylint-dev/astroid#942
* Fix ``assigning-non-slot`` false-positive with base that inherits from ``typing.Generic``
Closes #4509
- Closes PyCQA/astroid#999
+ Closes pylint-dev/astroid#999
* New checker ``invalid-all-format``. Emitted when ``__all__`` has an invalid format,
i.e. isn't a ``tuple`` or ``list``.
diff --git a/pylint/checkers/utils.py b/pylint/checkers/utils.py
index b477989bb..4b316909e 100644
--- a/pylint/checkers/utils.py
+++ b/pylint/checkers/utils.py
@@ -359,7 +359,7 @@ def is_defined_before(var_node: nodes.Name) -> bool:
defnode_scope = defnode.scope()
if isinstance(defnode_scope, (*COMP_NODE_TYPES, nodes.Lambda)):
# Avoid the case where var_node_scope is a nested function
- # FunctionDef is a Lambda until https://github.com/PyCQA/astroid/issues/291
+ # FunctionDef is a Lambda until https://github.com/pylint-dev/astroid/issues/291
if isinstance(defnode_scope, nodes.FunctionDef):
var_node_scope = var_node.scope()
if var_node_scope is not defnode_scope and isinstance(
diff --git a/pylint/checkers/variables.py b/pylint/checkers/variables.py
index 422aedf9c..0a24de370 100644
--- a/pylint/checkers/variables.py
+++ b/pylint/checkers/variables.py
@@ -2418,7 +2418,7 @@ class VariablesChecker(BaseChecker):
# the variable is not defined.
scope = node.scope()
# FunctionDef subclasses Lambda due to a curious ontology. Check both.
- # See https://github.com/PyCQA/astroid/issues/291
+ # See https://github.com/pylint-dev/astroid/issues/291
# TODO: Revisit when astroid 3.0 includes the change
if isinstance(scope, nodes.Lambda) and any(
asmt.scope().parent_of(scope) for asmt in astmts
diff --git a/pyproject.toml b/pyproject.toml
index a071ca5a1..848403f88 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -39,7 +39,7 @@ dependencies = [
"platformdirs>=2.2.0",
# Also upgrade requirements_test_min.txt.
# Pinned to dev of second minor update to allow editable installs and fix primer issues,
- # see https://github.com/PyCQA/astroid/issues/1341
+ # see https://github.com/pylint-dev/astroid/issues/1341
"astroid>=2.15.1,<=2.17.0-dev0",
"isort>=4.2.5,<6",
"mccabe>=0.6,<0.8",
diff --git a/script/check_newsfragments.py b/script/check_newsfragments.py
index 084efe223..c120977c8 100644
--- a/script/check_newsfragments.py
+++ b/script/check_newsfragments.py
@@ -39,7 +39,7 @@ VALID_FILE_TYPE = frozenset(
ISSUES_KEYWORDS = "|".join(VALID_ISSUES_KEYWORDS)
VALID_CHANGELOG_PATTERN = (
rf"(?P<description>(.*\n)*(.*\.\n))\n(?P<ref>({ISSUES_KEYWORDS})"
- r" (PyCQA/astroid)?#(?P<issue>\d+))"
+ r" (pylint-dev/astroid)?#(?P<issue>\d+))"
)
VALID_CHANGELOG_COMPILED_PATTERN: Pattern[str] = re.compile(
VALID_CHANGELOG_PATTERN, flags=re.MULTILINE
diff --git a/tests/functional/a/assigning/assigning_non_slot_4509.py b/tests/functional/a/assigning/assigning_non_slot_4509.py
index e7b8ddd4d..bb1cde6de 100644
--- a/tests/functional/a/assigning/assigning_non_slot_4509.py
+++ b/tests/functional/a/assigning/assigning_non_slot_4509.py
@@ -2,7 +2,7 @@
# Slots with base that inherits from 'Generic'
# https://github.com/pylint-dev/pylint/issues/4509
-# https://github.com/PyCQA/astroid/issues/999
+# https://github.com/pylint-dev/astroid/issues/999
from typing import Generic, TypeVar
T = TypeVar("T")
diff --git a/tests/functional/d/dataclass/dataclass_typecheck.py b/tests/functional/d/dataclass/dataclass_typecheck.py
index 4c55089ee..e66755640 100644
--- a/tests/functional/d/dataclass/dataclass_typecheck.py
+++ b/tests/functional/d/dataclass/dataclass_typecheck.py
@@ -1,6 +1,6 @@
"""Tests for dataclass attributes with basic type annotations.
-Tests for regressions from https://github.com/PyCQA/astroid/pull/1126
+Tests for regressions from https://github.com/pylint-dev/astroid/pull/1126
"""
# pylint: disable=missing-docstring,too-few-public-methods,pointless-statement,redefined-builtin, fixme
diff --git a/tests/functional/r/recursion/recursion_error_crash_astroid_623.py b/tests/functional/r/recursion/recursion_error_crash_astroid_623.py
index 662da6145..e73ff42c5 100644
--- a/tests/functional/r/recursion/recursion_error_crash_astroid_623.py
+++ b/tests/functional/r/recursion/recursion_error_crash_astroid_623.py
@@ -1,6 +1,6 @@
"""Test that a recursion error does not happen
-https://github.com/PyCQA/astroid/issues/623
+https://github.com/pylint-dev/astroid/issues/623
"""
from os import path
diff --git a/tests/functional/r/regression_02/regression_5030.py b/tests/functional/r/regression_02/regression_5030.py
index 8dd9f9942..46842dc68 100644
--- a/tests/functional/r/regression_02/regression_5030.py
+++ b/tests/functional/r/regression_02/regression_5030.py
@@ -1,5 +1,5 @@
"""Regression in astroid on ClassDef inference with two test cases.
-Fixed in https://github.com/PyCQA/astroid/pull/1181"""
+Fixed in https://github.com/pylint-dev/astroid/pull/1181"""
from typing import Tuple, Type
from typing import Dict, List, Any
diff --git a/tests/functional/r/regression_02/regression_5048.py b/tests/functional/r/regression_02/regression_5048.py
index 37b8a6104..9cf11baf7 100644
--- a/tests/functional/r/regression_02/regression_5048.py
+++ b/tests/functional/r/regression_02/regression_5048.py
@@ -1,5 +1,5 @@
"""Crash regression in astroid on Compare node inference
-Fixed in https://github.com/PyCQA/astroid/pull/1185"""
+Fixed in https://github.com/pylint-dev/astroid/pull/1185"""
# pylint: disable=missing-docstring, broad-exception-raised
diff --git a/tests/functional/r/regression_02/regression_distutil_import_error_73.py b/tests/functional/r/regression_02/regression_distutil_import_error_73.py
index ec44ca285..ddd96b65e 100644
--- a/tests/functional/r/regression_02/regression_distutil_import_error_73.py
+++ b/tests/functional/r/regression_02/regression_distutil_import_error_73.py
@@ -4,7 +4,7 @@ See https://github.com/pylint-dev/pylint/issues/73
See also:
https://github.com/pylint-dev/pylint/issues/2955
-https://github.com/PyCQA/astroid/pull/1321
+https://github.com/pylint-dev/astroid/pull/1321
"""
# pylint: disable=unused-import, deprecated-module
diff --git a/tests/functional/r/regression_02/regression_enum_1734.py b/tests/functional/r/regression_02/regression_enum_1734.py
index 06759c7d3..128ab81e5 100644
--- a/tests/functional/r/regression_02/regression_enum_1734.py
+++ b/tests/functional/r/regression_02/regression_enum_1734.py
@@ -1,6 +1,6 @@
-# Regression test for https://github.com/PyCQA/astroid/pull/1734
+# Regression test for https://github.com/pylint-dev/astroid/pull/1734
# The following should lint just fine
-# Fixed in https://github.com/PyCQA/astroid/pull/1743
+# Fixed in https://github.com/pylint-dev/astroid/pull/1743
# pylint: disable=missing-docstring,invalid-name
diff --git a/tests/functional/s/super/super_checks.py b/tests/functional/s/super/super_checks.py
index 62fc3c0e4..2c8515b12 100644
--- a/tests/functional/s/super/super_checks.py
+++ b/tests/functional/s/super/super_checks.py
@@ -99,7 +99,7 @@ class InvalidSuperChecks(BaseClass):
-# Regression for PyCQA/pylint/issues/773
+# Regression for pylint-dev/pylint/issues/773
import subprocess
# The problem was related to astroid not filtering statements
diff --git a/tests/functional/t/typing_generic.py b/tests/functional/t/typing_generic.py
index 540402bf0..66b8ce4fc 100644
--- a/tests/functional/t/typing_generic.py
+++ b/tests/functional/t/typing_generic.py
@@ -14,7 +14,7 @@ class Impl(Base[str]):
"""Impl"""
-# https://github.com/PyCQA/astroid/issues/942
+# https://github.com/pylint-dev/astroid/issues/942
Anything = TypeVar("Anything")
MoreSpecific = TypeVar("MoreSpecific", str, int)
diff --git a/tests/functional/u/unused/unused_variable.py b/tests/functional/u/unused/unused_variable.py
index 0058516c9..9dabe5b59 100644
--- a/tests/functional/u/unused/unused_variable.py
+++ b/tests/functional/u/unused/unused_variable.py
@@ -155,7 +155,7 @@ def func4():
def main(lst):
- """https://github.com/PyCQA/astroid/pull/1111#issuecomment-890367609"""
+ """https://github.com/pylint-dev/astroid/pull/1111#issuecomment-890367609"""
try:
raise ValueError
except ValueError as e: # [unused-variable]
diff --git a/tests/primer/packages_to_prime.json b/tests/primer/packages_to_prime.json
index fa1457773..34c380ecd 100644
--- a/tests/primer/packages_to_prime.json
+++ b/tests/primer/packages_to_prime.json
@@ -2,7 +2,7 @@
"astroid": {
"branch": "main",
"directories": ["astroid"],
- "url": "https://github.com/PyCQA/astroid",
+ "url": "https://github.com/pylint-dev/astroid",
"pylintrc_relpath": "pylintrc"
},
"black": {
diff --git a/tests/testutils/_primer/fixtures/message_changed/expected.txt b/tests/testutils/_primer/fixtures/message_changed/expected.txt
index 9640bed9e..676946fd2 100644
--- a/tests/testutils/_primer/fixtures/message_changed/expected.txt
+++ b/tests/testutils/_primer/fixtures/message_changed/expected.txt
@@ -2,14 +2,14 @@
-**Effect on [astroid](https://github.com/PyCQA/astroid):**
+**Effect on [astroid](https://github.com/pylint-dev/astroid):**
The following messages are now emitted:
<details>
1) locally-disabled:
*Locally disabling redefined-builtin [we added some text in the message] (W0622)*
-https://github.com/PyCQA/astroid/blob/123456789abcdef/astroid/__init__.py#L91
+https://github.com/pylint-dev/astroid/blob/123456789abcdef/astroid/__init__.py#L91
</details>
@@ -19,7 +19,7 @@ The following messages are no longer emitted:
1) locally-disabled:
*Locally disabling redefined-builtin (W0622)*
-https://github.com/PyCQA/astroid/blob/123456789abcdef/astroid/__init__.py#L91
+https://github.com/pylint-dev/astroid/blob/123456789abcdef/astroid/__init__.py#L91
</details>
diff --git a/tests/testutils/_primer/fixtures/message_changed/expected_truncated.txt b/tests/testutils/_primer/fixtures/message_changed/expected_truncated.txt
index 3912ea15b..3882b658f 100644
--- a/tests/testutils/_primer/fixtures/message_changed/expected_truncated.txt
+++ b/tests/testutils/_primer/fixtures/message_changed/expected_truncated.txt
@@ -2,18 +2,18 @@
-**Effect on [astroid](https://github.com/PyCQA/astroid):**
+**Effect on [astroid](https://github.com/pylint-dev/astroid):**
The following messages are now emitted:
<details>
1) locally-disabled:
*Locally disabling redefined-builtin [we added some text in the message] (W0622)*
-https://github.com/PyCQA/astroid/blob/123456789abcdef/astroid/__init__.py#L91
+https://github.com/pylint-dev/astroid/blob/123456789abcdef/astroid/__init__.py#L91
</details>
-The following message...
+The followi...
*This comment was truncated because GitHub allows only 525 characters in a comment.*
diff --git a/tests/testutils/_primer/fixtures/message_changed/main.json b/tests/testutils/_primer/fixtures/message_changed/main.json
index 96f0aaaef..69a42be1d 100644
--- a/tests/testutils/_primer/fixtures/message_changed/main.json
+++ b/tests/testutils/_primer/fixtures/message_changed/main.json
@@ -10,7 +10,7 @@
"column": 0,
"endLine": null,
"endColumn": null,
- "path": "tests/.pylint_primer_tests/PyCQA/astroid/astroid/__init__.py",
+ "path": "tests/.pylint_primer_tests/pylint-dev/astroid/astroid/__init__.py",
"symbol": "locally-disabled",
"message": "Locally disabling redefined-builtin (W0622)",
"message-id": "I0011"
@@ -23,7 +23,7 @@
"column": 0,
"endLine": null,
"endColumn": null,
- "path": "tests/.pylint_primer_tests/PyCQA/astroid/astroid/__init__.py",
+ "path": "tests/.pylint_primer_tests/pylint-dev/astroid/astroid/__init__.py",
"symbol": "unknown-option-value",
"message": "Unknown option value for 'disable', expected a valid pylint message and got 'Ellipsis'",
"message-id": "W0012"
diff --git a/tests/testutils/_primer/fixtures/message_changed/pr.json b/tests/testutils/_primer/fixtures/message_changed/pr.json
index 9e2eda37b..ef7e20fba 100644
--- a/tests/testutils/_primer/fixtures/message_changed/pr.json
+++ b/tests/testutils/_primer/fixtures/message_changed/pr.json
@@ -10,7 +10,7 @@
"column": 0,
"endLine": null,
"endColumn": null,
- "path": "tests/.pylint_primer_tests/PyCQA/astroid/astroid/__init__.py",
+ "path": "tests/.pylint_primer_tests/pylint-dev/astroid/astroid/__init__.py",
"symbol": "locally-disabled",
"message": "Locally disabling redefined-builtin [we added some text in the message] (W0622)",
"message-id": "I0011"
@@ -23,7 +23,7 @@
"column": 0,
"endLine": null,
"endColumn": null,
- "path": "tests/.pylint_primer_tests/PyCQA/astroid/astroid/__init__.py",
+ "path": "tests/.pylint_primer_tests/pylint-dev/astroid/astroid/__init__.py",
"symbol": "unknown-option-value",
"message": "Unknown option value for 'disable', expected a valid pylint message and got 'Ellipsis'",
"message-id": "W0012"
diff --git a/tests/testutils/_primer/fixtures/no_change/main.json b/tests/testutils/_primer/fixtures/no_change/main.json
index cd361e618..c2f34c750 100644
--- a/tests/testutils/_primer/fixtures/no_change/main.json
+++ b/tests/testutils/_primer/fixtures/no_change/main.json
@@ -10,7 +10,7 @@
"column": 0,
"endLine": null,
"endColumn": null,
- "path": "tests/.pylint_primer_tests/PyCQA/astroid/astroid/__init__.py",
+ "path": "tests/.pylint_primer_tests/pylint-dev/astroid/astroid/__init__.py",
"symbol": "locally-disabled",
"message": "Locally disabling redefined-builtin (W0622)",
"message-id": "I0011"
@@ -23,7 +23,7 @@
"column": 0,
"endLine": null,
"endColumn": null,
- "path": "tests/.pylint_primer_tests/PyCQA/astroid/astroid/__init__.py",
+ "path": "tests/.pylint_primer_tests/pylint-dev/astroid/astroid/__init__.py",
"symbol": "unknown-option-value",
"message": "Unknown option value for 'disable', expected a valid pylint message and got 'Ellipsis'",
"message-id": "W0012"
diff --git a/tests/testutils/_primer/fixtures/no_change/pr.json b/tests/testutils/_primer/fixtures/no_change/pr.json
index 96f0aaaef..69a42be1d 100644
--- a/tests/testutils/_primer/fixtures/no_change/pr.json
+++ b/tests/testutils/_primer/fixtures/no_change/pr.json
@@ -10,7 +10,7 @@
"column": 0,
"endLine": null,
"endColumn": null,
- "path": "tests/.pylint_primer_tests/PyCQA/astroid/astroid/__init__.py",
+ "path": "tests/.pylint_primer_tests/pylint-dev/astroid/astroid/__init__.py",
"symbol": "locally-disabled",
"message": "Locally disabling redefined-builtin (W0622)",
"message-id": "I0011"
@@ -23,7 +23,7 @@
"column": 0,
"endLine": null,
"endColumn": null,
- "path": "tests/.pylint_primer_tests/PyCQA/astroid/astroid/__init__.py",
+ "path": "tests/.pylint_primer_tests/pylint-dev/astroid/astroid/__init__.py",
"symbol": "unknown-option-value",
"message": "Unknown option value for 'disable', expected a valid pylint message and got 'Ellipsis'",
"message-id": "W0012"