Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-22.04, windows-2022, macos-15-intel]
python-version: [3.7, 3.8, 3.9, 3.10.5, 3.11.0, 3.12.0, 3.13.0, 3.14.0]
python-version: [3.8, 3.9, 3.10.5, 3.11.0, 3.12.0, 3.13.0, 3.14.0]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Changed
- `Python 3.14` added to `test.yml`
- `mycoffee_info` function renamed to `print_mycoffee_info`
- `print_mycoffee_info` function modified
- CLI arguments modified
- CLI functions modified
- Test system modified
- Dependencies structure modified
- `Python 3.7` support dropped
## [2.1] - 2025-10-08
### Added
- 2 new methods
Expand Down
11 changes: 6 additions & 5 deletions mycoffee/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,16 @@
from mycoffee.params import SAVE_FILE_ERROR_MESSAGE, SAVE_FILE_SUCCESS_MESSAGE
from mycoffee.params import MODE_TO_NAME
from mycoffee.params import DATE_ISO_8601_FORMAT, DATE_DISPLAY_FORMAT
from art import tprint
from art import tprint, text2art
from typio import type_print, TypeMode


def print_mycoffee_info() -> None:
"""Print mycoffee details."""
tprint("MyCoffee")
tprint("V:" + MY_COFFEE_VERSION)
print(MY_COFFEE_OVERVIEW)
print("Repo : " + MY_COFFEE_REPO)
type_print(text2art("MyCoffee"), mode=TypeMode.LINE, delay=0.1)
type_print(text2art("V:" + MY_COFFEE_VERSION), mode=TypeMode.LINE, delay=0.1)
type_print(MY_COFFEE_OVERVIEW, mode=TypeMode.CHAR, delay=0.05)
type_print("Repo : " + MY_COFFEE_REPO, mode=TypeMode.CHAR, delay=0.05)


def get_date_now() -> str:
Expand Down
1 change: 1 addition & 0 deletions requirements-latest.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
pyyaml==6.0.3
art==6.5
typio==1.2
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ def read_description() -> str:
},
install_requires=[
'pyyaml>=3.12',
'art>=5.3'
'art>=5.3',
'typio>=0.4'
],
python_requires='>=3.7',
python_requires='>=3.8',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
Expand Down
Loading