Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/julianwachholz/flake8-action
Run flake8 linter in your Python project.
https://github.com/julianwachholz/flake8-action
actions flake8 linter python python3
Last synced: about 1 month ago
JSON representation
Run flake8 linter in your Python project.
- Host: GitHub
- URL: https://github.com/julianwachholz/flake8-action
- Owner: julianwachholz
- License: mit
- Created: 2020-06-21T15:01:34.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-07-18T23:56:54.000Z (over 1 year ago)
- Last Synced: 2024-10-06T18:31:52.851Z (about 1 month ago)
- Topics: actions, flake8, linter, python, python3
- Language: JavaScript
- Homepage: https://github.com/marketplace/actions/python-flake8
- Size: 645 KB
- Stars: 29
- Watchers: 2
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# flake8-action
Run flake8 on your Python code.
## Usage
Create a workflow file in your repository:
```yaml
name: Code Qualityon:
push:
paths:
- "**.py"jobs:
lint:
name: Python Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Run flake8
uses: julianwachholz/flake8-action@v2
with:
checkName: "Python Lint"
path: path/to/files
plugins: flake8-spellcheck
config: path/to/flake8.ini
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```See the [actions tab](https://github.com/julianwachholz/flake8-action/actions) for runs of this action! :rocket: