Skip to content
Snippets Groups Projects
Commit 6030a80b authored by Moul's avatar Moul
Browse files

[lint] #162: Define staticmethod

Found by pre-commit hook
Otherwise we get: R0201: Method could be a function (no-self-use)
https://stackoverflow.com/a/2674052
parent 6caa1771
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,8 @@ from duniterpy.documents.ws2p.messages import DocumentMessage ...@@ -33,7 +33,8 @@ from duniterpy.documents.ws2p.messages import DocumentMessage
class TestWs2p(unittest.TestCase): class TestWs2p(unittest.TestCase):
def test_block(self): @staticmethod
def test_block():
json_sample = { json_sample = {
"heads": [ "heads": [
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment