Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Removes tslint which doesn't work. Adds exclusions of the migrations folder to Python related hooks

Trenton Holmese8ddb0c42737
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index a9d48c7c4..e8a504a8d 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -43,6 +43,11 @@ repos:
rev: "v1.3.0"
hooks:
- id: yesqa
+ - repo: https://github.com/asottile/add-trailing-comma
+ rev: "v2.2.1"
+ hooks:
+ - id: add-trailing-comma
+ exclude: "(migrations)"
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
hooks:
@@ -60,11 +65,7 @@ repos:
rev: 22.1.0
hooks:
- id: black
- - repo: https://github.com/awebdeveloper/pre-commit-tslint
- rev: "0.0.2"
- hooks:
- - id: tslint
- additional_dependencies: ["[email protected]"]
+ exclude: "(migrations)"
- repo: https://github.com/pryorda/dockerfilelint-precommit-hooks
rev: "v0.1.0"
hooks: