From bb2dcfe23d963dab71875ee71ef8e3caeeb53ff1 Mon Sep 17 00:00:00 2001 From: Jeppy Date: Sun, 15 May 2022 00:17:37 +0200 Subject: [PATCH] UPDATE make sure that module `tzdata` is installed by importing it in config --- setup.cfg | 3 +++ src/config.py | 3 +++ 2 files changed, 6 insertions(+) diff --git a/setup.cfg b/setup.cfg index 5336fe7..9bb5a50 100644 --- a/setup.cfg +++ b/setup.cfg @@ -12,6 +12,9 @@ warn_unused_configs = True [mypy-xlsxwriter] ignore_missing_imports = True +[mypy-tzdata] +ignore_missing_imports = True + [flake8] exclude = *py*env*/ max_line_length = 88 diff --git a/src/config.py b/src/config.py index e632279..39edf3b 100644 --- a/src/config.py +++ b/src/config.py @@ -20,6 +20,9 @@ from os import environ from pathlib import Path +# Make sure, that module `tzdata` is installed. +import tzdata # noqa: F401 + import core # Dir and file paths