Skip to content

Commit

Permalink
Merge pull request #282 from consideRatio/pr/version-info
Browse files Browse the repository at this point in the history
Add LDAPAuthenticator.version_info
  • Loading branch information
consideRatio authored Sep 23, 2024
2 parents 1845e0b + 26def20 commit 6d2c7ce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ldapauthenticator/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
# pyproject.toml, according to instructions in RELEASE.md.
#
__version__ = "2.0.0b1"

# version_info looks like (1, 2, 3, "dev") if __version__ is 1.2.3.dev
version_info = tuple(int(p) if p.isdigit() else p for p in __version__.split("."))

0 comments on commit 6d2c7ce

Please sign in to comment.