remove and ban py.io.BytesIO, py.process, py.path.local.sysfind

This commit is contained in:
Anthony Sottile
2019-01-21 19:46:57 -08:00
parent f01f434311
commit 92a2c1a9c4
8 changed files with 39 additions and 29 deletions
+10 -1
View File
@@ -54,5 +54,14 @@ repos:
- id: py-deprecated
name: py library is deprecated
language: pygrep
entry: '\bpy\.(builtin\.|code\.|std\.|io\.saferepr)'
entry: >
(?x)\bpy\.(
_code\.|
builtin\.|
code\.|
io\.(BytesIO|saferepr)|
path\.local\.sysfind|
process\.|
std\.
)
types: [python]