Skip to content

Commit

Permalink
UPDATE make sure that module tzdata is installed by importing it in…
Browse files Browse the repository at this point in the history
… config
  • Loading branch information
provinzio committed May 14, 2022
1 parent b03af45 commit bb2dcfe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions src/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bb2dcfe

Please sign in to comment.