Skip to content

Commit

Permalink
Add comment explaining a Flake8 check disable
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdonnnj committed Nov 16, 2020
1 parent ede0485 commit 40b3b80
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/example/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
"""The example library."""
# We disable a Flake8 check for "Module imported but unused (F401)" here because
# although this import is not directly used, it populates the value
# package_name.__version__, which is used to get version information about this
# Python package.
from ._version import __version__ # noqa: F401
from .example import example_div

Expand Down

0 comments on commit 40b3b80

Please sign in to comment.