Merge pull request #298 from fjy202/pylint

Pylint
This commit is contained in:
Andy McKay
2020-08-21 12:02:06 -07:00
committed by GitHub
2 changed files with 28 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
{
"name": "Pylint",
"description": "Lint a Python application with pylint.",
"iconName": "python",
"categories": ["Python"]
}
+22
View File
@@ -0,0 +1,22 @@
name: Pylint
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Test with pytest
run: |
pylint `ls -R|grep .py$|xargs`