Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
Fix pylint useless-super-delegation warning
Browse files Browse the repository at this point in the history
partially addresses #16
  • Loading branch information
garrison committed May 27, 2022
1 parent 1bdeacd commit 7084a23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions qrao/semideterministic_rounding.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

"""Semideterministic rounding"""

from typing import List, Optional
from typing import Optional

import numpy as np

Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7084a23

Please sign in to comment.