CHANGES
=======

6.0.0
-----

* [ADD] pre-commit-hooks: Add pylint\_odoo hook to be used from pre-commit.yaml directly (#368)
* [REF] requirements: Bump pylint package from 2.11.1 to 2.13.5 for py3.x (#367)
* [FIX] CI: Fix pluggy error on py3.7 and running lint only in one build (#366)
* [IMP] sql-injection: Detect possible sql injections when using f-strings (#364)
* [FIX] Pinned lazy-object-proxy for Python 2.7 (#365)
* [FIX] missing-return: Incorrect check for tearDownClass (#362)

5.0.5
-----

* [FIX] OdooChecker: Discard migrations folder as odoo main module (#358)

5.0.4
-----

* Revert "[REVERT] requirements: Using pylint<2.11.0 because issue 5096 (#355)"

5.0.3
-----

* [REVERT] requirements: Using pylint<2.11.0 because issue 5096 (#355)

5.0.2
-----

* [REF] requirements: Upgrade pylint version 2.11.1 (#354)

5.0.1
-----

* [REF] manifest-version-format: Add new valid odoo v15.0 (#353)
* [REF] sql-injection: No sql-injection using constants (#351)
* [FIX] sql-injection: AttributeError: 'NoneType' object has no attribute 'parent' (#350)

5.0.0
-----

* [REF] requirements: Upgrade pylint version (#349)

4.0.0
-----

* [REF] README: Auto-update Using pylint\_odoo.messages2rst()
* [ADD] dangerous-qweb-replace-wo-priority: Consider qweb view templates (#347)
* [ADD] context-overridden: Better using kwargs instead of dictionary (#256)
* [REF] invalid-name, unused-argument: Suppress check for migrations path (#348)

3.10.0
------

* [FIX] sql-injection: Fix false positives (#344)
* [FIX] pylint\_odoo: Fix manifest\_version\_format option ignored (#346)

3.9.0
-----

* [FIX] translation-required: Skip tests folder (#345)
* [FIX] xml-syntax-error: Fix crash if a xml has syntax errors (#343)
* [REF] pylint-odoo: Add .pylintrc example (#325)
* [FIX] attribute-deprecated: Check only "Model" class' attributes (#342)
* [FIX] attribute-string-redundant: "string" of related field is taken from the referenced one (#341)
* [FIX] file-not-used: Fix false positives on Windows (#335)

3.8.0
-----

* [FIX] Add pbr to requirements (#328)
* [REF] requirements: upgrade pylint version (#320)

3.7.1
-----

* [FIX] test-folder-imported: Support all import styles (#315)
* [FIX] misc.py: Properly support python namespace package when detecting the odoo addon directory (#317)

3.7.0
-----

* [REF] README: Auto-update Using pylint\_odoo.messages2rst()
* [ADD] translation-positional-used: New check to valid the allow change the order of string formatting (#305)
* [ADD] str-format-used: Check if str.format was used in translated string (#304)
* [ADD] test-folder-imported: check if tests folder is imported in init file (#310)

3.6.0
-----

* [FIX] requirements: fix dependencies break with pip 20.3 Fix #306 (#313)
* [ADD] add compatibility to v14.0 (#312)

3.5.1
-----

* [REF] .travis.yml: Enable condition to deploy pypi
* [REF] README: Auto-update Using pylint\_odoo.messages2rst()
* [FIX] dangerous-view-replace-wo-priority: check all child tags with replace (#309)
* [ADD] pylint-odoo: add new check to maintainers key in manifest must be a list of str (#308)
* [REF] development-status-allowed: Explicitly report possible values (#301)
* [REF]  odoo-addons-relative-import: does not apply in tests/ directory (#307)
* [REF] CI: Enable py3.8 and py3.9 (#294)

3.5.0
-----

* [FIX] messages2rst: Compatible with more than 3 message items
* [REF] no-utf8-coding-comment,unnecessary-utf8-coding-comment: Using python version to enable/disable them (#292)
* [REF] po-msgstr-variables: Check if there is missing 'module:' comment (#291)

3.4.0
-----

* [REF] README: Auto-update Using pylint\_odoo.messages2rst()
* Fixing pragma: no cover position
* [ADD] po-msgstr-variables: Check if string translated can be parsed correctly

3.3.2
-----

* [REF] missing-manifest-dependency: Add openupgradelib as a whitelist. (#288)
