Skip to content

Commit

Permalink
Merge c5aaf88 into c93a74d
Browse files Browse the repository at this point in the history
  • Loading branch information
ninoseki committed Oct 8, 2021
2 parents c93a74d + c5aaf88 commit af285c7
Show file tree
Hide file tree
Showing 4 changed files with 143 additions and 712 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repos:
]

- repo: https://github.com/asottile/pyupgrade
rev: v2.24.0
rev: v2.29.0
hooks:
- id: pyupgrade
args: [--py37-plus]
Expand All @@ -31,6 +31,6 @@ repos:
exclude: ^.*/?setup\.py$

- repo: https://github.com/psf/black
rev: 21.7b0
rev: 21.9b0
hooks:
- id: black
9 changes: 6 additions & 3 deletions aiodnsbl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import poetry_version

from .checker import DNSBLChecker

__version__ = str(poetry_version.extract(source_file=__file__))
try:
import importlib.metadata as importlib_metadata
except ModuleNotFoundError:
import importlib_metadata

__version__ = importlib_metadata.version(__name__)

__all__ = ["DNSBLChecker"]
Loading

0 comments on commit af285c7

Please sign in to comment.