mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Update pre-commit-config to exclude snapshot tests
This commit is contained in:
@@ -138,7 +138,7 @@ def pytest_terminal_summary(
|
||||
.. versionadded:: 4.2
|
||||
The ``config`` parameter.
|
||||
"""
|
||||
diffs = config._textual_snapshots
|
||||
diffs = getattr(config, "_textual_snapshots", None)
|
||||
if diffs:
|
||||
snapshot_report_location = config._textual_snapshot_html_report
|
||||
console = Console()
|
||||
|
||||
Reference in New Issue
Block a user