From 0680543b0aa171c4518d269faf9e410f76efb055 Mon Sep 17 00:00:00 2001 From: Adam Tyson Date: Tue, 6 Dec 2022 09:09:52 +0000 Subject: [PATCH] Update .pre-commit-config.yaml (#23) --- .pre-commit-config.yaml | 64 +++++++++++++++++++++-------------------- 1 file changed, 33 insertions(+), 31 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f2e910d..5f1f059 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,32 +1,34 @@ repos: - - repo: https://github.com/pycqa/isort - rev: 5.10.1 - hooks: - - id: isort - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.1.0 - hooks: - - id: check-docstring-first - - id: check-executables-have-shebangs - - id: check-merge-conflict - - id: check-toml - - id: end-of-file-fixer - - id: mixed-line-ending - args: [--fix=lf] - - id: requirements-txt-fixer - - id: trailing-whitespace - exclude: setup.cfg # bump2version fix - - repo: https://gitlab.com/pycqa/flake8 - rev: 3.9.2 - hooks: - - id: flake8 - - repo: https://github.com/psf/black - rev: 22.3.0 - hooks: - - id: black - - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.931 - hooks: - - id: mypy - additional_dependencies: - - types-setuptools + - repo: https://github.com/pycqa/isort + rev: 5.10.1 + hooks: + - id: isort + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.3.0 + hooks: + - id: check-docstring-first + - id: check-executables-have-shebangs + - id: check-merge-conflict + - id: check-toml + - id: end-of-file-fixer + - id: mixed-line-ending + args: [--fix=lf] + - id: requirements-txt-fixer + - id: trailing-whitespace + # bump2version produces whitespace in setup.cfg, so exclude to + # not inferfere with versioning + exclude: setup.cfg + - repo: https://github.com/pycqa/flake8 + rev: 5.0.4 + hooks: + - id: flake8 + - repo: https://github.com/psf/black + rev: 22.10.0 + hooks: + - id: black + - repo: https://github.com/pre-commit/mirrors-mypy + rev: v0.990 + hooks: + - id: mypy + additional_dependencies: + - types-setuptools