diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2020-06-20 15:13:53 -0500 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2020-06-20 15:56:19 -0500 |
| commit | 95c47a183409fabed81f078a70967f053679737e (patch) | |
| tree | 1d3376c3cb1e3dfebf8feb465ae52f24ab0ca6e4 /.pre-commit-config.yaml | |
| parent | Remove taskipy from tox & add default to parser in __determine_parser (diff) | |
| download | config-file-95c47a183409fabed81f078a70967f053679737e.zip | |
Change path, parser, and contents to be properties
Also, restore_original now raises a FileNotFoundError.
Diffstat (limited to '.pre-commit-config.yaml')
| -rw-r--r-- | .pre-commit-config.yaml | 42 |
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 |