Add test_code.yml
This commit is contained in:
parent
70d8315539
commit
d0951c6d18
17
.github/workflow/test_code.yml
vendored
Normal file
17
.github/workflow/test_code.yml
vendored
Normal 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"
|
Loading…
x
Reference in New Issue
Block a user