Merge branch 'develop' into fk_as_value #13529
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint Python code | |
on: | |
push: | |
paths: | |
- '**.py' | |
pull_request: | |
paths: | |
- '**.py' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
# We only want to run on external PRs, since internal PRs are covered by "push" | |
# This prevents this from running twice on internal PRs | |
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
- name: Run flake8 | |
uses: julianwachholz/flake8-action@main | |
with: | |
checkName: "flake8" | |
path: "." | |
plugins: flake8-no-types | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |