Skip to content

Commit abd31eb

Browse files
committed
ci: fix python versions for tox
Signed-off-by: develop-cs <43383361+develop-cs@users.noreply.github.com>
1 parent 5a2611c commit abd31eb

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

.github/workflows/ci-cd.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,12 @@ jobs:
2323
- name: Set up Python version
2424
uses: actions/setup-python@v5
2525
with:
26-
python-version: '3.x'
26+
python-version: |
27+
3.9
28+
3.10
29+
3.11
30+
3.12
31+
3.13
2732
- name: Install extra dependencies
2833
run: |
2934
python -m pip install --upgrade pip

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ default_language_version:
33
python: python3
44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: v5.0.0
6+
rev: v6.0.0
77
hooks:
88
- id: check-ast
9-
- id: check-byte-order-marker
9+
- id: fix-byte-order-marker
1010
- id: check-case-conflict
1111
- id: check-docstring-first
1212
- id: check-json
@@ -26,13 +26,13 @@ repos:
2626
- id: check-added-large-files
2727
args: [--maxkb=500]
2828
- repo: https://github.com/astral-sh/ruff-pre-commit
29-
rev: v0.12.1
29+
rev: v0.12.10
3030
hooks:
3131
- id: ruff
3232
args: [--fix]
3333
- id: ruff-format
3434
- repo: https://github.com/pre-commit/mirrors-mypy
35-
rev: v1.16.1
35+
rev: v1.17.1
3636
hooks:
3737
- id: mypy
3838
args: [--config-file=pyproject.toml]
@@ -44,7 +44,7 @@ repos:
4444
# hooks:
4545
# - id: gitleaks
4646
- repo: https://github.com/pypa/pip-audit
47-
rev: v2.8.0
47+
rev: v2.9.0
4848
hooks:
4949
- id: pip-audit
5050
args: [.]

0 commit comments

Comments
 (0)