Merge pull request #1623 from davep/diagnose-diagnose

Import type annotations from the future for `textual diagnose`
This commit is contained in:
Will McGugan
2023-01-20 00:57:37 -08:00
committed by GitHub
2 changed files with 5 additions and 0 deletions

View File

@@ -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

View File

@@ -1,5 +1,6 @@
"""Textual CLI command code to print diagnostic information."""
from __future__ import annotations
import os
import sys
import platform