Skip to content

Create autopep8.yml

Create autopep8.yml #1

Workflow file for this run

name: Autopep8

Check failure on line 1 in .github/workflows/autopep8.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/autopep8.yml

Invalid workflow file

`workflow-call` is not a valid event name
on: [workflow-call]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade autopep8
- name: Analysing the code with autopep8
run: |
pylint $(git ls-files '*.py')