Skip to content

Instantly share code, notes, and snippets.

@hamishcoleman
Last active June 15, 2018 04:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hamishcoleman/6a77aea987ff2884ad702594d853bd1a to your computer and use it in GitHub Desktop.
Save hamishcoleman/6a77aea987ff2884ad702594d853bd1a to your computer and use it in GitHub Desktop.
# Indented the way I did it
def main():
subp_cmds = []
subp_cmds['grid']['parser'].add_argument('--separate_inout', # noqa
action='store_const', const=True, default=False, # noqa
help='Show incoming and outgoing on separate lines of the grid' # noqa
)
# Indented the way the linter wanted
def main():
subp_cmds = []
subp_cmds['grid']['parser'].add_argument('--separate_inout',
action='store_const',
const=True, default=False,
help='Show incoming and outgoing'
' on separate lines of the '
'grid'
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment