Skip to content

Commit 2a5a4ad

Browse files
committed
CI Update: MyPy
1 parent 1978f9f commit 2a5a4ad

File tree

3 files changed

+7
-14
lines changed

3 files changed

+7
-14
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ install:
1212
_python:
1313
- &python36
1414
name: "Python 3.6"
15-
python: 3.6
15+
python: "3.6"
1616
- &python37
1717
name: "Python 3.7"
18-
python: 3.7
18+
python: "3.7"
1919

2020
_helpers:
2121
- &install_cython pip install --upgrade Cython
@@ -59,7 +59,7 @@ jobs:
5959
install:
6060
- *upgrade_python_toolset
6161
- *install_deps
62-
- pip install --upgrade "pylint > 2.1"
62+
- pip install --upgrade "pylint > 2.2"
6363
script:
6464
- pylint advanced_descriptors
6565
- <<: *static_analysis
@@ -74,7 +74,7 @@ jobs:
7474
install:
7575
- *upgrade_python_toolset
7676
- *install_deps
77-
- pip install --upgrade "mypy >= 0.630"
77+
- pip install --upgrade "mypy >= 0.660"
7878
script:
7979
- mypy --strict advanced_descriptors
8080

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
pip install -U pylint
2525
pylint -f msvs advanced_descriptors
2626
displayName: 'PyLint'
27-
27+
2828
- job: 'MyPy'
2929
pool:
3030
vmIMage: 'VS2017-Win2016'

tox.ini

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ deps =
2020
pytest-cov
2121
pytest-html
2222
pytest-sugar
23-
py{34,35,36,37}-nocov: Cython
23+
py{36,37}-nocov: Cython
2424
-r{toxinidir}/CI_REQUIREMENTS.txt
2525

2626
commands =
@@ -44,13 +44,6 @@ commands =
4444
[testenv:venv]
4545
commands = {posargs:}
4646

47-
[tox:travis]
48-
3.4 = py34,
49-
3.5 = py35,
50-
3.6 = py36,
51-
3.7 = py37,
52-
pypy3 = install, pypy3,
53-
5447
[testenv:pep8]
5548
deps =
5649
flake8
@@ -134,6 +127,6 @@ commands =
134127

135128
[testenv:mypy]
136129
deps =
137-
mypy>=0.630
130+
mypy>=0.660
138131
-r{toxinidir}/CI_REQUIREMENTS.txt
139132
commands = mypy --strict advanced_descriptors

0 commit comments

Comments
 (0)