Add test_code.yml

This commit is contained in:
jordanruthe 2021-09-11 17:27:19 -04:00 committed by GitHub
parent 70d8315539
commit d0951c6d18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

17
.github/workflow/test_code.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: test-code
on: [push, pull_request]
jobs:
lint-python-code:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- uses: ricardochaves/python-lint@v1.4.0
with:
python-root-list: "screen.py ks_includes panels"
use-pylint: false
use-pycodestyle: true
use-flake8: false
use-black: false
use-mypy: false
use-isort: false
extra-pycodestyle-options: "--ignore=E226,E301,E302,E303,E402,W503,W504 --max-line-length=80 --max-doc-length=80"