summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorHernan <hernan.grecco@gmail.com>2021-01-07 02:25:16 -0300
committerHernan <hernan.grecco@gmail.com>2021-01-07 02:25:16 -0300
commit726e7ef5d5ce9d5ff695f5eddb0a6c944f81f558 (patch)
treefbe5fe96ca7276784ff3d0bc44928402bd53506c /.pre-commit-config.yaml
parent44bb57f9fff6e69742f548fa20fe043d7bf8a3b5 (diff)
downloadpint-726e7ef5d5ce9d5ff695f5eddb0a6c944f81f558.tar.gz
Updated linter to pre-commit
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000..87c22cc
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,14 @@
+repos:
+- repo: https://github.com/ambv/black
+ rev: 20.8b1
+ hooks:
+ - id: black
+- repo: https://github.com/pre-commit/mirrors-isort
+ rev: 'v5.6.4'
+ hooks:
+ - id: isort
+- repo: https://gitlab.com/pycqa/flake8
+ rev: 3.8.4
+ hooks:
+ - id: flake8
+