def no_qa_file(request): """Py Test fixture to create a testing file for whole file filters""" request.cls.no_qa_file = PythonFile.from_statement(textwrap.dedent(""" # checkstyle: noqa print('This is not fine') print('This is fine') """))
def no_qa_line(request): """Py Test fixture to create a testing file for single line filters""" request.cls.no_qa_line = PythonFile.from_statement( textwrap.dedent(""" print('This is not fine') print('This is fine') # noqa """))
def no_qa_line(request): """Py Test fixture to create a testing file for single line filters""" request.cls.no_qa_line = PythonFile.from_statement(textwrap.dedent(""" print('This is not fine') print('This is fine') # noqa """))