Skip to content

Commit

Permalink
[doc] Avoid more redirections in the links (PyCQA => pylint-dev)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Oct 9, 2024
1 parent 1d7c738 commit a0f3b83
Show file tree
Hide file tree
Showing 11 changed files with 43 additions and 43 deletions.
62 changes: 31 additions & 31 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -465,58 +465,58 @@ Version 0.7.4
- `#88 <https://github.com/pylint-dev/pylint-django/pull/88>`__ Fixed builds
with Django 1.10 (thanks to
`federicobond <https://github.com/federicobond>`__)
- `#91 <https://github.com/PyCQA/pylint-django/pull/91>`__ Fixed race
- `#91 <https://github.com/pylint-dev/pylint-django/pull/91>`__ Fixed race
condition when running with pylint parallel execution mode (thanks to
`jeremycarroll <https://github.com/jeremycarroll>`__)
- `#64 <https://github.com/PyCQA/pylint-django/issues/64>`__ "Meta is
- `#64 <https://github.com/pylint-dev/pylint-django/issues/64>`__ "Meta is
old style class" now suppressed on BaseSerializer too (thanks to
`unklphil <https://github.com/unklphil>`__)
- `#70 <https://github.com/PyCQA/pylint-django/pull/70>`__ Updating to
- `#70 <https://github.com/pylint-dev/pylint-django/pull/70>`__ Updating to
handle newer pylint/astroid versions (thanks to
`iXce <https://github.com/iXce>`__)

Version 0.7.2
-------------

- `#76 <https://github.com/PyCQA/pylint-django/pull/76>`__ Better
- `#76 <https://github.com/pylint-dev/pylint-django/pull/76>`__ Better
handling of mongoengine querysetmanager
- `#73 <https://github.com/PyCQA/pylint-django/pull/73>`__
`#72 <https://github.com/PyCQA/pylint-django/issues/72>`__ Make package
- `#73 <https://github.com/pylint-dev/pylint-django/pull/73>`__
`#72 <https://github.com/pylint-dev/pylint-django/issues/72>`__ Make package
zip safe to help fix some path problems
- `#68 <https://github.com/PyCQA/pylint-django/pull/68>`__ Suppressed
- `#68 <https://github.com/pylint-dev/pylint-django/pull/68>`__ Suppressed
invalid constant warning for "app\_name" in urls.py
- `#67 <https://github.com/PyCQA/pylint-django/pull/67>`__ Fix
- `#67 <https://github.com/pylint-dev/pylint-django/pull/67>`__ Fix
view.args and view.kwargs
- `#66 <https://github.com/PyCQA/pylint-django/issues/66>`__ accessing
- `#66 <https://github.com/pylint-dev/pylint-django/issues/66>`__ accessing
\_meta no longer causes a protected-access warning as this is a
public API as of Django 1.8
- `#65 <https://github.com/PyCQA/pylint-django/pull/65>`__ Add support
- `#65 <https://github.com/pylint-dev/pylint-django/pull/65>`__ Add support
of mongoengine module.
- `#59 <https://github.com/PyCQA/pylint-django/pull/59>`__ Silence
- `#59 <https://github.com/pylint-dev/pylint-django/pull/59>`__ Silence
old-style-class for widget Meta

Version 0.7.1
-------------

- `#52 <https://github.com/PyCQA/pylint-django/issues/52>`__ - Fixed
- `#52 <https://github.com/pylint-dev/pylint-django/issues/52>`__ - Fixed
stupid mistake when using versioninfo

Version 0.7
-----------

- `#51 <https://github.com/PyCQA/pylint-django/issues/51>`__ - Fixed
- `#51 <https://github.com/pylint-dev/pylint-django/issues/51>`__ - Fixed
compatibility with pylint 1.5 / astroid 1.4.1

Version 0.6.1
-------------

- `#43 <https://github.com/PyCQA/pylint-django/issues/43>`__ - Foreign
- `#43 <https://github.com/pylint-dev/pylint-django/issues/43>`__ - Foreign
key ID access (``somefk_id``) does not raise an 'attribute not found'
warning
- `#31 <https://github.com/PyCQA/pylint-django/issues/31>`__ - Support
- `#31 <https://github.com/pylint-dev/pylint-django/issues/31>`__ - Support
for custom model managers (thanks
`smirolo <https://github.com/smirolo>`__)
- `#48 <https://github.com/PyCQA/pylint-django/pull/48>`__ - Added
- `#48 <https://github.com/pylint-dev/pylint-django/pull/48>`__ - Added
support for django-restframework (thanks
`mbertolacci <https://github.com/mbertolacci>`__)

Expand All @@ -526,25 +526,25 @@ Version 0.6
- Pylint 1.4 dropped support for Python 2.6, therefore a constraint is
added that pylint-django will only work with Python2.6 if pylint<=1.3
is installed
- `#40 <https://github.com/PyCQA/pylint-django/issues/40>`__ - pylint
- `#40 <https://github.com/pylint-dev/pylint-django/issues/40>`__ - pylint
1.4 warned about View and Model classes not having enough public
methods; this is suppressed
- `#37 <https://github.com/PyCQA/pylint-django/issues/37>`__ - fixed an
- `#37 <https://github.com/pylint-dev/pylint-django/issues/37>`__ - fixed an
infinite loop when using astroid 1.3.3+
- `#36 <https://github.com/PyCQA/pylint-django/issues/36>`__ - no
- `#36 <https://github.com/pylint-dev/pylint-django/issues/36>`__ - no
longer warning about lack of ``__unicode__`` method on abstract model
classes
- `PR #34 <https://github.com/PyCQA/pylint-django/pull/34>`__ - prevent
- `PR #34 <https://github.com/pylint-dev/pylint-django/pull/34>`__ - prevent
warning about use of ``super()`` on ModelManager classes

Version 0.5.5
-------------

- `PR #27 <https://github.com/PyCQA/pylint-django/pull/27>`__ - better
- `PR #27 <https://github.com/pylint-dev/pylint-django/pull/27>`__ - better
``ForeignKey`` transforms, which now work when of the form
``othermodule.ModelClass``. This also fixes a problem where an
inferred type would be ``_Yes`` and pylint would fail
- `PR #28 <https://github.com/PyCQA/pylint-django/pull/28>`__ - better
- `PR #28 <https://github.com/pylint-dev/pylint-django/pull/28>`__ - better
knowledge of ``ManyToManyField`` classes

Version 0.5.4
Expand All @@ -556,7 +556,7 @@ Version 0.5.4
Version 0.5.3
-------------

- `Issue #25 <https://github.com/PyCQA/pylint-django/issues/25>`__
- `Issue #25 <https://github.com/pylint-dev/pylint-django/issues/25>`__
Fixing cases where a module defines ``get`` as a method

Version 0.5.2
Expand All @@ -574,20 +574,20 @@ Version 0.5.1
Version 0.5
-----------

- `Issue #7 <https://github.com/PyCQA/pylint-django/issues/7>`__
- `Issue #7 <https://github.com/pylint-dev/pylint-django/issues/7>`__
Improved handling of Django model fields
- `Issue #10 <https://github.com/PyCQA/pylint-django/issues/10>`__ No
- `Issue #10 <https://github.com/pylint-dev/pylint-django/issues/10>`__ No
warning about missing **unicode** if the Django python3/2
compatibility tools are used
- `Issue #11 <https://github.com/PyCQA/pylint-django/issues/11>`__
- `Issue #11 <https://github.com/pylint-dev/pylint-django/issues/11>`__
Improved handling of Django form fields
- `Issue #12 <https://github.com/PyCQA/pylint-django/issues/12>`__
- `Issue #12 <https://github.com/pylint-dev/pylint-django/issues/12>`__
Improved handling of Django ImageField and FileField objects
- `Issue #14 <https://github.com/PyCQA/pylint-django/issues/14>`__
- `Issue #14 <https://github.com/pylint-dev/pylint-django/issues/14>`__
Models which do not define **unicode** but whose parents do now have
a new error (W5103) instead of incorrectly warning about no
**unicode** being present.
- `Issue #21 <https://github.com/PyCQA/pylint-django/issues/21>`__
- `Issue #21 <https://github.com/pylint-dev/pylint-django/issues/21>`__
``ForeignKey`` and ``OneToOneField`` fields on models are replaced
with instance of the type they refer to in the AST, which allows
pylint to generate correct warnings about attributes they may or may
Expand All @@ -605,9 +605,9 @@ Version 0.2
- Pylint now recognises ``BaseForm`` as an ancestor of ``Form`` and
subclasses
- Improved ``Form`` support
- `Issue #2 <https://github.com/PyCQA/pylint-django/issues/2>`__ - a
- `Issue #2 <https://github.com/pylint-dev/pylint-django/issues/2>`__ - a
subclass of a ``Model`` or ``Form`` also has warnings about a
``Meta`` class suppressed.
- `Issue #3 <https://github.com/PyCQA/pylint-django/issues/3>`__ -
- `Issue #3 <https://github.com/pylint-dev/pylint-django/issues/3>`__ -
``Form`` and ``ModelForm`` subclasses no longer warn about ``Meta``
classes.
2 changes: 1 addition & 1 deletion pylint_django/augmentations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def ignore_import_warnings_for_related_fields(orig_method, self, node):
new_things[name] = stmts

# ScopeConsumer changed between pylint 2.12 and 2.13
# see https://github.com/PyCQA/pylint/issues/5970#issuecomment-1078778393
# see https://github.com/pylint-dev/pylint/issues/5970#issuecomment-1078778393
if hasattr(consumer, "consumed_uncertain"):
# this is pylint >= 2.13, and the ScopeConsumer tuple has an additional field
sc_args = (new_things, consumer.consumed, consumer.consumed_uncertain, consumer.scope_type)
Expand Down
2 changes: 1 addition & 1 deletion pylint_django/checkers/foreign_key_strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def open(self):
# Django is configured explicitly, and will use some basic defaults in that
# case. However, as this is a WARNING not a FATAL, the error must be raised
# with an AST node - only F and R messages are scope exempt (see
# https://github.com/PyCQA/pylint/blob/master/pylint/constants.py#L24)
# https://github.com/pylint-dev/pylint/blob/master/pylint/constants.py#L24)

# However, testing to see if Django is configured happens in `open()`
# before any modules are inspected, as Django needs to be configured with
Expand Down
2 changes: 1 addition & 1 deletion pylint_django/checkers/json_response.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) 2018 Alexander Todorov <[email protected]>

# Licensed under the GPL 2.0: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint-django/blob/master/LICENSE
# For details: https://github.com/pylint-dev/pylint-django/blob/master/LICENSE
"""
Various suggestions about JSON http responses
"""
Expand Down
2 changes: 1 addition & 1 deletion pylint_django/checkers/migrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Copyright (c) 2020 Bryan Mutai <[email protected]>

# Licensed under the GPL 2.0: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint-django/blob/master/LICENSE
# For details: https://github.com/pylint-dev/pylint-django/blob/master/LICENSE
"""
Various suggestions around migrations. Disabled by default! Enable with
pylint --load-plugins=pylint_django.checkers.migrations
Expand Down
2 changes: 1 addition & 1 deletion pylint_django/checkers/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def visit_classdef(self, node):
return

# if the Django compatibility decorator is used then we don't emit a warning
# see https://github.com/PyCQA/pylint-django/issues/10
# see https://github.com/pylint-dev/pylint-django/issues/10
if _has_python_2_unicode_compatible_decorator(node):
return

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
Checks that PyLint correctly handles string foreign keys
https://github.com/PyCQA/pylint-django/issues/243
https://github.com/pylint-dev/pylint-django/issues/243
"""
# pylint: disable=missing-docstring, hard-coded-auth-user
from django.db import models
Expand Down
2 changes: 1 addition & 1 deletion pylint_django/tests/input/migrations/0002_new_column.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
default value on a large table leads to DB performance issues.
See:
https://github.com/PyCQA/pylint-django/issues/118 and
https://github.com/pylint-dev/pylint-django/issues/118 and
https://docs.djangoproject.com/en/2.0/topics/migrations/#postgresql
> ... adding columns with default values will cause a full rewrite of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
"""
Checks that Pylint does not crash with ForeignKey string reference pointing to model
in module of models package. See
https://github.com/PyCQA/pylint-django/issues/232
https://github.com/pylint-dev/pylint-django/issues/232
Note: the no-member disable is here b/c pylint-django doesn't know how to
load models.author.Author. When pylint-django tries to load models referenced
by a single string it assumes they are found in the same module it is inspecting.
Hence it can't find the Author class here so it tells us it doesn't have an
'id' attribute. Also see:
https://github.com/PyCQA/pylint-django/issues/232#issuecomment-495242695
https://github.com/pylint-dev/pylint-django/issues/232#issuecomment-495242695
"""
# pylint: disable=missing-docstring, no-member
from django.db import models
Expand Down
2 changes: 1 addition & 1 deletion pylint_django/transforms/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def fake_module_builder():
Build a fake module to use within transformations.
@package_name is a parameter from the outer scope b/c according to
the docs this can't receive any parameters.
http://pylint.pycqa.org/projects/astroid/en/latest/extending.html?highlight=MANAGER#module-extender-transforms
https://pylint.readthedocs.io/projects/astroid/en/latest/extending.html#module-extender-transforms
"""
transforms_dir = os.path.join(os.path.dirname(__file__), "transforms")
transformed_name = re.sub(r"\.", "_", package_name)
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ deps =
django50: Django>=5.0,<5.1
django51: Django>=5.1,<5.2
django-main: Django
django-main: git+https://github.com/pycqa/astroid@main
django-main: git+https://github.com/pycqa/pylint@main
django-main: git+https://github.com/pylint-dev/astroid@main
django-main: git+https://github.com/pylint-dev/pylint@main
setenv =
PIP_DISABLE_PIP_VERSION_CHECK = 1
PYTHONPATH = .
Expand Down

0 comments on commit a0f3b83

Please sign in to comment.