From c7558407934ff4a9d02bc73282858e07ef581cd8 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Fri, 24 Jul 2020 10:20:37 +0300 Subject: [PATCH] pre-commit: extend list of rejected py modules We now only use `py.path.local`. --- .pre-commit-config.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dc3717204..817cee604 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -70,9 +70,11 @@ repos: _code\.| builtin\.| code\.| - io\.(BytesIO|saferepr|TerminalWriter)| + io\.| path\.local\.sysfind| process\.| - std\. + std\.| + error\.| + xml\. ) types: [python]