Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
d86b1736
Commit
d86b1736
authored
Dec 11, 2017
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pylint 1.7.5 caught some extra cases and failed Travis. [skip appveyor]
parent
8b99405d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
12 deletions
+11
-12
Makefile
Makefile
+8
-9
src/gevent/_compat.py
src/gevent/_compat.py
+1
-1
src/gevent/_ffi/loop.py
src/gevent/_ffi/loop.py
+1
-1
src/gevent/libev/corecffi.py
src/gevent/libev/corecffi.py
+1
-1
No files found.
Makefile
View file @
d86b1736
...
@@ -151,20 +151,18 @@ $(PYPY):
...
@@ -151,20 +151,18 @@ $(PYPY):
$(PYPY3)
:
$(PYPY3)
:
scripts/install.sh pypy3
scripts/install.sh pypy3
PIP
?=
$(BUILD_RUNTIMES)
/versions/
$(PYTHON)
/bin/pip
develop
:
develop
:
ls
-l
$(BUILD_RUNTIMES)
/snakepit/
ls
-l
$(BUILD_RUNTIMES)
/snakepit/
echo
pip is at
`
which
$(PIP)
`
echo
python is at
`
which
$(PYTHON)
`
echo
python is at
`
which
$(PYTHON)
`
# First install a newer pip so that it can use the wheel cache
# First install a newer pip so that it can use the wheel cache
# (only needed until travis upgrades pip to 7.x; note that the 3.5
# (only needed until travis upgrades pip to 7.x; note that the 3.5
# environment uses pip 7.1 by default)
# environment uses pip 7.1 by default)
${PIP}
install
-U
pip
setuptools
python
-m
pip
install
-U
pip
setuptools
# Then start installing our deps so they can be cached. Note that use of --build-options / --global-options / --install-options
# Then start installing our deps so they can be cached. Note that use of --build-options / --global-options / --install-options
# disables the cache.
# disables the cache.
# We need wheel>=0.26 on Python 3.5. See previous revisions.
# We need wheel>=0.26 on Python 3.5. See previous revisions.
${PIP}
install
-U
-r
dev-requirements.txt
python
-m
pip
install
-U
-r
dev-requirements.txt
lint-py27
:
$(PY27)
lint-py27
:
$(PY27)
PYTHON
=
python2.7.14
PATH
=
$(BUILD_RUNTIMES)
/versions/python2.7.14/bin:
$(PATH)
make develop travis_test_linters
PYTHON
=
python2.7.14
PATH
=
$(BUILD_RUNTIMES)
/versions/python2.7.14/bin:
$(PATH)
make develop travis_test_linters
...
@@ -177,22 +175,23 @@ test-py278: $(PY278)
...
@@ -177,22 +175,23 @@ test-py278: $(PY278)
PYTHON
=
python2.7.8
PATH
=
$(BUILD_RUNTIMES)
/versions/python2.7.8/bin:
$(PATH)
make develop toxtest
PYTHON
=
python2.7.8
PATH
=
$(BUILD_RUNTIMES)
/versions/python2.7.8/bin:
$(PATH)
make develop toxtest
test-py34
:
$(PY34)
test-py34
:
$(PY34)
PYTHON
=
python3.4.7
P
IP
=
pip
P
ATH
=
$(BUILD_RUNTIMES)
/versions/python3.4.7/bin:
$(PATH)
make develop toxtest
PYTHON
=
python3.4.7
PATH
=
$(BUILD_RUNTIMES)
/versions/python3.4.7/bin:
$(PATH)
make develop toxtest
test-py35
:
$(PY35)
test-py35
:
$(PY35)
PYTHON
=
python3.5.4
P
IP
=
pip
P
ATH
=
$(BUILD_RUNTIMES)
/versions/python3.5.4/bin:
$(PATH)
make develop fulltoxtest
PYTHON
=
python3.5.4
PATH
=
$(BUILD_RUNTIMES)
/versions/python3.5.4/bin:
$(PATH)
make develop fulltoxtest
test-py36
:
$(PY36)
test-py36
:
$(PY36)
PYTHON
=
python3.6.2
P
IP
=
pip
P
ATH
=
$(BUILD_RUNTIMES)
/versions/python3.6.2/bin:
$(PATH)
make develop toxtest
PYTHON
=
python3.6.2
PATH
=
$(BUILD_RUNTIMES)
/versions/python3.6.2/bin:
$(PATH)
make develop toxtest
test-py36-libuv
:
$(PY36)
test-py36-libuv
:
$(PY36)
GEVENT_CORE_CFFI_ONLY
=
libuv make test-py36
GEVENT_CORE_CFFI_ONLY
=
libuv make test-py36
test-pypy
:
$(PYPY)
test-pypy
:
$(PYPY)
PYTHON
=
$(PYPY)
PIP
=
pip
PATH
=
$(BUILD_RUNTIMES)
/versions/pypy590/bin:
$(PATH)
make develop toxtest
ls
$(BUILD_RUNTIMES)
/versions/pypy590/bin/
PYTHON
=
$(PYPY)
PATH
=
$(BUILD_RUNTIMES)
/versions/pypy590/bin:
$(PATH)
make develop toxtest
test-pypy3
:
$(PYPY3)
test-pypy3
:
$(PYPY3)
PYTHON
=
$(PYPY3)
P
IP
=
pip
P
ATH
=
$(BUILD_RUNTIMES)
/versions/pypy3.5_590/bin:
$(PATH)
make develop toxtest
PYTHON
=
$(PYPY3)
PATH
=
$(BUILD_RUNTIMES)
/versions/pypy3.5_590/bin:
$(PATH)
make develop toxtest
test-py27-cffi
:
$(PY27)
test-py27-cffi
:
$(PY27)
GEVENT_CORE_CFFI_ONLY
=
1
PYTHON
=
python2.7.14
PATH
=
$(BUILD_RUNTIMES)
/versions/python2.7.14/bin:
$(PATH)
make develop toxtest
GEVENT_CORE_CFFI_ONLY
=
1
PYTHON
=
python2.7.14
PATH
=
$(BUILD_RUNTIMES)
/versions/python2.7.14/bin:
$(PATH)
make develop toxtest
...
...
src/gevent/_compat.py
View file @
d86b1736
...
@@ -22,7 +22,7 @@ if PY3:
...
@@ -22,7 +22,7 @@ if PY3:
else
:
else
:
import
__builtin__
# pylint:disable=import-error
import
__builtin__
# pylint:disable=import-error
string_types
=
__builtin__
.
basestring
,
string_types
=
(
__builtin__
.
basestring
,)
text_type
=
__builtin__
.
unicode
text_type
=
__builtin__
.
unicode
integer_types
=
(
int
,
__builtin__
.
long
)
integer_types
=
(
int
,
__builtin__
.
long
)
...
...
src/gevent/_ffi/loop.py
View file @
d86b1736
...
@@ -177,7 +177,7 @@ if sys.version_info[0] >= 3:
...
@@ -177,7 +177,7 @@ if sys.version_info[0] >= 3:
integer_types
=
(
int
,)
integer_types
=
(
int
,)
else
:
else
:
import
__builtin__
# pylint:disable=import-error
import
__builtin__
# pylint:disable=import-error
basestring
=
__builtin__
.
basestring
,
basestring
=
(
__builtin__
.
basestring
,)
integer_types
=
(
int
,
__builtin__
.
long
)
integer_types
=
(
int
,
__builtin__
.
long
)
...
...
src/gevent/libev/corecffi.py
View file @
d86b1736
...
@@ -124,7 +124,7 @@ if sys.version_info[0] >= 3:
...
@@ -124,7 +124,7 @@ if sys.version_info[0] >= 3:
integer_types
=
(
int
,)
integer_types
=
(
int
,)
else
:
else
:
import
__builtin__
# pylint:disable=import-error
import
__builtin__
# pylint:disable=import-error
basestring
=
__builtin__
.
basestring
,
basestring
=
(
__builtin__
.
basestring
,)
integer_types
=
(
int
,
__builtin__
.
long
)
integer_types
=
(
int
,
__builtin__
.
long
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment