mirror of
https://github.com/bndr/pipreqs.git
synced 2025-06-06 03:25:21 +00:00

Review dog is an incredible project that makes linting and formatting review a breeze by commenting inline what is wrong in a pull request. This makes the review process easier for the maintainer and also provides a clearer feedback to the contributor
21 lines
562 B
YAML
21 lines
562 B
YAML
name: flake8
|
|
|
|
on: pull_request
|
|
|
|
jobs:
|
|
flake8-lint:
|
|
runs-on: ubuntu-latest
|
|
name: Lint
|
|
steps:
|
|
- name: Check out source repository
|
|
uses: actions/checkout@v2
|
|
- name: Set up Python environment
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: "3.9"
|
|
- name: flake8 Lint
|
|
uses: reviewdog/action-flake8@v3
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
reporter: github-pr-review
|