Pārlūkot izejas kodu

Merge pull request #12102 from mtnbikenc/use-python3

Use Python3 for tests
OpenShift Merge Robot 5 gadi atpakaļ
vecāks
revīzija
065feb4c3e
3 mainītis faili ar 6 papildinājumiem un 10 dzēšanām
  1. 1 2
      .travis.yml
  2. 4 4
      test-requirements.txt
  3. 1 4
      tox.ini

+ 1 - 2
.travis.yml

@@ -9,8 +9,7 @@ before_cache:
 
 language: python
 python:
-  - "2.7"
-  - "3.5"
+  - "3.6"
 
 install:
   - pip install --upgrade pip

+ 4 - 4
test-requirements.txt

@@ -2,9 +2,9 @@
 # tests with new APIs/semantics. We want to update versions deliberately.
 
 # flake8 must be listed before pylint to avoid dependency conflicts
-flake8==3.7.7
+flake8==3.7.9
 flake8-mutable==1.2.0
-flake8-print==3.1.0
-pylint==1.9.4
+flake8-print==3.1.4
+pylint==2.4.4
 setuptools-lint==0.6.0
-yamllint==1.15.0
+yamllint==1.20.0

+ 1 - 4
tox.ini

@@ -1,8 +1,6 @@
 [tox]
-minversion=2.3.1
 envlist =
-    py{27,35}-{flake8,pylint}
-    py27-{yamllint,ansible_syntax}
+    py3-{flake8,pylint,yamllint,ansible_syntax}
 skipsdist=True
 skip_missing_interpreters=True
 
@@ -18,7 +16,6 @@ setenv =
 deps =
     -rrequirements.txt
     -rtest-requirements.txt
-    py35-flake8: flake8-bugbear==17.3.0
 
 commands =
     flake8: flake8 {posargs}