diff options
Diffstat (limited to 'ansible_collections/cisco/nxos/.pre-commit-config.yaml')
-rw-r--r-- | ansible_collections/cisco/nxos/.pre-commit-config.yaml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/ansible_collections/cisco/nxos/.pre-commit-config.yaml b/ansible_collections/cisco/nxos/.pre-commit-config.yaml index ac716f311..6db6f7ece 100644 --- a/ansible_collections/cisco/nxos/.pre-commit-config.yaml +++ b/ansible_collections/cisco/nxos/.pre-commit-config.yaml @@ -22,7 +22,7 @@ repos: - id: add-trailing-comma - repo: https://github.com/pre-commit/mirrors-prettier - rev: "v3.1.0" + rev: "v4.0.0-alpha.8" hooks: - id: prettier entry: env CI=1 bash -c "prettier --list-different . || ec=$? && prettier --loglevel=error --write . && exit $ec" @@ -33,13 +33,18 @@ repos: - prettier-plugin-toml - repo: https://github.com/PyCQA/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort name: Sort import statements using isort args: ["--filter-files"] - repo: https://github.com/psf/black - rev: 23.11.0 + rev: 23.12.1 hooks: - id: black + + - repo: https://github.com/pycqa/flake8 + rev: 7.0.0 + hooks: + - id: flake8 |