Skip to content

Instantly share code, notes, and snippets.

@RHDZMOTA
Created November 12, 2021 23:37
Show Gist options
  • Save RHDZMOTA/5a8de91e9149129d5157ad5d38637765 to your computer and use it in GitHub Desktop.
Save RHDZMOTA/5a8de91e9149129d5157ad5d38637765 to your computer and use it in GitHub Desktop.
name: Check Python Style
on: [pull_request]
jobs:
build:
name: Style Check
runs-on: ubuntu-18.04
steps:
- name: clone-repo
uses: actions/checkout@v1
with:
submodules: true
- name: install-python
uses: actions/setup-python@v2
with:
python-version: '3.7.5'
- name: install-requirements
run: python -m pip install pycodestyle
- name: style-check
run: python -m pycodestyle . --max-line-length=120 --exclude venv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment