Permalink
Browse files

flake8 vs black, part N

Also add W503 to ignore, tho, idk why this changed?
I could SWEAR my flake8s had been yelling at me
to put binary ops before 2nd line forever...?!
  • Loading branch information...
bitprophet committed May 19, 2018
1 parent 4a7929c commit efa88a944e16f8d064247fde37ecb8cbe99bd386
Showing with 4 additions and 1 deletion.
  1. +1 −1 setup.cfg
  2. +1 −0 tasks.py
  3. +1 −0 tests/_util.py
  4. +1 −0 tests/runners.py
@@ -3,7 +3,7 @@ universal = 1
[flake8]
exclude = .git,sites
ignore = E124,E125,E128,E261,E301,E302,E303
ignore = E124,E125,E128,E261,E301,E302,E303,W503
max-line-length = 79
[metadata]
@@ -50,6 +50,7 @@ def publish(
# Upload
release.upload(c, directory, index, sign, dry_run)
# Better than nothing, since we haven't solved "pretend I have some other
# task's signature" yet...
publish.__doc__ = release.publish.__doc__
@@ -357,6 +357,7 @@ def start(self):
mock_os = self.os_patcher.start()
Client = self.client_patcher.start()
sftp = Client.return_value.open_sftp.return_value
# Handle common filepath massage actions; tests will assume these.
def fake_abspath(path):
return "/local/{}".format(path)
@@ -71,6 +71,7 @@ def channel_is_closed_normally(self, remote):
def channel_is_closed_on_body_exceptions(self, remote):
chan = remote.expect()
# I.e. Remote.stop() is called within a try/finally.
# Technically is just testing invoke.Runner, but meh.
class Oops(Exception):

0 comments on commit efa88a9

Please sign in to comment.