-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Switch to setuptools-scm Signed-off-by: Patrick ZAJDA <[email protected]> * Exclude version file from Black and flake8 Signed-off-by: Patrick ZAJDA <[email protected]> * Add version file to .gitignore Signed-off-by: Patrick ZAJDA <[email protected]> * Exclude version from codecov Signed-off-by: Patrick ZAJDA <[email protected]> * Exclude __init__ from codecov, no code to be tested is in this module Signed-off-by: Patrick ZAJDA <[email protected]> --------- Signed-off-by: Patrick ZAJDA <[email protected]>
- Loading branch information
Showing
5 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -127,3 +127,6 @@ dmypy.json | |
|
||
# Pyre type checker | ||
.pyre/ | ||
|
||
# Ignore version file | ||
src/pysmsboxnet/_version.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
comment: # this is a top-level key | ||
require_changes: true | ||
ignore: | ||
- "src/pysmsboxnet/_version.py" | ||
- "src/pysmsboxnet/__init__.py" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
"""Python library to use smsbox.net API.""" | ||
try: | ||
from ._version import version as __version__ # type: ignore | ||
from ._version import version_tuple # type: ignore | ||
except ImportError: | ||
__version__ = "unknown version" | ||
version_tuple = (0, 0, "unknown version") |