From 4f5e51f5b07b44d044f4946e0fe6ada9fa5e8773 Mon Sep 17 00:00:00 2001 From: Oleksandr Pavlyk Date: Tue, 15 Nov 2022 16:31:45 -0600 Subject: [PATCH] Updated versions of checks in pre-commit, use github for flake8 --- .pre-commit-config.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0381efceee..0bc6856e68 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,18 +2,18 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/PyCQA/bandit - rev: '1.7.0' + rev: '1.7.4' hooks: - id: bandit pass_filenames: false args: ["-r", "dpctl", "-lll"] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.0.1 + rev: v4.3.0 hooks: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/psf/black - rev: 22.3.0 + rev: 22.10.0 hooks: - id: black exclude: "versioneer.py|dpctl/_version.py" @@ -28,12 +28,12 @@ repos: - id: isort name: isort (pyi) types: [pyi] -- repo: https://gitlab.com/pycqa/flake8 - rev: 4.0.1 +- repo: https://github.com/pycqa/flake8 + rev: 5.0.4 hooks: - id: flake8 - repo: https://github.com/pocc/pre-commit-hooks - rev: v1.1.1 + rev: v1.3.5 hooks: - id: clang-format args: ["-i"]