---
source: crates/ruff/src/rules/pygrep_hooks/mod.rs
---
PGH001_0.py:3:1: PGH001 No builtin `eval()` allowed
  |
3 | from ast import literal_eval
4 | 
5 | eval("3 + 4")
  | ^^^^ PGH001
6 | 
7 | literal_eval({1: 2})
  |

PGH001_0.py:9:5: PGH001 No builtin `eval()` allowed
   |
 9 | def fn() -> None:
10 |     eval("3 + 4")
   |     ^^^^ PGH001
   |


