mirror of
https://github.com/Garmelon/PFERD.git
synced 2023-12-21 10:23:01 +01:00
Satisfy pylint and add todo
This commit is contained in:
parent
292e516297
commit
7f53543324
@ -15,6 +15,8 @@ from .utils import PrettyLogger, prompt_yes_no
|
|||||||
LOGGER = logging.getLogger(__name__)
|
LOGGER = logging.getLogger(__name__)
|
||||||
PRETTY = PrettyLogger(LOGGER)
|
PRETTY = PrettyLogger(LOGGER)
|
||||||
|
|
||||||
|
# TODO prevent overwriting an already marked file
|
||||||
|
|
||||||
|
|
||||||
class FileAcceptException(Exception):
|
class FileAcceptException(Exception):
|
||||||
"""An exception while accepting a file."""
|
"""An exception while accepting a file."""
|
||||||
|
@ -13,7 +13,7 @@ from .ilias import (IliasAuthenticator, IliasCrawler, IliasDirectoryFilter,
|
|||||||
from .location import Location
|
from .location import Location
|
||||||
from .organizer import Organizer
|
from .organizer import Organizer
|
||||||
from .tmp_dir import TmpDir
|
from .tmp_dir import TmpDir
|
||||||
from .transform import Transform, Transformable, apply_transform
|
from .transform import TF, Transform, apply_transform
|
||||||
from .utils import PrettyLogger
|
from .utils import PrettyLogger
|
||||||
|
|
||||||
# TODO save known-good cookies as soon as possible
|
# TODO save known-good cookies as soon as possible
|
||||||
@ -41,7 +41,8 @@ class Pferd(Location):
|
|||||||
self._tmp_dir = TmpDir(self.resolve(tmp_dir))
|
self._tmp_dir = TmpDir(self.resolve(tmp_dir))
|
||||||
self._test_run = test_run
|
self._test_run = test_run
|
||||||
|
|
||||||
def _print_transformables(self, transformables: List[Transformable]) -> None:
|
@staticmethod
|
||||||
|
def _print_transformables(transformables: List[TF]) -> None:
|
||||||
LOGGER.info("")
|
LOGGER.info("")
|
||||||
LOGGER.info("Results of the test run:")
|
LOGGER.info("Results of the test run:")
|
||||||
for transformable in transformables:
|
for transformable in transformables:
|
||||||
|
Loading…
Reference in New Issue
Block a user