Skip to content

Commit

Permalink
[PyCQA migration] Upgrade links in maintenance branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Jun 14, 2023
1 parent b7d270b commit ef13c61
Show file tree
Hide file tree
Showing 22 changed files with 53 additions and 53 deletions.
2 changes: 1 addition & 1 deletion doc/data/messages/b/bad-file-encoding/details.rst
Original file line number Diff line number Diff line change
@@ -1 +1 @@
You can help us make the doc better `by contributing <https://github.com/PyCQA/pylint/issues/5953>`_ !
You can help us make the doc better `by contributing <https://github.com/pylint-dev/pylint/issues/5953>`_ !
2 changes: 1 addition & 1 deletion doc/data/messages/i/invalid-unicode-codec/details.rst
Original file line number Diff line number Diff line change
@@ -1 +1 @@
You can help us make the doc better `by contributing <https://github.com/PyCQA/pylint/issues/5953>`_ !
You can help us make the doc better `by contributing <https://github.com/pylint-dev/pylint/issues/5953>`_ !
2 changes: 1 addition & 1 deletion doc/data/messages/r/return-arg-in-generator/details.rst
Original file line number Diff line number Diff line change
@@ -1 +1 @@
You can help us make the doc better `by contributing <https://github.com/PyCQA/pylint/issues/5953>`_ !
You can help us make the doc better `by contributing <https://github.com/pylint-dev/pylint/issues/5953>`_ !
32 changes: 16 additions & 16 deletions doc/whatsnew/2/2.17/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ False Positives Fixed
- Fix a false positive for ``bad-dunder-name`` when there is a user-defined
``__index__`` method.

Closes #8613 (`#8613 <https://github.com/PyCQA/pylint/issues/8613>`_)
Closes #8613 (`#8613 <https://github.com/pylint-dev/pylint/issues/8613>`_)



Expand All @@ -51,13 +51,13 @@ Other Bug Fixes
produced by DOT printer to ensure it is not treated as field separator of
record-based nodes.

Closes #8603 (`#8603 <https://github.com/PyCQA/pylint/issues/8603>`_)
Closes #8603 (`#8603 <https://github.com/pylint-dev/pylint/issues/8603>`_)

- Fixed a crash when generating a configuration file:
``tomlkit.exceptions.TOMLKitError: Can't add a table to a dotted key``
caused by tomlkit ``v0.11.8``.

Closes #8632 (`#8632 <https://github.com/PyCQA/pylint/issues/8632>`_)
Closes #8632 (`#8632 <https://github.com/pylint-dev/pylint/issues/8632>`_)


What's new in Pylint 2.17.3?
Expand All @@ -71,41 +71,41 @@ False Positives Fixed
- Fix `unused-argument` false positive when `__new__` does not use all the
arguments of `__init__`.

Closes #3670 (`#3670 <https://github.com/PyCQA/pylint/issues/3670>`_)
Closes #3670 (`#3670 <https://github.com/pylint-dev/pylint/issues/3670>`_)

- Fix ``unused-import`` false positive for usage of ``six.with_metaclass``.

Closes #7506 (`#7506 <https://github.com/PyCQA/pylint/issues/7506>`_)
Closes #7506 (`#7506 <https://github.com/pylint-dev/pylint/issues/7506>`_)

- `logging-not-lazy` is not longer emitted for explicitly concatenated string
arguments.

Closes #8410 (`#8410 <https://github.com/PyCQA/pylint/issues/8410>`_)
Closes #8410 (`#8410 <https://github.com/pylint-dev/pylint/issues/8410>`_)

- Fix false positive for isinstance-second-argument-not-valid-type when union
types contains None.

Closes #8424 (`#8424 <https://github.com/PyCQA/pylint/issues/8424>`_)
Closes #8424 (`#8424 <https://github.com/pylint-dev/pylint/issues/8424>`_)

- Fixed `unused-import` so that it observes the `dummy-variables-rgx` option.

Closes #8500 (`#8500 <https://github.com/PyCQA/pylint/issues/8500>`_)
Closes #8500 (`#8500 <https://github.com/pylint-dev/pylint/issues/8500>`_)

- `Union` typed variables without assignment are no longer treated as
`TypeAlias`.

Closes #8540 (`#8540 <https://github.com/PyCQA/pylint/issues/8540>`_)
Closes #8540 (`#8540 <https://github.com/pylint-dev/pylint/issues/8540>`_)

- Fix false positive for ``positional-only-arguments-expected`` when a function
contains both a positional-only parameter that has a default value, and
``**kwargs``.

Closes #8555 (`#8555 <https://github.com/PyCQA/pylint/issues/8555>`_)
Closes #8555 (`#8555 <https://github.com/pylint-dev/pylint/issues/8555>`_)

- Fix false positive for ``keyword-arg-before-vararg`` when a positional-only
parameter with a default value precedes ``*args``.

Closes #8570 (`#8570 <https://github.com/PyCQA/pylint/issues/8570>`_)
Closes #8570 (`#8570 <https://github.com/pylint-dev/pylint/issues/8570>`_)



Expand All @@ -115,7 +115,7 @@ Other Bug Fixes
- Improve output of ``consider-using-generator`` message for ``min()` calls
with ``default`` keyword.

Closes #8563 (`#8563 <https://github.com/PyCQA/pylint/issues/8563>`_)
Closes #8563 (`#8563 <https://github.com/pylint-dev/pylint/issues/8563>`_)


What's new in Pylint 2.17.2?
Expand All @@ -130,18 +130,18 @@ False Positives Fixed
- now valid: ``Good2Name``, ``GoodName2``.
- still invalid: ``_1BadName``.

Closes #8485 (`#8485 <https://github.com/PyCQA/pylint/issues/8485>`_)
Closes #8485 (`#8485 <https://github.com/pylint-dev/pylint/issues/8485>`_)

- No longer consider ``Union`` as type annotation as type alias for naming
checks.

Closes #8487 (`#8487 <https://github.com/PyCQA/pylint/issues/8487>`_)
Closes #8487 (`#8487 <https://github.com/pylint-dev/pylint/issues/8487>`_)

- ``unnecessary-lambda`` no longer warns on lambdas which use its parameters in
their body (other than the final arguments), e.g.
``lambda foo: (bar if foo else baz)(foo)``.

Closes #8496 (`#8496 <https://github.com/PyCQA/pylint/issues/8496>`_)
Closes #8496 (`#8496 <https://github.com/pylint-dev/pylint/issues/8496>`_)



Expand All @@ -151,7 +151,7 @@ Other Bug Fixes
- Fix a crash in pyreverse when "/" characters are used in the output filename
e.g pyreverse -o png -p name/ path/to/project.

Closes #8504 (`#8504 <https://github.com/PyCQA/pylint/issues/8504>`_)
Closes #8504 (`#8504 <https://github.com/pylint-dev/pylint/issues/8504>`_)


What's new in Pylint 2.17.1?
Expand Down
4 changes: 2 additions & 2 deletions pylint/checkers/mapreduce_checker.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt
# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt

from __future__ import annotations

Expand Down
2 changes: 1 addition & 1 deletion pylint/config/arguments_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def options_by_section(
(section, [list of (optname, optdict, optvalue)])
"""
# TODO 3.0: Make this function private see
# https://github.com/PyCQA/pylint/pull/6665#discussion_r880143229
# https://github.com/pylint-dev/pylint/pull/6665#discussion_r880143229
# It's only used in '_get_global_options_documentation'
warnings.warn(
"options_by_section has been deprecated. It will be removed "
Expand Down
4 changes: 2 additions & 2 deletions pylint/config/configuration_mixin.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt
# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt

from __future__ import annotations

Expand Down
4 changes: 2 additions & 2 deletions pylint/config/environment_variable.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt
# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt

import warnings

Expand Down
4 changes: 2 additions & 2 deletions pylint/config/option.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt
# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt

from __future__ import annotations

Expand Down
4 changes: 2 additions & 2 deletions pylint/config/option_manager_mixin.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt
# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt


# pylint: disable=duplicate-code
Expand Down
4 changes: 2 additions & 2 deletions pylint/config/option_parser.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt
# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt

# type: ignore # Deprecated module.

Expand Down
4 changes: 2 additions & 2 deletions pylint/config/options_provider_mixin.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt
# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt

# type: ignore # Deprecated module.

Expand Down
4 changes: 2 additions & 2 deletions pylint/epylint.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# -*- vim:fenc=utf-8:ft=python:et:sw=4:ts=4:sts=4

# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt
# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt

"""Emacs and Flymake compatible Pylint.
Expand Down
2 changes: 1 addition & 1 deletion pylint/lint/pylinter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1270,7 +1270,7 @@ def _add_one_message(
msg_cat = MSG_TYPES[message_definition.msgid[0]]
self.msg_status |= MSG_TYPES_STATUS[message_definition.msgid[0]]
self.stats.increase_single_message_count(msg_cat, 1)
# TODO: 3.0 Should be removable after https://github.com/PyCQA/pylint/pull/5580
# TODO: 3.0 Should be removable after https://github.com/pylint-dev/pylint/pull/5580
self.stats.increase_single_module_message_count(
self.current_name, # type: ignore[arg-type]
msg_cat,
Expand Down
4 changes: 2 additions & 2 deletions pylint/pyreverse/vcg_printer.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt
# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt

"""Functions to generate files readable with George Sander's vcg
(Visualization of Compiler Graphs).
Expand Down
4 changes: 2 additions & 2 deletions pylint/testutils/functional_test_file.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt
# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt

__all__ = [
"FunctionalTestFile",
Expand Down
4 changes: 2 additions & 2 deletions script/fix_documentation.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt
# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt

"""Small script to fix various issues with the documentation. Used by pre-commit."""

Expand Down
4 changes: 2 additions & 2 deletions tests/config/test_deprecations.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt
# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt

"""Test for deprecation warnings in the config module."""

Expand Down
4 changes: 2 additions & 2 deletions tests/config/unittest_config.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt
# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt

"""Unit tests for the config module."""

Expand Down
2 changes: 1 addition & 1 deletion tests/functional/u/unused/unused_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def blop(self):


class WithMetaclass(six.with_metaclass(ABCMeta)):
"""Regression test for https://github.com/PyCQA/pylint/issues/7506.
"""Regression test for https://github.com/pylint-dev/pylint/issues/7506.
Requires six."""

Expand Down
4 changes: 2 additions & 2 deletions tests/test_deprecation.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt
# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt

"""Check deprecation across the codebase."""

Expand Down
6 changes: 3 additions & 3 deletions tests/test_epylint.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt
# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt

"""Test for issue https://github.com/PyCQA/pylint/issues/4286."""
"""Test for issue https://github.com/pylint-dev/pylint/issues/4286."""
# pylint: disable=redefined-outer-name
from pathlib import PosixPath

Expand Down

0 comments on commit ef13c61

Please sign in to comment.