Skip to content

Commit 5d025b9

Browse files
committed
fixes
Signed-off-by: emdneto <[email protected]>
1 parent addca86 commit 5d025b9

File tree

2 files changed

+11
-23
lines changed

2 files changed

+11
-23
lines changed

.github/workflows/templates/misc.yml.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ jobs:
5151
run: git checkout ${% raw %}{{ github.event.pull_request.head.sha }}{% endraw %}
5252
{%- endif %}
5353

54-
- name: Set up Python 3.10
54+
- name: Set up Python 3.11
5555
uses: actions/setup-python@v5
5656
with:
57-
python-version: "3.10"
57+
python-version: "3.11"
5858

5959
- name: Install tox
6060
run: pip install tox

.pre-commit-config.yaml

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,10 @@
11
repos:
2-
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
# Ruff version.
4-
rev: v0.6.9
5-
hooks:
6-
# Run the linter.
7-
- id: ruff
8-
args: ["--fix", "--show-fixes"]
9-
# Run the formatter.
10-
- id: ruff-format
11-
- repo: local
12-
hooks:
13-
- id: generate-github-workflows
14-
name: generate-github-workflows
15-
entry: tox
16-
args: ["-e", "generate-workflows"]
17-
language: python
18-
additional_dependencies:
19-
- tox
20-
types: [file]
21-
files: tox.ini
22-
pass_filenames: false
2+
- repo: https://github.com/astral-sh/ruff-pre-commit
3+
# Ruff version.
4+
rev: v0.6.9
5+
hooks:
6+
# Run the linter.
7+
- id: ruff
8+
args: ["--fix", "--show-fixes"]
9+
# Run the formatter.
10+
- id: ruff-format

0 commit comments

Comments
 (0)