mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-02-05 08:46:20 +01:00
Fixed for mypy errors
This commit is contained in:
parent
a7543cb703
commit
bd4b6f181b
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
#!/usr/bin/python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# mypy: disable-error-code="no-redef"
|
||||
|
||||
import json
|
||||
import time
|
||||
from pathlib import Path
|
||||
|
@ -28,7 +30,7 @@ class LoadData(Configs):
|
|||
|
||||
self.bar_process = None
|
||||
|
||||
self.option_for_progress_bar: bool = self.utils.is_option(
|
||||
self.option_for_progress_bar: bool = self.utils.is_option( # type: ignore[annotation-unchecked]
|
||||
('-B', '--progress-bar'), flags)
|
||||
|
||||
def load(self, repository: str, message=True) -> dict:
|
||||
|
|
Loading…
Add table
Reference in a new issue