Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2021-06-17 17:21:01 +0300
committerJaime van Kessel <nallath@gmail.com>2021-06-17 17:21:01 +0300
commitee16f61d65871063f63b09f38987f6e914887bb3 (patch)
tree61127943d4a867163003f393c058b0114b82dade /cura/Backups
parent40a981b9026e3c53b748787b70c28aa60491675c (diff)
Add missing typing
CURA-8313
Diffstat (limited to 'cura/Backups')
-rw-r--r--cura/Backups/Backup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cura/Backups/Backup.py b/cura/Backups/Backup.py
index 81d7caa295..5fad2ccf19 100644
--- a/cura/Backups/Backup.py
+++ b/cura/Backups/Backup.py
@@ -7,7 +7,7 @@ import re
import shutil
from copy import deepcopy
from zipfile import ZipFile, ZIP_DEFLATED, BadZipfile
-from typing import Dict, Optional, TYPE_CHECKING
+from typing import Dict, Optional, TYPE_CHECKING, List
from UM import i18nCatalog
from UM.Logger import Logger
@@ -29,7 +29,7 @@ class Backup:
IGNORED_FILES = [r"cura\.log", r"plugins\.json", r"cache", r"__pycache__", r"\.qmlc", r"\.pyc"]
"""These files should be ignored when making a backup."""
- IGNORED_FOLDERS = []
+ IGNORED_FOLDERS = [] # type: List[str]
SECRETS_SETTINGS = ["general/ultimaker_auth_data"]
"""Secret preferences that need to obfuscated when making a backup of Cura"""