From 19c1fad78a4384541ac8990ec64208bd5bf5ca9b Mon Sep 17 00:00:00 2001 From: bosd Date: Sat, 13 Jan 2024 17:09:11 +0100 Subject: [PATCH 1/2] Update flake8 autoflake --- src/.pre-commit-config.yaml.jinja | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/.pre-commit-config.yaml.jinja b/src/.pre-commit-config.yaml.jinja index 1edef7e..11d59b2 100644 --- a/src/.pre-commit-config.yaml.jinja +++ b/src/.pre-commit-config.yaml.jinja @@ -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" %} From df14ac432fd80d2ca071a1806fcc8a2eb206f963 Mon Sep 17 00:00:00 2001 From: bosd Date: Thu, 14 Nov 2024 19:08:20 +0100 Subject: [PATCH 2/2] update flake8 autoflake odoo < v15 --- src/.pre-commit-config.yaml.jinja | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/.pre-commit-config.yaml.jinja b/src/.pre-commit-config.yaml.jinja index 11d59b2..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" %}