diff options
author | 2019-08-05 10:06:21 -0700 | |
---|---|---|
committer | 2019-08-05 10:06:21 -0700 | |
commit | 890ef7b2c97731c16ea9d89d6e543fccb916a26b (patch) | |
tree | ce10e710927b25ed5a27d2c0ed0f769a201d7158 | |
parent | Base image: cd into cloned repo before checkout (diff) |
Pin dependencies for flake8 pre-commit hook
* Remove flake8-formatter-junit-xml dependency in the hook
-rw-r--r-- | .pre-commit-config.yaml | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 29466c8..b5f3715 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,17 +1,15 @@ repos: -- repo: https://github.com/pre-commit/pre-commit-hooks + - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.2.3 hooks: - - id: flake8 - additional_dependencies: [ - "pydocstyle<4.0", - flake8-docstrings, - flake8-bugbear, - flake8-import-order, - flake8-tidy-imports, - flake8-todo, - flake8-string-format, - flake8-formatter-junit-xml, - flake8-quotes - ] - + - id: flake8 + additional_dependencies: [ + pydocstyle ~= 4.0, + "flake8-docstrings >= 1.3.1, == 1.*", + flake8-bugbear ~= 19.3, + flake8-import-order ~= 0.18.1, + flake8-tidy-imports ~= 2.0, + flake8-todo ~= 0.7, + flake8-string-format ~= 0.2.3, + flake8-quotes ~= 2.1 + ] |