---
source: crates/ruff_linter/src/rules/flake8_bugbear/mod.rs
---
B006_1.py:3:22: B006 [*] Do not use mutable data structures for argument defaults
  |
1 | # Docstring followed by a newline
2 | 
3 | def foobar(foor, bar={}):    
  |                      ^^ B006
4 |     """
5 |     """
  |
  = help: Replace with `None`; initialize within function

ℹ Unsafe fix
1 1 | # Docstring followed by a newline
2 2 | 
3   |-def foobar(foor, bar={}):    
  3 |+def foobar(foor, bar=None):    
4 4 |     """
5 5 |     """
