---
source: crates/ruff_linter/src/rules/flake8_bugbear/mod.rs
---
B032 Possible unintentional type annotation (using `:`). Did you mean to assign (using `=`)?
  --> B032.py:9:1
   |
 7 | dct = {"a": 1}
 8 |
 9 | dct["b"]: 2
   | ^^^^^^^^^^^
10 | dct.b: 2
   |

B032 Possible unintentional type annotation (using `:`). Did you mean to assign (using `=`)?
  --> B032.py:10:1
   |
 9 | dct["b"]: 2
10 | dct.b: 2
   | ^^^^^^^^
11 |
12 | dct["b"]: "test"
   |

B032 Possible unintentional type annotation (using `:`). Did you mean to assign (using `=`)?
  --> B032.py:12:1
   |
10 | dct.b: 2
11 |
12 | dct["b"]: "test"
   | ^^^^^^^^^^^^^^^^
13 | dct.b: "test"
   |

B032 Possible unintentional type annotation (using `:`). Did you mean to assign (using `=`)?
  --> B032.py:13:1
   |
12 | dct["b"]: "test"
13 | dct.b: "test"
   | ^^^^^^^^^^^^^
14 |
15 | test = "test"
   |

B032 Possible unintentional type annotation (using `:`). Did you mean to assign (using `=`)?
  --> B032.py:16:1
   |
15 | test = "test"
16 | dct["b"]: test
   | ^^^^^^^^^^^^^^
17 | dct["b"]: test.lower()
18 | dct.b: test
   |

B032 Possible unintentional type annotation (using `:`). Did you mean to assign (using `=`)?
  --> B032.py:17:1
   |
15 | test = "test"
16 | dct["b"]: test
17 | dct["b"]: test.lower()
   | ^^^^^^^^^^^^^^^^^^^^^^
18 | dct.b: test
19 | dct.b: test.lower()
   |

B032 Possible unintentional type annotation (using `:`). Did you mean to assign (using `=`)?
  --> B032.py:18:1
   |
16 | dct["b"]: test
17 | dct["b"]: test.lower()
18 | dct.b: test
   | ^^^^^^^^^^^
19 | dct.b: test.lower()
   |

B032 Possible unintentional type annotation (using `:`). Did you mean to assign (using `=`)?
  --> B032.py:19:1
   |
17 | dct["b"]: test.lower()
18 | dct.b: test
19 | dct.b: test.lower()
   | ^^^^^^^^^^^^^^^^^^^
20 |
21 | # Do not flag below
   |
