An open API service indexing awesome lists of open source software.

https://github.com/quentinguidee/pep8-action

GitHub Action running pycodestyle to ensure PEP8 compliance.
https://github.com/quentinguidee/pep8-action

Last synced: 4 months ago
JSON representation

GitHub Action running pycodestyle to ensure PEP8 compliance.

Awesome Lists containing this project

README

        

# PEP8 Action

This GitHub Action runs `pycodestyle` to ensure the code is well formatted.

## Inputs

### `arguments`

Give arguments to the pycodestyle command.

## Outputs

### `exit-code`

- 0 = success
- 1 = fail

### `output`

Output of the pycodestyle command. Shows formatting errors.

## Example

```
- uses: actions/checkout@master
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: 'Run PEP8'
uses: quentinguidee/pep8-action@v1
with:
arguments: '--max-line-length=120'
```

You can then use a bot to comment your PR with the output.