-
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.
Update default python versions and improve code readability (#14)
* Update default python versions and improve code readability Changes include updating the default settings with more recent versions of Python. Single quotes have been replaced with double quotes for string declarations, contributing to better consistency and code readability. Some function logic was also slightly modified to enhance the code's overall clarity. * Update Python SDK version and project configurations The code has been updated to align with the Python 3.12 SDK. The versions supported in setup.py, and the tox.ini file have been modified to latest Python versions. The project version in kecpkg/__init__.py has also been updated, and git toolbox configurations are added for better commit message formatting. * Update Python version to 3.12 in workflow files Changed the python version from 3.7 to 3.12 in python_publish.yml. Updated the list of tested python versions and the conditions for uploading coverage and checking docs in python_testing.yml. Also, configured * Update python testing workflow configuration The changes in the configuration file for the Python testing workflow include reducing the maximum parallel jobs from 7 to 6. The range of Python versions tested against has also been expanded to include 3.7, and all versions * Refactor gpg.py for better type annotations and code readability __Import__ and __output__ type annotations have been added for better function clarity and maintainability. The importation of 'gnupg.GPG' was refined for consistency throughout the module. Some multi-line string statements were also revised for readability and coherence purposes. * Refactor code and improve readability Several changes were made across various modules and tests to improve readability and maintainability. The key edits include modifying verbose instructions to make them more succinct, discarding the "snapcraft.yaml" file, and refactoring certain functions. Unnecessary import statements were also removed. This refactor should make the code easier to understand and work with. * Refine package location messages and update .env template The commit makes important modifications in echoing package location messages in both 'config.py' and 'build.py' files by inserting the actual package name. It provides more precise information to the user. The default URL and SCOPE_ID in the '.env.template' has also been replaced with placeholders for security purposes. Additionally, a new GitToolBoxBlame settings file is added to the '.idea' directory and '.env.template' is excluded from MANIFEST.in. * Update CHANGELOG with new version details Added details of the 1.1.0 maintenance release to the CHANGELOG. This update includes the deprecation of Python 2.7 and all Python versions up to and including 3.6, due to their lack of support. --------- Co-authored-by: Jochem Berends <[email protected]>
- Loading branch information
Showing
37 changed files
with
1,455 additions
and
868 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 @@ | ||
__version__ = '1.0.4' | ||
__version__ = "1.1.0" |
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,3 +1,4 @@ | ||
import sys | ||
from kecpkg.cli import kecpkg | ||
|
||
sys.exit(kecpkg()) |
Oops, something went wrong.