Skip to content

Commit

Permalink
Fix lint issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
vengroff committed Feb 14, 2024
1 parent 793ef0a commit b3ab67d
Show file tree
Hide file tree
Showing 5 changed files with 317 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[flake8]
max-line-length = 120
9 changes: 4 additions & 5 deletions packageversion/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,16 @@
"""

from typing import Any, Callable, Optional
import importlib.metadata
from pathlib import Path
from collections import defaultdict

from pathlib import Path
from typing import Any, Callable, Optional

__package_versions = defaultdict(lambda: "unknown")
"""
A dictionary of package versions that have been found and cached.
This is managed by `__get_package_version` whose existence is hidden behind
This is managed by `__get_package_version` whose existence is hidden behind
:py:func:`~getattr_with_version`.
"""

Expand Down
Loading

0 comments on commit b3ab67d

Please sign in to comment.