Created
November 12, 2021 23:37
-
-
Save RHDZMOTA/5a8de91e9149129d5157ad5d38637765 to your computer and use it in GitHub Desktop.
This file contains hidden or 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: 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