Skip to content

Commit c5f3bdb

Browse files
[CI] Pass pep8 again and bump Travis
1 parent 0dc6bc8 commit c5f3bdb

File tree

3 files changed

+19
-13
lines changed

3 files changed

+19
-13
lines changed

.travis.yml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,30 @@
11
sudo: false
2-
32
language: python
4-
53
cache: pip
4+
dist: xenial
65

76
matrix:
87
include:
9-
- python: 2.7
10-
env: TOXENV=py27-asn1crypto
11-
- python: 3.5
12-
env: TOXENV=py35-asn1crypto
8+
# el8
139
- python: 3.6
1410
env: TOXENV=py36-asn1crypto
11+
- python: 3.6
12+
env: TOXENV=py3pep8
13+
14+
# latest 2-series
15+
- python: 2.7
16+
env: TOXENV=py27-asn1crypto
1517
- python: 2.7
1618
env: TOXENV=py27-pyasn1
17-
- python: 3.5
18-
env: TOXENV=py35-pyasn1
19-
- python: 3.6
20-
env: TOXENV=py36-pyasn1
2119
- python: 2.7
2220
env: TOXENV=pep8
23-
- python: 3.6
21+
22+
# latest 3-series
23+
- python: 3.7
24+
env: TOXENV=py37-asn1crypto
25+
- python: 3.7
26+
env: TOXENV=py37-pyasn1
27+
- python: 3.7
2428
env: TOXENV=py3pep8
2529

2630
install:

kdcproxy/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,8 @@ def __call__(self, env, start_response):
231231
for addr in addrs + (None,):
232232
if addr is not None:
233233
# Bypass unspecified socktypes
234-
if (len(scheme) > 1 and
235-
addr[1] != self.SOCKTYPES[scheme[1]]):
234+
if len(scheme) > 1 and \
235+
addr[1] != self.SOCKTYPES[scheme[1]]:
236236
continue
237237

238238
# Create the socket

tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,5 @@ exclude = .tox,*.egg,dist,build
5757
show-source = true
5858
max-line-length = 79
5959
application-import-names = kdcproxy
60+
# N815 is camelCase names; N813 is for changing case on import
61+
ignore = N815, N813

0 commit comments

Comments
 (0)