Skip to content

Releases: pylint-dev/pylint-django

Version 2.4.0 (06 Jan 2021)

06 Jan 09:32
Compare
Choose a tag to compare
  • Allowed configuration of the Django settings module to be used via a
    commandline argument #286 <https://github.com/PyCQA/pylint-django/issues/286>_
  • If Django settings are not specified via a commandline argument or environment
    variable, an error is issued but defaults are loaded from Django, removing the
    fatal error behaviour. #277 <https://github.com/PyCQA/pylint-django/issues/277>_
    and #243 <https://github.com/PyCQA/pylint-django/issues/243>_
  • Fixed tests to work with pylint>2.6
  • Fixed AttributeError: 'Subscript' object has no attribute 'name' error.
    Closes #284 <https://github.com/PyCQA/pylint-django/issues/284>_ (@uy-rrodriguez)
  • Pin Faker version to Prevent Asteroid Crash (James Pulec)
  • Remove Python 3.5 Support (EOL since Sept 2020 and Faker requires 3.6 anyway)
    (James Pulec)
  • Fixed reverse manager update_or_create calls (James Pulec)

Version 2.3.0 (05 Aug 2020)

06 Jan 07:57
Compare
Choose a tag to compare
  • Improvement in error message for missing-backwards-migration-callable
    (Bryan Mutai)
  • Start testing with Django 3.1 on Python 3.8
  • Better error message when Django is not configured. Closes #277

Version 2.2.0 (22 Jul 2020)

22 Jul 13:47
Compare
Choose a tag to compare
  • Rely on Django to resolve string references in ForeignKey fields. Refs #243 (Alejandro Angulo)
  • Suppress unused-argument for functions in migration modules. Fix #267
  • New checker for hard-coded auth.User. Fix #244

Version 2.1.0 (12 Jul 2020)

12 Jul 13:42
Compare
Choose a tag to compare
  • New checker to warn about missing backwards data migrations (Bryan Mutai)
  • Rename pylint_django.checkers.db_performance to
    pylint_django.checkers.migrations
  • Add URL to project Changelog for PyPI (Ville Skyttä)
  • Fix failing test suite b/c of missing CSV dialect. Fix
    #268 <https://github.com/PyCQA/pylint-django/issues/268>_
    (Alejandro Angulo)

Version 2.0.15 (14 Apr 2020)

14 Apr 08:44
Compare
Choose a tag to compare
  • Do not report error for gettext_lazy (Antonin MOREL)

Version 2.0.14 (25 Feb 2020)

25 Feb 07:47
Compare
Choose a tag to compare
  • Add support for Django 3.0 and Python 3.8 (Wayne Lambert)
  • Support ASGI. Fix #258 (Sander Maijers)

Version 2.0.13 (23 Nov 2019)

07 Jan 11:23
Compare
Choose a tag to compare
  • Suppress too-many-ancestors for class-based generic views
  • Add handler400, handler403, handler404 to good_names. Fix
    #248

Version 2.0.12 (04 Nov 2019)

04 Nov 14:00
Compare
Choose a tag to compare
  • Fix too broad suppression of unused-argument warnings for functions and methods where the first argument is named request. Now issues warnings for the rest of the arguments if they are unused. Fix #249 (Pascal Urban)
  • Pass arguments of scripts/test.sh to test_func/pytest to ease development (Pascal Urban)
  • Document behavior when ForeignKey fields are referenced as strings. Fix #241

Version 2.0.11 (10 July 2019)

31 Oct 13:53
Compare
Choose a tag to compare

Use functools.wrap to preserve leave_module info (Mohit Solanki)

Version 2.0.10 (07 July 2019), Novi Sad edition

31 Oct 13:55
Compare
Choose a tag to compare
  • Suppress no-member for ManyToManyField. Fix
    #192 and
    #237 (Pierre Chiquet)

  • Fix UnboundLocalError with ForeignKey(to=). Fix
    #232 (Sardorbek Imomaliev)