diff --git a/qrao/semideterministic_rounding.py b/qrao/semideterministic_rounding.py index 161a1f7..64da99f 100644 --- a/qrao/semideterministic_rounding.py +++ b/qrao/semideterministic_rounding.py @@ -12,7 +12,7 @@ """Semideterministic rounding""" -from typing import List, Optional +from typing import Optional import numpy as np @@ -30,9 +30,6 @@ class SemideterministicRoundingResult(RoundingResult): """Result of semideterministic rounding""" - def __init__(self, samples: List[RoundingSolutionSample], *, time_taken=None): - super().__init__(samples, time_taken=time_taken) - class SemideterministicRounding(RoundingScheme): """Semideterministic rounding scheme diff --git a/tox.ini b/tox.ini index e9c6ad0..0c255b2 100644 --- a/tox.ini +++ b/tox.ini @@ -26,7 +26,7 @@ commands = envdir = .tox/lint commands = black --check . - pylint -rn --py-version=3.6 --disable=fixme,invalid-name,missing-function-docstring,protected-access,useless-super-delegation,too-many-branches,duplicate-code qrao tests + pylint -rn --py-version=3.6 --disable=fixme,invalid-name,missing-function-docstring,protected-access,too-many-branches,duplicate-code qrao tests nbqa pylint -rn --py-version=3.6 --disable=missing-module-docstring,wrong-import-order,wrong-import-position,line-too-long,invalid-name,missing-function-docstring,pointless-statement,duplicate-code docs/ tests/ mypy qrao tests