Fix lints errors
This commit is contained in:
parent
422a420637
commit
e152057f92
2 changed files with 2 additions and 2 deletions
|
@ -37,6 +37,7 @@ class DepOne2(Dependant):
|
||||||
def dependencies():
|
def dependencies():
|
||||||
return [DepEmtpy]
|
return [DepEmtpy]
|
||||||
|
|
||||||
|
|
||||||
class DepTwo(Dependant):
|
class DepTwo(Dependant):
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
@ -59,7 +60,7 @@ class TestDependencySolver(unittest.TestCase):
|
||||||
self.assertEqual(len(solution), 2, 'solution length invalid')
|
self.assertEqual(len(solution), 2, 'solution length invalid')
|
||||||
self.assertIsInstance(solution[0], DepEmtpy)
|
self.assertIsInstance(solution[0], DepEmtpy)
|
||||||
self.assertIs(solution[1], depone_instance)
|
self.assertIs(solution[1], depone_instance)
|
||||||
|
|
||||||
def test_single_dep_existing(self) -> None:
|
def test_single_dep_existing(self) -> None:
|
||||||
depempty_instance = DepEmtpy()
|
depempty_instance = DepEmtpy()
|
||||||
depone_instance = DepOne()
|
depone_instance = DepOne()
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
"""Base processor module."""
|
"""Base processor module."""
|
||||||
|
|
||||||
from collections import defaultdict
|
from collections import defaultdict
|
||||||
from typing import Any
|
|
||||||
from typing import Callable
|
from typing import Callable
|
||||||
from typing import Dict
|
from typing import Dict
|
||||||
from typing import List
|
from typing import List
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue