mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-15 22:51:01 +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:
1 parent
d2827df3b8
commit
b711291beb
22 files changed
+115
-101
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user