Project: Update pre-commit hooks to the latest versions

This commit is contained in:
Mike Salvatore 2022-03-31 20:10:39 -04:00
parent dba9b9a637
commit 5815941f1a
1 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
default_stages: [commit] default_stages: [commit]
repos: repos:
- repo: https://github.com/pycqa/isort - repo: https://github.com/pycqa/isort
rev: 5.8.0 rev: 5.10.1
hooks: hooks:
- id: isort - id: isort
name: isort (python) name: isort (python)
@ -12,16 +12,16 @@ repos:
name: isort (pyi) name: isort (pyi)
types: [pyi] types: [pyi]
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 20.8b1 rev: 22.3.0
hooks: hooks:
- id: black - id: black
- repo: https://gitlab.com/pycqa/flake8 - repo: https://gitlab.com/pycqa/flake8
rev: 3.9.1 rev: 4.0.1
hooks: hooks:
- id: flake8 - id: flake8
additional_dependencies: [dlint] additional_dependencies: [dlint]
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0 rev: v4.1.0
hooks: hooks:
- id: check-added-large-files - id: check-added-large-files
- id: check-case-conflict - id: check-case-conflict
@ -31,7 +31,7 @@ repos:
- id: end-of-file-fixer - id: end-of-file-fixer
- id: trailing-whitespace - id: trailing-whitespace
- repo: https://github.com/eslint/eslint - repo: https://github.com/eslint/eslint
rev: v7.24.0 rev: v8.12.0
hooks: hooks:
- id: eslint - id: eslint
args: ["monkey/monkey_island/cc/ui/src/", "--fix", "--max-warnings=0"] args: ["monkey/monkey_island/cc/ui/src/", "--fix", "--max-warnings=0"]
@ -45,7 +45,7 @@ repos:
exclude: "monkey/monkey_island/cc/ui" exclude: "monkey/monkey_island/cc/ui"
stages: [push] stages: [push]
- repo: https://github.com/swimmio/pre-commit - repo: https://github.com/swimmio/pre-commit
rev: v0.2 rev: v0.7
hooks: hooks:
- id: swimm-verify - id: swimm-verify
- repo: https://github.com/jendrikseipp/vulture - repo: https://github.com/jendrikseipp/vulture