Merge pull request #1206 from Noah-20/style-fixes

Style fixes in comments
pull/1205/head
Siddharth Dushantha 3 years ago committed by GitHub
commit aef27116e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -64,7 +64,7 @@ class SherlockFuturesSession(FuturesSession):
kwargs -- Keyword arguments. kwargs -- Keyword arguments.
Return Value: Return Value:
N/A Nothing.
""" """
resp.elapsed = monotonic() - start resp.elapsed = monotonic() - start
@ -532,7 +532,7 @@ def main():
f"You are running version {local_version}. Version {remote_version} is available at https://git.io/sherlock") f"You are running version {local_version}. Version {remote_version} is available at https://git.io/sherlock")
except Exception as error: except Exception as error:
print(f"A problem occured while checking for an update: {error}") print(f"A problem occurred while checking for an update: {error}")
# Argument check # Argument check

@ -17,7 +17,7 @@ class SherlockDetectTests(SherlockBaseTest):
self -- This object. self -- This object.
Return Value: Return Value:
N/A. Nothing.
Will trigger an assert if detection mechanism did not work as expected. Will trigger an assert if detection mechanism did not work as expected.
""" """
@ -44,7 +44,7 @@ class SherlockDetectTests(SherlockBaseTest):
self -- This object. self -- This object.
Return Value: Return Value:
N/A. Nothing.
Will trigger an assert if detection mechanism did not work as expected. Will trigger an assert if detection mechanism did not work as expected.
""" """
@ -71,7 +71,7 @@ class SherlockDetectTests(SherlockBaseTest):
self -- This object. self -- This object.
Return Value: Return Value:
N/A. Nothing.
Will trigger an assert if detection mechanism did not work as expected. Will trigger an assert if detection mechanism did not work as expected.
""" """
@ -98,7 +98,7 @@ class SherlockDetectTests(SherlockBaseTest):
self -- This object. self -- This object.
Return Value: Return Value:
N/A. Nothing.
Will trigger an assert if detection mechanism did not work as expected. Will trigger an assert if detection mechanism did not work as expected.
""" """
@ -125,7 +125,7 @@ class SherlockDetectTests(SherlockBaseTest):
self -- This object. self -- This object.
Return Value: Return Value:
N/A. Nothing.
Will trigger an assert if detection mechanism did not work as expected. Will trigger an assert if detection mechanism did not work as expected.
""" """
@ -152,7 +152,7 @@ class SherlockDetectTests(SherlockBaseTest):
self -- This object. self -- This object.
Return Value: Return Value:
N/A. Nothing.
Will trigger an assert if detection mechanism did not work as expected. Will trigger an assert if detection mechanism did not work as expected.
""" """
@ -181,7 +181,7 @@ class SherlockSiteCoverageTests(SherlockBaseTest):
self -- This object. self -- This object.
Return Value: Return Value:
N/A. Nothing.
Will trigger an assert if detection mechanism did not work as expected. Will trigger an assert if detection mechanism did not work as expected.
""" """
@ -199,7 +199,7 @@ class SherlockSiteCoverageTests(SherlockBaseTest):
self -- This object. self -- This object.
Return Value: Return Value:
N/A. Nothing.
Will trigger an assert if detection mechanism did not work as expected. Will trigger an assert if detection mechanism did not work as expected.
""" """
@ -217,7 +217,7 @@ class SherlockSiteCoverageTests(SherlockBaseTest):
self -- This object. self -- This object.
Return Value: Return Value:
N/A. Nothing.
Will trigger an assert if detection mechanism did not work as expected. Will trigger an assert if detection mechanism did not work as expected.
""" """
@ -235,7 +235,7 @@ class SherlockSiteCoverageTests(SherlockBaseTest):
self -- This object. self -- This object.
Return Value: Return Value:
N/A. Nothing.
Will trigger an assert if detection mechanism did not work as expected. Will trigger an assert if detection mechanism did not work as expected.
""" """
@ -253,7 +253,7 @@ class SherlockSiteCoverageTests(SherlockBaseTest):
self -- This object. self -- This object.
Return Value: Return Value:
N/A. Nothing.
Will trigger an assert if detection mechanism did not work as expected. Will trigger an assert if detection mechanism did not work as expected.
""" """
@ -271,7 +271,7 @@ class SherlockSiteCoverageTests(SherlockBaseTest):
self -- This object. self -- This object.
Return Value: Return Value:
N/A. Nothing.
Will trigger an assert if detection mechanism did not work as expected. Will trigger an assert if detection mechanism did not work as expected.
""" """
@ -288,7 +288,7 @@ class SherlockSiteCoverageTests(SherlockBaseTest):
self -- This object. self -- This object.
Return Value: Return Value:
N/A. Nothing.
Will trigger an assert if we do not have total coverage. Will trigger an assert if we do not have total coverage.
""" """

@ -23,7 +23,7 @@ class SherlockBaseTest(unittest.TestCase):
self -- This object. self -- This object.
Return Value: Return Value:
N/A. Nothing.
""" """
#This ignores the ResourceWarning from an unclosed SSLSocket. #This ignores the ResourceWarning from an unclosed SSLSocket.
@ -97,7 +97,7 @@ class SherlockBaseTest(unittest.TestCase):
or non-existence. or non-existence.
Return Value: Return Value:
N/A. Nothing.
Will trigger an assert if Username does not have the expected Will trigger an assert if Username does not have the expected
existence state. existence state.
""" """
@ -154,7 +154,7 @@ class SherlockBaseTest(unittest.TestCase):
or non-existence. or non-existence.
Return Value: Return Value:
N/A. Nothing.
Runs tests on all sites using the indicated detection algorithm Runs tests on all sites using the indicated detection algorithm
and which also has test vectors specified. and which also has test vectors specified.
Will trigger an assert if Username does not have the expected Will trigger an assert if Username does not have the expected
@ -208,7 +208,7 @@ class SherlockBaseTest(unittest.TestCase):
self -- This object. self -- This object.
Return Value: Return Value:
N/A. Nothing.
Counts up all Sites with full test data available. Counts up all Sites with full test data available.
Will trigger an assert if any Site does not have test coverage. Will trigger an assert if any Site does not have test coverage.
""" """

Loading…
Cancel
Save