ruff: enable RET/PIE/PLW
This commit is contained in:
parent
721a0cd3fc
commit
3cff067035
14 changed files with 80 additions and 75 deletions
|
@ -187,8 +187,7 @@ def _repo_depends_on(_repo: Path) -> int:
|
|||
ff = _repo / pp
|
||||
if ff.exists():
|
||||
return int(ff.stat().st_mtime)
|
||||
else:
|
||||
raise RuntimeError(f"Could not find a FETCH_HEAD/HEAD file in {_repo}")
|
||||
raise RuntimeError(f"Could not find a FETCH_HEAD/HEAD file in {_repo}")
|
||||
|
||||
|
||||
def _commits(_repos: List[Path]) -> Iterator[Commit]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue