From 1a95fdb44c0f32091d4284911a967e6cc343d20b Mon Sep 17 00:00:00 2001 From: degenaro Date: Thu, 4 May 2023 15:43:39 -0400 Subject: [PATCH] fix makefile url and flake8 version Signed-off-by: degenaro --- .pre-commit-config.yaml | 4 ++-- Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c74da9f..7db82dd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,8 +6,8 @@ repos: args: [--in-place, --parallel, --recursive, --style, .yapf-config] exclude: "(oscal|third_party)" stages: [commit] - - repo: https://gitlab.com/pycqa/flake8 - rev: 3.9.2 + - repo: https://github.com/PyCQA/flake8 + rev: 5.0.4 hooks: - id: flake8 args: [--extend-ignore, "P1,C812,C813,C814,C815,C816,W503,W605"] diff --git a/Makefile b/Makefile index a4d59c2..bdb938e 100644 --- a/Makefile +++ b/Makefile @@ -25,8 +25,8 @@ pre-commit: pre-commit-update: pre-commit autoupdate -code-format: pre-commit-update +code-format: pre-commit run yapf --all-files -code-lint: pre-commit-update +code-lint: pre-commit run flake8 --all-files \ No newline at end of file