---
source: crates/ruff_linter/src/rules/flake8_bandit/mod.rs
---
S102.py:3:5: S102 Use of `exec` detected
  |
1 | def fn():
2 |     # Error
3 |     exec('x = 2')
  |     ^^^^ S102
4 | 
5 | exec('y = 3')
  |

S102.py:5:1: S102 Use of `exec` detected
  |
3 |     exec('x = 2')
4 | 
5 | exec('y = 3')
  | ^^^^ S102
  |


