Skip to content

Commit

Permalink
ci: use latest python for pre-commit (#32)
Browse files Browse the repository at this point in the history
This PR sets python version to latest(3.12) for pre-commit
Reference:
[ADDON-75861](https://splunk.atlassian.net/browse/ADDON-75861)
  • Loading branch information
dvarasani-crest authored Oct 30, 2024
1 parent a590138 commit 3054522
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.7"
python-version: "3.12"
- uses: pre-commit/[email protected]

run_tests:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ repos:
- id: mypy
additional_dependencies: ['types-requests', "types-PyYAML"]
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
rev: 7.1.1
hooks:
- id: flake8

0 comments on commit 3054522

Please sign in to comment.