Skip to content

Releases: pylint-dev/pylint-django

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)

Version 2.0.9 (26 April 2019)

31 Oct 14:04
Compare
Choose a tag to compare
  • Fix UnboundLocalError: local variable 'key_cls' referenced before assignment
    for cases when models is a python package, the to argument is a string
    that is used in this pattern app.Model and also there is some other
    bool const like null=True right after to. (Sardorbek Imomaliev)
  • Don't crash if ForeignKey field doesn't have keyword arguments Fix
    #230

Version 2.0.8 (18 April 2019)

31 Oct 14:03
Compare
Choose a tag to compare
  • Support recursive (self) ForeignKey relations. Fix
    #208 (Daniil Kharkov)