Skip to content

Instantly share code, notes, and snippets.

@brianv0
Created August 15, 2017 18:26
Show Gist options
  • Save brianv0/dc98d4b512c53bf82ac3b73960f6f96d to your computer and use it in GitHub Desktop.
Save brianv0/dc98d4b512c53bf82ac3b73960f6f96d to your computer and use it in GitHub Desktop.
W504 Test
def this():
"""
okay
"""
pass
def this():
r"""
okay
"""
pass
def this():
r"""
okay
"""
foo = bar # this is okay
pass
def this():
r"""
http://foobarbaz.com/foobarbazfoobarbazfoobarbazfoobarbazfoobarbaz/okay
"""
pass
def this():
# http://foobarbaz.com/foobarbazfoobarbazfoobarbazfoobarbazfoobarbaz/okay
pass
"""
okay
"""
"""
okay"""
""" okay"""
# okay
"""
http://okay
"""
""" http://okay"""
# okay
"""
1 fail
"""
"""
2 fail"""
"""3 fail"""
# 4 fail
def this():
"""
5 fail
"""
pass
def this():
u"""
6 fail
"""
pass
""" http://fail"""
"""
http://fail"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment