Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump deps and minimum required python version #98

Merged
merged 3 commits into from
Dec 22, 2023
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/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
Expand Down
6 changes: 3 additions & 3 deletions cli_ui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@

# Global variable to store configuration

CONFIG = {
CONFIG: Dict[str, ConfigValue] = {
"verbose": os.environ.get("VERBOSE"),
"quiet": False,
"color": "auto",
"title": "auto",
"timestamp": False,
"record": False, # used for testing
} # type: Dict[str, ConfigValue]
}


# used for testing
Expand Down Expand Up @@ -188,7 +188,7 @@ def process_tokens(
"""
# Flatten the list of tokens in case some of them are of
# class UnicodeSequence:
flat_tokens = [] # type: List[Token]
flat_tokens: List[Token] = []
for token in tokens:
if isinstance(token, UnicodeSequence):
flat_tokens.extend(token.tuple())
Expand Down
6 changes: 6 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changelog
----------

Next release
++++++++++++

* Bump dependencies
* Remove support for Python 3.7

v0.17.2 (2022-08-29)
++++++++++++++++++++

Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Installation
-------------

``cli-ui`` is available on `Pypi <https://pypi.org/project/cli-ui/>`_.
and is compatible with Python **3.7** and higher.
and is compatible with Python **3.8** and higher.

Note for Windows users
-----------------------
Expand Down
Loading