From 352ed561f56786f18112e1e28ba68f2921c65328 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Wed, 1 Feb 2023 13:40:49 +0100 Subject: [PATCH] Upgrade pre-commit hooks --- .pre-commit-config.yaml | 12 ++++++------ click_odoo/console.py | 1 - 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 12fe222..f46d76b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,26 +1,26 @@ repos: - repo: https://github.com/psf/black - rev: 22.3.0 + rev: 23.1.0 hooks: - id: black - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.2.0 + rev: v4.4.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - id: debug-statements - repo: https://github.com/pycqa/flake8 - rev: 4.0.1 + rev: 6.0.0 hooks: - id: flake8 additional_dependencies: ["flake8-bugbear==20.1.4"] - repo: https://github.com/asottile/pyupgrade - rev: v2.32.1 + rev: v3.3.1 hooks: - id: pyupgrade args: ["--py36-plus"] -- repo: https://github.com/pre-commit/mirrors-isort - rev: v5.10.1 +- repo: https://github.com/pycqa/isort + rev: 5.12.0 hooks: - id: isort diff --git a/click_odoo/console.py b/click_odoo/console.py index 73785fd..3ed8429 100644 --- a/click_odoo/console.py +++ b/click_odoo/console.py @@ -9,7 +9,6 @@ class Shell: - shells = ["ipython", "ptpython", "bpython", "python"] @classmethod