third_party.pylibs.pylint.src/pylint/testutils/functional_test_file.py
Pierre Sassoulas ec4a3f7f1e Add a pre-commit hook to check the copyright notice
Fix the existing file so they have a notice.
No header for setup.py or examples or doc
2022-03-24 13:06:15 +01:00

24 lines
617 B
Python

# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt
__all__ = [
"FunctionalTestFile",
"NoFileError",
"parse_python_version",
]
import warnings
from pylint.testutils.functional import (
FunctionalTestFile,
NoFileError,
parse_python_version,
)
warnings.warn(
"'pylint.testutils.functional_test_file' will be accessible from"
" the 'pylint.testutils.functional' namespace in pylint 3.0.",
DeprecationWarning,
)