Skip to content

Commit

Permalink
More lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmazan committed Aug 22, 2023
1 parent 4b7d4a0 commit 59b9576
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 7 deletions.
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.7.11
13 changes: 12 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ pync = { version = "*", platform = "darwin" }
ipython = "^7.12.0"
pre-commit = "^2.21.0"

types-setuptools = "^68.1.0.0"

[tool.poetry.scripts]

python-anvil-encryption = "python-anvil-encryption.cli:main"
Expand Down
11 changes: 5 additions & 6 deletions python_anvil_encryption/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
from importlib.metadata import PackageNotFoundError, version
from pkg_resources import DistributionNotFound, get_distribution

from python_anvil_encryption import cli, encryption

try:
__version__ = version("python_anvil_encryption")
except PackageNotFoundError:
__version__ = get_distribution("python_anvil").version
except DistributionNotFound:
__version__ = "(local)"

del PackageNotFoundError
del version
1 change: 1 addition & 0 deletions python_anvil_encryption/py.typed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Marker file for PEP 561.

0 comments on commit 59b9576

Please sign in to comment.