-
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.
Added CD to GitHub and PyPI, and added linting to CI (#2)
* Added CD to GitHub and PyPI * Add PyPy 3.9 as tested version * Configure linting in CI and fix code to pass linting checks
- Loading branch information
1 parent
25f6166
commit c2de5c9
Showing
17 changed files
with
374 additions
and
248 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
changelog: |
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 |
---|---|---|
|
@@ -8,3 +8,6 @@ __pycache__ | |
htmlcov* | ||
*.egg* | ||
pip-wheel-metadata* | ||
dist | ||
calct/__version__.py | ||
build |
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,4 +1,18 @@ | ||
__version__ = "0.1.0" | ||
__year__ = "2022" | ||
__author__ = "Philippe Warren" | ||
__license__ = "GPLv3" | ||
from calct.__version__ import __version__ | ||
from calct.duration import Duration | ||
from calct.main import __author__, __license__, __year__, run_loop, run_once | ||
from calct.parser import compute, evaluate_rpn, lex, parse | ||
|
||
__all__ = [ | ||
"Duration", | ||
"evaluate_rpn", | ||
"lex", | ||
"parse", | ||
"compute", | ||
"__version__", | ||
"__year__", | ||
"__author__", | ||
"__license__", | ||
"run_loop", | ||
"run_once", | ||
] |
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
Oops, something went wrong.