Add undo functionality for /reset command (#61)

Co-authored-by: TheLovinator1 <4153203+TheLovinator1@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Joakim Hellsén <tlovinator@gmail.com>
This commit is contained in:
Copilot 2025-12-04 02:03:40 +01:00 committed by GitHub
commit 5695722ad2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 289 additions and 0 deletions

View file

@ -65,6 +65,7 @@ docstring-code-line-length = 20
"ARG", # Unused function args -> fixtures nevertheless are functionally relevant...
"FBT", # Don't care about booleans as positional arguments in tests, e.g. via @pytest.mark.parametrize()
"PLR2004", # Magic value used in comparison, ...
"PLR6301", # Method could be a function, class method, or static method
"S101", # asserts allowed in tests...
"S311", # Standard pseudo-random generators are not suitable for cryptographic purposes
]
@ -76,3 +77,9 @@ log_cli_level = "INFO"
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
python_files = "test_*.py *_test.py *_tests.py"
[dependency-groups]
dev = [
"pytest>=9.0.1",
"ruff>=0.14.7",
]