Add new flags and their respective functionalities: --list, --restore-last, --prune-backups. Change Python dependecies version. Remove Black target-version from pyproject.toml. Mirro version bump.

This commit is contained in:
2025-11-16 14:17:11 +00:00
parent a068c0a5bd
commit fde29fe90d
3 changed files with 288 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "mirro"
version = "0.2.0"
version = "0.3.0"
description = "A safe editing wrapper: edits a temp copy, compares, and saves original backup if changed."
authors = ["Marco D'Aleo <marco@marcodaleo.com>"]
license = "GPL-3.0-or-later"
@@ -10,7 +10,7 @@ repository = "https://github.com/mdaleo404/mirro"
packages = [{include = "mirro", from = "src"}]
[tool.poetry.dependencies]
python = "^3.13"
python = ">=3.10,<4.0"
[tool.poetry.scripts]
mirro = "mirro.main:main"
@@ -22,7 +22,6 @@ pre-commit = "^3.8"
[tool.black]
line-length = 79
target-version = ["py313"]
[build-system]
requires = ["poetry-core"]