Skip to content
Snippets Groups Projects
Commit 02add38e 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 c6346b58
No related branches found
No related tags found
2 merge requests!157v1.0.0rc0: merge dev into master,!136#135, #162: Introduce mypy, pylint, isort, gitlab-ci pre-commit hooks
......@@ -31,7 +31,8 @@ from duniterpy.documents.ws2p.messages import DocumentMessage
class TestWs2p(unittest.TestCase):
def test_block(self):
@staticmethod
def test_block():
json_sample = {
"heads": [
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment