aboutsummaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2020-08-07 20:25:00 -0500
committerGitHub <noreply@github.com>2020-08-07 20:25:00 -0500
commit05dba35cab34c2524b945da0164327b7b8a1159d (patch)
treee1f263a316839c0d32a413c120a3c92426f36817 /.pre-commit-config.yaml
parentCreate python-package-ci.yml (diff)
parentFix ConfigFile default (diff)
downloadconfig-file-05dba35cab34c2524b945da0164327b7b8a1159d.zip
Merge pull request #24 from eugenetriguba/dev
v0.11.0
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml42
1 files changed, 27 insertions, 15 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 9975877..879742c 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,30 +1,42 @@
repos:
+ - repo: git@github.com:humitos/mirrors-autoflake.git
+ rev: v1.3
+ hooks:
+ - id: autoflake
+ args:
+ [
+ "--in-place",
+ "--remove-all-unused-imports",
+ "--remove-unused-variable",
+ ]
-- repo: git@github.com:humitos/mirrors-autoflake.git
- rev: v1.3
- hooks:
- - id: autoflake
- args: ['--in-place', '--remove-all-unused-imports', '--remove-unused-variable']
-
-- repo: https://github.com/asottile/seed-isort-config
+ - repo: https://github.com/asottile/seed-isort-config
rev: v1.9.4
hooks:
- - id: seed-isort-config
+ - id: seed-isort-config
-- repo: https://github.com/pre-commit/mirrors-isort
+ - repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.21
hooks:
- - id: isort
+ - id: isort
additional_dependencies:
- toml
-- repo: https://github.com/ambv/black
+ - repo: https://github.com/ambv/black
rev: stable
hooks:
- - id: black
- language_version: python3.8
+ - id: black
+
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v2.5.0
+ hooks:
+ - id: trailing-whitespace
+ - id: check-docstring-first
+ - id: check-case-conflict
+ - id: check-yaml
+ - id: check-toml
-- repo: https://github.com/pre-commit/pre-commit-hooks
+ - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v1.2.3
hooks:
- - id: flake8
+ - id: flake8