2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-15 11:35:41 +00:00

CI: Add pre-commit hook to use modern testing asserts (#7126)

* Add test to ensure modern testing syntax is used

* auto-fixes for testing formats

* remove usage of depreceated assertDictContainsSubset
This commit is contained in:
Matthias Mair
2024-04-29 00:17:54 +02:00
committed by GitHub
parent d2827df3b8
commit b711291beb
22 changed files with 115 additions and 101 deletions

View File

@ -84,3 +84,7 @@ repos:
# rev: 3.0.0
# hooks:
# - id: shellcheck
- repo: https://github.com/isidentical/teyit
rev: 0.4.3
hooks:
- id: teyit