Skip to content

Commit e6eaa3e

Browse files
Use stable black, use python 3.9
1 parent 8b17f1c commit e6eaa3e

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/python_style_checks.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ jobs:
2525
# The type of runner that the job will run on
2626
runs-on: ubuntu-latest
2727

28+
strategy:
29+
matrix:
30+
python-version: [3.9]
31+
2832
# Steps represent a sequence of tasks that will be executed as part of the job
2933
steps:
3034
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
@@ -33,16 +37,16 @@ jobs:
3337
- uses: actions/setup-python@v2
3438

3539
# Run black code formatter
36-
- uses: psf/black@21.4b2
40+
- uses: psf/black@stable
3741
with:
38-
args: ". --check"
42+
black_args: ". --check"
3943

4044
flake8:
4145
runs-on: ubuntu-latest
4246

4347
strategy:
4448
matrix:
45-
python-version: [3.7]
49+
python-version: [3.9]
4650

4751
steps:
4852
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)