diff --git a/src/.pre-commit-config.yaml.jinja b/src/.pre-commit-config.yaml.jinja index 1edef7e..89e6a33 100644 --- a/src/.pre-commit-config.yaml.jinja +++ b/src/.pre-commit-config.yaml.jinja @@ -3,10 +3,10 @@ {#- '<15' only affects to 14.0 #} {%- if odoo_version < 15 %} - {%- set repo_rev.autoflake = "v1.4" %} + {%- set repo_rev.autoflake = "v1.5.3" %} {%- set repo_rev.black = "22.3.0" %} {%- set repo_rev.eslint = "7.8.1" %} - {%- set repo_rev.flake8 = "3.8.3" %} + {%- set repo_rev.flake8 = "5.0.0" %} {%- set repo_rev.flake8_bugbear = "20.1.4" %} {%- set repo_rev.isort = "5.12.0" %} {%- set repo_rev.maintainer_tools = "d5fab7ee87fceee858a3d01048c78a548974d935" %} @@ -21,10 +21,10 @@ {%- set repo_rev.ruff = "v0.1.3" %} {%- set repo_rev.setuptools_odoo = "3.1.8" %} {%- elif odoo_version < 16 %} - {%- set repo_rev.autoflake = "v1.4" %} + {%- set repo_rev.autoflake = "v1.5.3" %} {%- set repo_rev.black = "22.3.0" %} - {%- set repo_rev.eslint = "7.32.0" %} - {%- set repo_rev.flake8 = "3.9.2" %} + {%- set repo_rev.eslint = "v7.32.0" %} + {%- set repo_rev.flake8 = "5.0.0" %} {%- set repo_rev.flake8_bugbear = "21.9.2" %} {%- set repo_rev.isort = "5.12.0" %} {%- set repo_rev.maintainer_tools = "d5fab7ee87fceee858a3d01048c78a548974d935" %} @@ -42,7 +42,7 @@ {%- set repo_rev.autoflake = "v1.6.1" %} {%- set repo_rev.black = "22.8.0" %} {%- set repo_rev.eslint = "8.24.0" %} - {%- set repo_rev.flake8 = "3.9.2" %} + {%- set repo_rev.flake8 = "5.0.0" %} {%- set repo_rev.flake8_bugbear = "21.9.2" %} {%- set repo_rev.isort = "5.12.0" %} {%- set repo_rev.maintainer_tools = "d5fab7ee87fceee858a3d01048c78a548974d935" %}