Skip to content

Commit 8d815e4

Browse files
committed
fix lint git
1 parent a262459 commit 8d815e4

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/test_djelme.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,13 @@ permissions:
1111
jobs:
1212
lint:
1313
runs-on: ubuntu-latest
14-
container: python:3.7-slim
1514
steps:
1615
- uses: actions/checkout@v3
17-
- run: pip install tox
16+
- uses: actions/setup-python@v4
17+
with:
18+
python_version: 3.9 # must match language_version in .pre-commit-config.yaml
19+
- run: alias python${{ steps.setup-py.outputs.python-version }}=${{ steps.setup-py.outputs.python-path }}
20+
- run: pip install -U tox
1821
- run: TOXENV=lint tox
1922

2023

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ repos:
33
rev: 22.8.0
44
hooks:
55
- id: black
6-
language_version: python3.7
6+
language_version: python3.9
77
- repo: https://github.com/PyCQA/flake8
88
rev: 5.0.4
99
hooks:

0 commit comments

Comments
 (0)