Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -175,13 +175,24 @@ module = [
"msgpack.*",
"llfuse",
"pyfuse3",
"mfusepy",
"trio",
"borghash.*",
"borgstore.*",
"textual.*",
"backports.*",
"borg.crypto.low_level",
"borg.legacy.crypto.low_level",
"borg.platform.*",
]
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "borg.manifest"
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true

[tool.tox]
requires = ["tox>=4.19", "pkgconfig", "cython", "wheel", "setuptools-scm[toml]"]
# Important: when adding/removing Python versions here,
Expand Down
3 changes: 2 additions & 1 deletion src/borg/legacy/archives.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def list(
archive_infos.reverse()
return archive_infos

def list_considering(self, args):
def list_considering(self, args, *, reverse=False):
"""Get a list of archives, considering --first/last/prefix/match-archives/sort cmdline args."""
name = getattr(args, "name", None)
if name is not None:
Expand All @@ -250,6 +250,7 @@ def list_considering(self, args):
)
return self.list(
sort_by=args.sort_by.split(","),
reverse=reverse,
match=args.match_archives,
first=getattr(args, "first", None),
last=getattr(args, "last", None),
Expand Down
Loading