---
source: crates/ruff/src/rules/flake8_builtins/mod.rs
---
A003.py:2:5: A003 Class attribute `ImportError` is shadowing a python builtin
  |
2 | class MyClass:
3 |     ImportError = 4
  |     ^^^^^^^^^^^ A003
4 |     id = 5
5 |     dir = "/"
  |

A003.py:11:5: A003 Class attribute `str` is shadowing a python builtin
   |
11 |           self.dir = "."
12 |   
13 |       def str(self):
   |  _____^
14 | |         pass
   | |____________^ A003
   |


