Remove and ban use of py.builtin

This commit is contained in:
Anthony Sottile
2019-01-20 11:59:48 -08:00
parent 57bf9d6740
commit ec5e279f93
5 changed files with 15 additions and 10 deletions

View File

@@ -51,3 +51,8 @@ repos:
entry: 'changelog files must be named ####.(feature|bugfix|doc|deprecation|removal|vendor|trivial).rst'
exclude: changelog/(\d+\.(feature|bugfix|doc|deprecation|removal|vendor|trivial).rst|README.rst|_template.rst)
files: ^changelog/
- id: py-deprecated
name: py library is deprecated
language: pygrep
entry: '\bpy\.(builtin\.|code\.|std\.)'
types: [python]