Refer to py.path.local instead of LEGACY_PATH constant for better docs

This commit is contained in:
Bruno Oliveira
2022-05-17 08:09:21 -03:00
parent 296b642eb3
commit a1ed6839e3
2 changed files with 4 additions and 4 deletions

View File

@@ -101,7 +101,7 @@ repos:
types: [python]
- id: py-path-deprecated
name: py.path usage is deprecated
exclude: docs|src/_pytest/deprecated.py|testing/deprecated_test.py
exclude: docs|src/_pytest/deprecated.py|testing/deprecated_test.py|src/_pytest/legacypath.py
language: pygrep
entry: \bpy\.path\.local
types: [python]