Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
25abf7ef
Commit
25abf7ef
authored
Feb 04, 2019
by
Wenzel Jakob
Browse files
flake8 fixes
parent
ccbe68b0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
setup.cfg
setup.cfg
+3
-1
tests/conftest.py
tests/conftest.py
+1
-1
No files found.
setup.cfg
View file @
25abf7ef
...
...
@@ -7,4 +7,6 @@ show_source = True
exclude = .git, __pycache__, build, dist, docs, tools, venv
ignore =
# required for pretty matrix formatting: multiple spaces after `,` and `[`
E201, E241, W504
E201, E241, W504,
# camelcase 'cPickle' imported as lowercase 'pickle'
N813
tests/conftest.py
View file @
25abf7ef
...
...
@@ -75,7 +75,7 @@ class Capture(object):
self
.
capfd
.
readouterr
()
return
self
def
__exit__
(
self
,
*
_
):
def
__exit__
(
self
,
*
args
):
self
.
out
,
self
.
err
=
self
.
capfd
.
readouterr
()
def
__eq__
(
self
,
other
):
...
...
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