Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit dd7a6f4

Browse files
fix commands
1 parent 2202b3f commit dd7a6f4

File tree

3 files changed

+14
-17
lines changed

3 files changed

+14
-17
lines changed

.github/workflows/pylint.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,10 @@ jobs:
2020
runs-on: ubuntu-latest
2121
strategy:
2222
matrix:
23-
# python-version: [ '3.x', 'pypy-3.7', 'pypy-3.8' ]
24-
python-version: ["3.8", "3.9", "3.10"]
25-
name: Python ${{ matrix.python-version }} sample
23+
python-version: [ "3.8", "3.9", "3.10" ]
2624
steps:
2725
- uses: actions/checkout@v2
28-
- name: Set up Python
26+
- name: Set up Python ${{ matrix.python-version }}
2927
uses: actions/setup-python@v2
3028
with:
3129
python-version: ${{ matrix.python-version }}
@@ -36,4 +34,5 @@ jobs:
3634
python -m pip install --upgrade pip
3735
pip install pylint
3836
- name: Analysing the code with pylint
39-
- run: pylint ./examples/*/app.py ./examples/*/*
37+
- run: |
38+
pylint ./examples/*/app.py ./examples/*/*

examples/lambda_api/.github/workflows/pylint.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,17 @@ name: Execute the pylint analysis
1313
# push: # Triggers on each pushed commit
1414
# branches:
1515
# - 'master'
16-
on: [push]
16+
on: [ push ]
1717

1818
jobs:
1919
build:
2020
runs-on: ubuntu-latest
2121
strategy:
2222
matrix:
23-
# python-version: [ '3.x', 'pypy-3.7', 'pypy-3.8' ]
24-
python-version: ["3.8", "3.9", "3.10"]
25-
name: Python ${{ matrix.python-version }} sample
23+
python-version: [ "3.8", "3.9", "3.10" ]
2624
steps:
2725
- uses: actions/checkout@v2
28-
- name: Set up Python
26+
- name: Set up Python ${{ matrix.python-version }}
2927
uses: actions/setup-python@v2
3028
with:
3129
python-version: ${{ matrix.python-version }}
@@ -36,4 +34,5 @@ jobs:
3634
python -m pip install --upgrade pip
3735
pip install pylint
3836
- name: Analysing the code with pylint
39-
run: pylint app.py lambda_app tests
37+
run: |
38+
pylint app.py lambda_app tests

examples/lambda_sqs/.github/workflows/pylint.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,17 @@ name: Execute the pylint analysis
1313
# push: # Triggers on each pushed commit
1414
# branches:
1515
# - 'master'
16-
on: [push]
16+
on: [ push ]
1717

1818
jobs:
1919
build:
2020
runs-on: ubuntu-latest
2121
strategy:
2222
matrix:
23-
# python-version: [ '3.x', 'pypy-3.7', 'pypy-3.8' ]
24-
python-version: ["3.8", "3.9", "3.10"]
25-
name: Python ${{ matrix.python-version }} sample
23+
python-version: [ "3.8", "3.9", "3.10" ]
2624
steps:
2725
- uses: actions/checkout@v2
28-
- name: Set up Python
26+
- name: Set up Python ${{ matrix.python-version }}
2927
uses: actions/setup-python@v2
3028
with:
3129
python-version: ${{ matrix.python-version }}
@@ -36,4 +34,5 @@ jobs:
3634
python -m pip install --upgrade pip
3735
pip install pylint
3836
- name: Analysing the code with pylint
39-
run: pylint app.py lambda_app tests
37+
run: |
38+
pylint app.py lambda_app tests

0 commit comments

Comments
 (0)