From decedb0676871d1fdb504f943bbee941b414089c Mon Sep 17 00:00:00 2001 From: Steffen Allner Date: Thu, 21 Sep 2023 16:58:29 +0200 Subject: [PATCH] Add new linter `teyit` for deprecated assert statements. --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2089cb479d..71760bedee 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,6 +27,11 @@ repos: additional_dependencies: - flake8-coding - flake8-debugger + - repo: https://github.com/isidentical/teyit + rev: 0.4.3 + hooks: + - id: teyit + exclude: src/App/tests/fixtures/error.py # invalid syntax - repo: https://github.com/mgedmin/check-manifest rev: "0.49" hooks: