repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v4.3.0
+ rev: v4.4.0
hooks:
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: trailing-whitespace
- repo: https://github.com/jorisroovers/gitlint
- rev: v0.17.0
+ rev: v0.19.1
hooks:
- id: gitlint
- repo: https://github.com/ambv/black
- rev: 22.6.0
+ rev: 23.3.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
- rev: 3.9.2
+ rev: 6.0.0
hooks:
- id: flake8
- args: ["--max-line-length=88"]
+ args: ["--max-line-length=120"]
+ additional_dependencies: [Flake8-pyproject]
- repo: https://github.com/pycqa/bandit
- rev: 1.7.4
+ rev: 1.7.5
hooks:
- id: bandit
# Bandit does not need to run on test code
exclude: tests/*
- repo: https://github.com/pycqa/pydocstyle
- rev: 6.1.1
+ rev: 6.3.0
hooks:
- id: pydocstyle