mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-11 08:03:55 +00:00
flake8 fixes
This commit is contained in:
parent
ccbe68b084
commit
25abf7efba
@ -7,4 +7,6 @@ show_source = True
|
|||||||
exclude = .git, __pycache__, build, dist, docs, tools, venv
|
exclude = .git, __pycache__, build, dist, docs, tools, venv
|
||||||
ignore =
|
ignore =
|
||||||
# required for pretty matrix formatting: multiple spaces after `,` and `[`
|
# required for pretty matrix formatting: multiple spaces after `,` and `[`
|
||||||
E201, E241, W504
|
E201, E241, W504,
|
||||||
|
# camelcase 'cPickle' imported as lowercase 'pickle'
|
||||||
|
N813
|
||||||
|
@ -75,7 +75,7 @@ class Capture(object):
|
|||||||
self.capfd.readouterr()
|
self.capfd.readouterr()
|
||||||
return self
|
return self
|
||||||
|
|
||||||
def __exit__(self, *_):
|
def __exit__(self, *args):
|
||||||
self.out, self.err = self.capfd.readouterr()
|
self.out, self.err = self.capfd.readouterr()
|
||||||
|
|
||||||
def __eq__(self, other):
|
def __eq__(self, other):
|
||||||
|
Loading…
Reference in New Issue
Block a user