Added pre-commit config

This commit is contained in:
Antoine Nguyen
2024-02-19 14:26:05 +01:00
parent c4f07c0b90
commit 0000e4f4a7
2 changed files with 22 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/PyCQA/pylint
rev: 'v3.0.3'
hooks:
- id: pylint
- repo: https://github.com/psf/black
rev: '24.2.0'
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-eslint
rev: 'v9.0.0-beta.0'
hooks:
- id: eslint
files: \.(js|vue)$
types: [file]
additional_dependencies:
- eslint
- eslint-plugin-vue
+2
View File
@@ -1,2 +1,4 @@
django-bower
django-debug-toolbar
pre-commit
black