Skip to content

Commit

Permalink
Fix comments and ruff violations
Browse files Browse the repository at this point in the history
  • Loading branch information
ubmarco committed Jan 23, 2024
1 parent 1af753f commit 69330d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libpdf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
:copyright: © 2020 by team useblocks
:license: MIT, see LICENSE for more details
""" # needed for autodoc
""" # noqa: D205, D400, D415 # needed for autodoc

import importlib.metadata as importlib_metadata # Python 3.8, 3.9
import importlib.metadata as importlib_metadata

__version__: str = importlib_metadata.version("libpdf")
__summary__: str = importlib_metadata.metadata("libpdf")["Summary"]

# below imports from libpdf.core cannot be at the top avoid circular import errors in core.py when
# importing __version__ and __summary__
# below imports from libpdf.core cannot be at the top avoid circular import errors in
# core.py when importing __version__ and __summary__
import libpdf._import_forks # noqa: F401
from libpdf.core import main_api as load
from libpdf.core import main_cli
Expand Down

0 comments on commit 69330d0

Please sign in to comment.