Run pre-commit autoupdate

Committed via https://github.com/asottile/all-repos
This commit is contained in:
Anthony Sottile 2019-03-21 21:09:33 -07:00
parent 06d01c8c9d
commit dc28922ccb
11 changed files with 125 additions and 101 deletions

View file

@ -33,11 +33,9 @@ def no_warnings(recwarn):
message.startswith('Not importing directory ') and
' missing __init__' in message
):
warnings.append('{}:{} {}'.format(
warning.filename,
warning.lineno,
message,
))
warnings.append(
'{}:{} {}'.format(warning.filename, warning.lineno, message),
)
assert not warnings