Skip to content

Latest commit

 

History

History
69 lines (48 loc) · 3.2 KB

CHANGELOG.md

File metadata and controls

69 lines (48 loc) · 3.2 KB

Changelog

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 - pylint 1.4 warned about View and Model classes not having enough public methods; this is suppressed
  • #37 - fixed an infinite loop when using astroid 1.3.3+
  • #36 - no longer warning about lack of __unicode__ method on abstract model classes
  • PR #34 - prevent warning about use of super() on ModelManager classes

Version 0.5.5

  • PR #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 - better knowledge of ManyToManyField classes

Version 0.5.4

  • Improved resiliance to inference failure when Django types cannot be inferred (which can happen if Django is not on the system path

Version 0.5.3

  • Issue #25 Fixing cases where a module defines get as a method

Version 0.5.2

  • Fixed a problem where type inference could get into an infinite loop

Version 0.5.1

  • Removed usage of a Django object, as importing it caused Django to try to configure itself and thus throw an ImproperlyConfigured exception.

Version 0.5

  • Issue #7 Improved handling of Django model fields
  • Issue #10 No warning about missing unicode if the Django python3/2 compatability tools are used
  • Issue #11 Improved handling of Django form fields
  • Issue #12 Improved handling of Django ImageField and FileField objects
  • Issue #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 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 not have.

Version 0.3

New Features

  • Python3 is now supported

Bugfixes

  • __unicode__ warning on models does not appear in Python3

Version 0.2

New Features

  • Pylint now recognises BaseForm as an ancestor of Form and subclasses
  • Improved Form support

Bugfixes

  • Issue #2 - a subclass of a Model or Form also has warnings about a Meta class suppressed.
  • Issue #3 - Form and ModelForm subclasses no longer warn about Meta classes.