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.
- Host: GitHub
- URL: https://github.com/quentinguidee/pep8-action
- Owner: quentinguidee
- License: mit
- Created: 2020-12-06T20:57:49.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-11-14T09:39:31.000Z (over 3 years ago)
- Last Synced: 2024-12-27T16:47:32.468Z (5 months ago)
- Language: Shell
- Homepage: https://github.com/marketplace/actions/pep8-action
- Size: 147 KB
- Stars: 8
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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.