Skip to content

Commit

Permalink
reenable pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
pedohorse committed Dec 27, 2023
1 parent db3c54b commit 4b0185c
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 22 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: lint

on:
push:

jobs:
# pylint:
# runs-on: ubuntu-latest
#
# steps:
# - uses: actions/checkout@v3
# - name: Set up Python 3.10
# uses: actions/setup-python@v5
# with:
# python-version: '3.10'
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install -r requirements_tests.txt
# pip install pylint
# - name: Analysing the code with pylint
# run: |
# pylint `ls -R|grep .py$|xargs`

flake8:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements_tests.txt
pip install flake8
- name: Analysing the code with flake8
run: |
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
22 changes: 0 additions & 22 deletions .github/workflows/pylint.yml

This file was deleted.

0 comments on commit 4b0185c

Please sign in to comment.