From b3d031a913814900467358b2adf20a148bf6de1a Mon Sep 17 00:00:00 2001 From: nfnty Date: Wed, 21 Dec 2016 05:06:55 +0100 Subject: linting: pylint and flake8 --- .travis.yml | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 2bc017d3..9b194d4b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,15 @@ -language: python +dist: 'trusty' +language: 'python' python: - - "2.6" - - "2.7" - - "3.2" - - "3.3" - - "3.4" - - "3.5" - - "3.5-dev" # 3.5 development branch - - "nightly" # currently points to 3.6-dev + - '2.6' + - '2.7' + - '3.2' + - '3.3' + - '3.4' + - '3.5' -# command to install dependencies install: - - pip install pytest + - 'pip install pytest pylint flake8' -# command to run tests script: - - make test + - 'make test' -- cgit 1.4.1-2-gfad0 From 6373f321ddb318152b9a367a465fa721f415f330 Mon Sep 17 00:00:00 2001 From: nfnty Date: Fri, 23 Dec 2016 11:35:32 +0100 Subject: linting: Fix Travis CI --- .travis.yml | 4 +--- setup.py | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 9b194d4b..f9e31256 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,8 @@ dist: 'trusty' + language: 'python' python: - - '2.6' - '2.7' - - '3.2' - - '3.3' - '3.4' - '3.5' diff --git a/setup.py b/setup.py index fc724416..6e86a516 100755 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from __future__ import (absolute_import, print_function) -import distutils.core +import distutils.core # pylint: disable=import-error,no-name-in-module import os.path import ranger @@ -16,7 +16,7 @@ def _findall(directory): if __name__ == '__main__': - distutils.core.setup( + distutils.core.setup( # pylint: disable=no-member name='ranger', description='Vim-like file manager', long_description=ranger.__doc__, -- cgit 1.4.1-2-gfad0