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
4693d3fa
Commit
4693d3fa
authored
May 29, 2020
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweaks for pylint
parent
6966479f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
19 deletions
+20
-19
.pylintrc
.pylintrc
+1
-1
.travis.yml
.travis.yml
+18
-18
src/gevent/_ssl3.py
src/gevent/_ssl3.py
+1
-0
No files found.
.pylintrc
View file @
4693d3fa
[MASTER]
extension-pkg-whitelist=gevent.greenlet,gevent.libuv._corecffi,gevent.libev._corecffi,gevent.local,gevent._ident
extension-pkg-whitelist=gevent.greenlet,gevent.libuv._corecffi,gevent.libev._corecffi,gevent.l
ibev._corecffi.lib,gevent.l
ocal,gevent._ident
# Control the amount of potential inferred values when inferring a single
# object. This can help the performance when dealing with large functions or
...
...
.travis.yml
View file @
4693d3fa
...
...
@@ -286,8 +286,8 @@ jobs:
# requirements file.
install
:
pip install -U pylint
script
:
python -m pylint --limit-inference-results=1 --rcfile=.pylintrc gevent
env
:
TRAVIS_PYTHON_VERSION=3.
7
name
:
lint37
env
:
TRAVIS_PYTHON_VERSION=3.
8
name
:
Run pylint on Python
3.8
# Now the various functional test groups.
# We organize these by interpreter, rather than functional test group,
...
...
@@ -300,30 +300,30 @@ jobs:
-
&test-ares-jobs
stage
:
test
script
:
GEVENT_RESOLVER=ares python -mgevent.tests --ignore tests_that_dont_use_resolver.txt
name
:
ares27
name
:
c-ares resolver (Python 2.7)
# Run dnspython with coverage enabled, it's implemented in python whereas ares is C.
# PyPy is supported.
-
&test-dnspython-jobs
script
:
GEVENT_RESOLVER=dnspython python -mgevent.tests --coverage --ignore tests_that_dont_use_resolver.txt
name
:
dnspython
27
name
:
dnspython
resolver (Python 2.7)
# Now test the alternate backends, starting with libuv-cffi, which should be present everywhere
-
&test-libuv-jobs
script
:
GEVENT_LOOP=libuv python -mgevent.tests --coverage
name
:
libuv
27
name
:
libuv
backend (Python 2.7)
# Next the libev-cffi backend, which is only needed on CPython (default on PyPy)
-
&test-libev-jobs
script
:
GEVENT_LOOP=libev-cffi python -mgevent.tests --coverage
name
:
libev-cffi
27
name
:
libev-cffi
backend (Python 2.7)
# No compiled cython modules on CPython, using the default backend. Get coverage here.
# We should only need to run this for a single Python 2 and a Python 3
-
&test-pure-jobs
script
:
PURE_PYTHON=1 python -mgevent.tests --coverage
name
:
pure27
name
:
No Cython modules (Python 2.7)
# Run the leaktests; this seems to be extremely slow on Python 3.7
# XXX: Figure out why. Can we reproduce locally?
-
&test-leak-jobs
script
:
GEVENTTEST_LEAKCHECK=1 python -m gevent.tests --ignore tests_that_dont_do_leakchecks.txt
name
:
leak27
name
:
Checking for reference leaks (Python 2.7)
# Now, in order of the matrix, tests for particular versions.
...
...
@@ -335,19 +335,19 @@ jobs:
# 3.8
-
<<
:
*test-libuv-jobs
env
:
TRAVIS_PYTHON_VERSION=3.9
name
:
libuv
38
name
:
libuv
backend (Python 3.9)
-
<<
:
*test-libev-jobs
env
:
TRAVIS_PYTHON_VERSION=3.9
name
:
libev-cffi
38
name
:
libev-cffi
backend (Python 3.9)
-
<<
:
*test-ares-jobs
env
:
TRAVIS_PYTHON_VERSION=3.9
name
:
c-ares resolver
on Python
3.9
name
:
c-ares resolver
(Python 3.9)
-
<<
:
*test-dnspython-jobs
env
:
TRAVIS_PYTHON_VERSION=3.9
name
:
dnspython resolver
on Python
3.9
name
:
dnspython resolver
(Python 3.9)
-
<<
:
*test-pure-jobs
env
:
TRAVIS_PYTHON_VERSION=3.9
name
:
pure-Python on Python
3.9
name
:
No Cython modules (Python 3.9)
# 2.7, no-embed. Run the tests that exercise the libraries we
# linked to.
...
...
@@ -355,22 +355,22 @@ jobs:
# This job exercises both the non-embedded ares resolver
# and the non-embedded Cython libev loop.
env
:
TRAVIS_PYTHON_VERSION=2.7 GEVENTSETUP_EMBED=0 GEVENTSETUP_EV_VERIFY=3
name
:
ares27-noembed
name
:
c-ares resolver, external (Python 2.7)
# These exercise the CFFI versions.
-
<<
:
*test-libuv-jobs
env
:
TRAVIS_PYTHON_VERSION=2.7 GEVENTSETUP_EMBED=0 GEVENTSETUP_EV_VERIFY=3
name
:
libuv
27-noembed
name
:
libuv
backend, external (Python 2.7)
-
<<
:
*test-libev-jobs
env
:
TRAVIS_PYTHON_VERSION=2.7 GEVENTSETUP_EMBED=0 GEVENTSETUP_EV_VERIFY=3
name
:
libev
27-noembed
name
:
libev
backend, external (Python 2.7)
# PyPy 2.7
-
<<
:
*test-dnspython-jobs
env
:
TRAVIS_PYTHON_VERSION=pypy2.7
name
:
dnspython
pypy27
name
:
dnspython
resolver (PyPy 2.7)
-
<<
:
*test-libuv-jobs
env
:
TRAVIS_PYTHON_VERSION=pypy2.7
name
:
libuv
pypy27
name
:
libuv
backend (PyPy 2.7)
notifications
:
email
:
false
src/gevent/_ssl3.py
View file @
4693d3fa
...
...
@@ -139,6 +139,7 @@ class SSLContext(orig_SSLContext):
if
hasattr
(
orig_SSLContext
,
'minimum_version'
):
# Like the above, added in 3.7
# pylint:disable=no-member
@
orig_SSLContext
.
minimum_version
.
setter
def
minimum_version
(
self
,
value
):
super
(
orig_SSLContext
,
orig_SSLContext
).
minimum_version
.
__set__
(
self
,
value
)
...
...
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