Skip to content

Commit 3054522

Browse files
ci: use latest python for pre-commit (#32)
This PR sets python version to latest(3.12) for pre-commit Reference: [ADDON-75861](https://splunk.atlassian.net/browse/ADDON-75861)
1 parent a590138 commit 3054522

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build-test-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/checkout@v4
2222
- uses: actions/setup-python@v5
2323
with:
24-
python-version: "3.7"
24+
python-version: "3.12"
2525
- uses: pre-commit/action@v3.0.1
2626

2727
run_tests:

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ repos:
2020
- id: mypy
2121
additional_dependencies: ['types-requests', "types-PyYAML"]
2222
- repo: https://github.com/PyCQA/flake8
23-
rev: 4.0.1
23+
rev: 7.1.1
2424
hooks:
2525
- id: flake8

0 commit comments

Comments
 (0)