Skip to content

Commit

Permalink
fix makefile url and flake8 version
Browse files Browse the repository at this point in the history
Signed-off-by: degenaro <[email protected]>
  • Loading branch information
degenaro committed May 4, 2023
1 parent 155f468 commit 1a95fdb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1a95fdb

Please sign in to comment.