mirror of
https://github.com/THIS-IS-NOT-A-BACKUP/zspotify.git
synced 2024-11-26 09:53:17 +01:00
40cb0d901f
This reverts commit 7412abcee5
.
24 lines
542 B
YAML
24 lines
542 B
YAML
name: Pylint
|
|
|
|
# yamllint disable-line rule:truthy
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.9
|
|
- name: Setup Pylint
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install pylint pylint-exit
|
|
pip install -r requirements.txt
|
|
- name: Run Pylint
|
|
run: |
|
|
pylint $(git ls-files '*.py') || pylint-exit $?
|