pylint: fixes

This commit is contained in:
Dylan Araps 2018-04-01 08:41:01 +10:00
parent fc5f167d19
commit 8d8b616b52
2 changed files with 4 additions and 2 deletions

View File

@ -7,6 +7,9 @@ good-names=i,j,k,n,x,y,fg,bg,r,g,b,i3,r1,r2,r3,g1,g2,g3,b1,b2,b3,h,s,v
# too-many-branches:
# Disabled as it's a non-issue and only occurs in the
# process_args() function.
# too-many-statements:
# Disabled as it's a non-issue and only occurs in the
# process_args() function.
disable=inconsistent-return-statements,too-many-branches,too-many-statements
[SIMILARITIES]

View File

@ -7,13 +7,12 @@ matrix:
- os: linux
python: 3.6
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y imagemagick; fi
install:
- pip install flake8 pylint colorthief
- pip install flake8 pylint
script:
- flake8 pywal tests setup.py