mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Import type annotations from the future for textual diagnose
I mean, I guess flat out crashing on older versions of Python is *a* way of reporting the Python version. Kinda? See the side issue reported in #1622.
This commit is contained in:
@@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
- Added Strip.text property https://github.com/Textualize/textual/issues/1620
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed `textual diagnose` crash on older supported Python versions.
|
||||
|
||||
### Changed
|
||||
|
||||
- The default filename for screenshots uses a datetime format similar to ISO8601, but with reserved characters replaced by underscores https://github.com/Textualize/textual/pull/1518
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
"""Textual CLI command code to print diagnostic information."""
|
||||
|
||||
from __future__ import annotations
|
||||
import os
|
||||
import sys
|
||||
import platform
|
||||
|
||||
Reference in New Issue
Block a user