-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(core): user can start/end recording actioning by hitting r, acti…
…ons will be recorded in `recordings/` directory and the last recording can be replayed by hitting `ctrl+r` - closes #187
- Loading branch information
Showing
41 changed files
with
710 additions
and
417 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,5 +90,5 @@ scripts/packer/output-* | |
ubo_app/_version.py | ||
|
||
/screenshots | ||
/snapshot.json | ||
/snapshot.bin | ||
/snapshots | ||
/recordings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
from setuptools_scm.version import get_local_node_and_date # pyright: ignore | ||
# ruff: noqa: D100, D103 | ||
import re | ||
from datetime import datetime, timezone | ||
from datetime import UTC, datetime | ||
|
||
from setuptools_scm.version import ( # pyright: ignore [reportMissingImports] | ||
get_local_node_and_date, | ||
) | ||
|
||
def local_scheme(version): | ||
version.node = re.sub( | ||
r'.', | ||
lambda match: str(ord(match.group(0))), | ||
version.node | ||
) | ||
|
||
def local_scheme(version) -> str: # noqa: ANN001 | ||
version.node = re.sub(r'.', lambda match: str(ord(match.group(0))), version.node) | ||
original_local_version = get_local_node_and_date(version) | ||
numeric_version = original_local_version.replace('+', '').replace('.d', '') | ||
return datetime.now(timezone.utc).strftime('%y%m%d') + numeric_version | ||
return datetime.now(UTC).strftime('%y%m%d') + numeric_version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.