Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* RUN: hatch run lint:fmt * STY: Ignore FBT002, allow F401 to be fixed * Use functools.wraps for the shutil.rmtree wrapper in conftest.py Fixes mypy error: tests/conftest.py:18:5: error: Incompatible redefinition (redefinition with type "Callable[[Any, Any, Any, VarArg(Any), KwArg(Any)], Any]", original type "_RmtreeType") [misc] def rmtree(path, ignore_errors=False, onerror=None, *args, **kwds)... ^ tests/conftest.py:18:5: note: "function" is missing following "_RmtreeType" protocol member: tests/conftest.py:18:5: note: avoids_symlink_attacks * STY: Ignore bandit false positives --------- Co-authored-by: Benjamin A. Beasley <[email protected]>
- Loading branch information