From 275648611624c47b32fdb07c7eb3472a8f149734 Mon Sep 17 00:00:00 2001
From: Guilhem Saurel <guilhem.saurel@laas.fr>
Date: Thu, 14 Apr 2022 15:27:33 +0200
Subject: [PATCH] update tooling

---
 .pre-commit-config.yaml | 9 +++++++--
 pyproject.toml          | 6 ++----
 setup.cfg               | 2 +-
 3 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 24f0530..6b73874 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,4 +1,6 @@
 exclude: tests/test_python-syntax_error.py
+ci:
+    autoupdate_branch: 'devel'
 repos:
 -   repo: https://github.com/pre-commit/mirrors-clang-format
     rev: v13.0.1
@@ -6,18 +8,21 @@ repos:
     -   id: clang-format
         args: [-i, --style=Google]
 -   repo: https://github.com/pre-commit/pre-commit-hooks
-    rev: v4.1.0
+    rev: v4.2.0
     hooks:
-    -   id: trailing-whitespace
     -   id: check-added-large-files
     -   id: check-ast
+    -   id: check-executables-have-shebangs
+    -   id: check-json
     -   id: check-merge-conflict
     -   id: check-symlinks
     -   id: check-toml
     -   id: check-yaml
     -   id: debug-statements
+    -   id: destroyed-symlinks
     -   id: detect-private-key
     -   id: end-of-file-fixer
+    -   id: fix-byte-order-marker
     -   id: mixed-line-ending
     -   id: trailing-whitespace
 -   repo: https://github.com/psf/black
diff --git a/pyproject.toml b/pyproject.toml
index d5b38d0..1b9ae25 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,5 +1,3 @@
 [tool.black]
-exclude = "tests/test_python-syntax_error.py"
-
-[tool.isort]
-line_length = 88
+exclude = "cmake"
+extend-exclude = "tests/test_python-syntax_error.py"
diff --git a/setup.cfg b/setup.cfg
index 4155cd4..064b113 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,4 +1,4 @@
 [flake8]
+exclude = cmake,tests/test_python-syntax_error.py
 max-line-length = 88
-exclude = tests/test_python-syntax_error.py
 ignore = E226, E704, E24, E121, W504, E126, E123, W503, E203
-- 
GitLab