Skip to content

Commit

Permalink
Issue 96 - Fix CI - Focus on just pylint
Browse files Browse the repository at this point in the history
Towards tokenspice#96. Fix codacy static code analysis, by switching to pure pylint. Ensure both local & remote use same .pylintrc.
  • Loading branch information
trentmc authored Dec 2, 2021
1 parent 5a0f756 commit 917a749
Show file tree
Hide file tree
Showing 5 changed files with 656 additions and 41 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Pylint Style Tests

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
python-version: [ 3.8 ]


steps:
- uses: actions/checkout@v2

- name: Set up Python {{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Pylint
run: |
pylint --rcfile .pylintrc *
Loading

0 comments on commit 917a749

Please sign in to comment.