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
e52414db
Commit
e52414db
authored
Mar 10, 2016
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More warning suppression for landscape/prospector.
parent
53f766fe
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
27 additions
and
0 deletions
+27
-0
.landscape.yml
.landscape.yml
+6
-0
.pylintrc
.pylintrc
+4
-0
gevent/_socket2.py
gevent/_socket2.py
+5
-0
gevent/_socket3.py
gevent/_socket3.py
+3
-0
gevent/_ssl2.py
gevent/_ssl2.py
+3
-0
gevent/_ssl3.py
gevent/_ssl3.py
+2
-0
setup.cfg
setup.cfg
+4
-0
No files found.
.landscape.yml
View file @
e52414db
...
...
@@ -31,3 +31,9 @@ ignore-patterns:
pyroma
:
run
:
true
pyflakes
:
disable
:
# F821: undefined name; caught better by pylint, where it can be
# controlled for the whole file/per-line
-
F821
.pylintrc
View file @
e52414db
...
...
@@ -24,6 +24,10 @@ disable=wrong-import-position,
global-statement,
# "from gevent import monkey; monkey.patch_all()"
multiple-statements,
# yes, we know we're doing this. don't replace one warning with another
locally-disabled,
# most of these are deferred imports
cyclic-import,
[FORMAT]
# duplicated from setup.cfg
...
...
gevent/_socket2.py
View file @
e52414db
...
...
@@ -2,6 +2,9 @@
"""
Python 2 socket module.
"""
# Our import magic sadly makes this warning useless
# pylint: disable=undefined-variable
import
time
from
gevent
import
_socketcommon
from
gevent.hub
import
PYPY
...
...
@@ -510,6 +513,8 @@ if hasattr(__socket__, 'ssl'):
def
ssl
(
sock
,
keyfile
=
None
,
certfile
=
None
):
# deprecated in 2.7.9 but still present;
# sometimes backported by distros. See ssl.py
# Note that we import gevent.ssl, not _ssl2, to get the correct
# version.
from
gevent
import
ssl
as
_sslmod
# wrap_socket is 2.7.9/backport, sslwrap_simple is older. They take
# the same arguments.
...
...
gevent/_socket3.py
View file @
e52414db
...
...
@@ -2,6 +2,9 @@
"""
Python 3 socket module.
"""
# Our import magic sadly makes this warning useless
# pylint: disable=undefined-variable
import
io
import
os
import
sys
...
...
gevent/_ssl2.py
View file @
e52414db
...
...
@@ -8,6 +8,9 @@ This module implements cooperative SSL socket wrappers.
"""
from
__future__
import
absolute_import
# Our import magic sadly makes this warning useless
# pylint: disable=undefined-variable
import
ssl
as
__ssl__
try
:
...
...
gevent/_ssl3.py
View file @
e52414db
...
...
@@ -6,6 +6,8 @@ For the documentation, refer to :mod:`ssl` module manual.
This module implements cooperative SSL socket wrappers.
"""
# Our import magic sadly makes this warning useless
# pylint: disable=undefined-variable
from
__future__
import
absolute_import
import
ssl
as
__ssl__
...
...
setup.cfg
View file @
e52414db
...
...
@@ -3,3 +3,7 @@
ignore=E702,E265,E402,E731,E266,E261,W503,E129,N801
max_line_length=160
exclude=.runtimes,.eggs,.tox,.git,build,2.6,2.7,2.7pypy,3.3,3.5,test_support.py,test_queue.py,patched_tests_setup.py,test_threading_2.py,lock_tests.py,_sslgte279.py,3.4
[flake8]
# F821: undefined name; caught better by pylint, where it can be locally disabled
ignore=F821
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