tests/examples.py
raw| 1 | def func_a(_): |
| 2 | func_b() |
| 3 | |
| 4 | |
| 5 | def func_b(): |
| 6 | func_c() |
| 7 | |
| 8 | |
| 9 | def func_c(): |
| 10 | func_d() |
| 11 | |
| 12 | |
| 13 | def func_d(): |
| 14 | raise Exception('Guessing time !') |
| 15 | |
| 16 | |
| 17 | def bad_syntax(): |
| 18 | import badsyntax # noqa: PLC0415 |
| 19 | |
| 20 | badsyntax() |
| 21 | |
| 22 | |
| 23 | def bad_module(): |
| 24 | import badmodule # noqa: PLC0415 |
| 25 | |
| 26 | badmodule() |