项目作者: julianwachholz

项目描述 :
Run flake8 linter in your Python project.
高级语言: JavaScript
项目地址: git://github.com/julianwachholz/flake8-action.git
创建时间: 2020-06-21T15:01:34Z
项目社区:https://github.com/julianwachholz/flake8-action

开源协议:MIT License

下载



flake8-action status

flake8-action

Run flake8 on your Python code.

Usage

Create a workflow file in your repository:

  1. name: Code Quality
  2. on:
  3. push:
  4. paths:
  5. - "**.py"
  6. jobs:
  7. lint:
  8. name: Python Lint
  9. runs-on: ubuntu-latest
  10. steps:
  11. - uses: actions/checkout@v3
  12. - uses: actions/setup-python@v4
  13. with:
  14. python-version: "3.9"
  15. - name: Run flake8
  16. uses: julianwachholz/flake8-action@v2
  17. with:
  18. checkName: "Python Lint"
  19. path: path/to/files
  20. plugins: flake8-spellcheck
  21. config: path/to/flake8.ini
  22. env:
  23. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

See the actions tab for runs of this action! :rocket: