From ec52dfe781266df110a6434fa86c13e704f30d5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Abdo=CC=81n=20Rodri=CC=81guez=20Davila?= Date: Fri, 8 Jun 2018 14:18:46 +0200 Subject: [PATCH] Fix linter --- qiskit/qasm/_node/_node.py | 1 + qiskit/qasm/_node/_nodeexception.py | 1 + test/python/test_localjob.py | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/qiskit/qasm/_node/_node.py b/qiskit/qasm/_node/_node.py index 6c1b17aa5be8..52b9def21826 100644 --- a/qiskit/qasm/_node/_node.py +++ b/qiskit/qasm/_node/_node.py @@ -9,6 +9,7 @@ Base node object for the OPENQASM syntax tree. """ + class Node(object): """Base node object for the OPENQASM syntax tree.""" diff --git a/qiskit/qasm/_node/_nodeexception.py b/qiskit/qasm/_node/_nodeexception.py index 17e1321bc196..b42fe5b7e6fd 100644 --- a/qiskit/qasm/_node/_nodeexception.py +++ b/qiskit/qasm/_node/_nodeexception.py @@ -9,6 +9,7 @@ Exception for errors raised while interpreting nodes. """ + class NodeException(Exception): """Base class for errors raised while interpreting nodes.""" diff --git a/test/python/test_localjob.py b/test/python/test_localjob.py index 8fd41c3531d1..10b5313e218e 100644 --- a/test/python/test_localjob.py +++ b/test/python/test_localjob.py @@ -158,4 +158,4 @@ def mocked_simulator_binaries(): if __name__ == '__main__': - unittest.main(verbosity=2) \ No newline at end of file + unittest.main(verbosity=2)