---
source: crates/ruff_linter/src/rules/pycodestyle/mod.rs
---
E252 [*] Missing whitespace around parameter equals
  --> E25.py:46:15
   |
44 |     return a + b
45 | #: E252:1:15 E252:1:16 E252:1:27 E252:1:36
46 | def add(a: int=0, b: int =0, c: int= 0) -> int:
   |               ^
47 |     return a + b + c
48 | #: Okay
   |
help: Add missing whitespace
   |
45 | #: E252:1:15 E252:1:16 E252:1:27 E252:1:36
   - def add(a: int=0, b: int =0, c: int= 0) -> int:
46 + def add(a: int =0, b: int =0, c: int= 0) -> int:
47 |     return a + b + c
   |

E252 [*] Missing whitespace around parameter equals
  --> E25.py:46:15
   |
44 |     return a + b
45 | #: E252:1:15 E252:1:16 E252:1:27 E252:1:36
46 | def add(a: int=0, b: int =0, c: int= 0) -> int:
   |               ^
47 |     return a + b + c
48 | #: Okay
   |
help: Add missing whitespace
   |
45 | #: E252:1:15 E252:1:16 E252:1:27 E252:1:36
   - def add(a: int=0, b: int =0, c: int= 0) -> int:
46 + def add(a: int= 0, b: int =0, c: int= 0) -> int:
47 |     return a + b + c
   |

E252 [*] Missing whitespace around parameter equals
  --> E25.py:46:26
   |
44 |     return a + b
45 | #: E252:1:15 E252:1:16 E252:1:27 E252:1:36
46 | def add(a: int=0, b: int =0, c: int= 0) -> int:
   |                          ^
47 |     return a + b + c
48 | #: Okay
   |
help: Add missing whitespace
   |
45 | #: E252:1:15 E252:1:16 E252:1:27 E252:1:36
   - def add(a: int=0, b: int =0, c: int= 0) -> int:
46 + def add(a: int=0, b: int = 0, c: int= 0) -> int:
47 |     return a + b + c
   |

E252 [*] Missing whitespace around parameter equals
  --> E25.py:46:36
   |
44 |     return a + b
45 | #: E252:1:15 E252:1:16 E252:1:27 E252:1:36
46 | def add(a: int=0, b: int =0, c: int= 0) -> int:
   |                                    ^
47 |     return a + b + c
48 | #: Okay
   |
help: Add missing whitespace
   |
45 | #: E252:1:15 E252:1:16 E252:1:27 E252:1:36
   - def add(a: int=0, b: int =0, c: int= 0) -> int:
46 + def add(a: int=0, b: int =0, c: int = 0) -> int:
47 |     return a + b + c
   |

E252 [*] Missing whitespace around parameter equals
  --> E25.py:64:18
   |
63 | # There should be at least one E251 diagnostic for each type parameter here:
64 | def pep_696_bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]():
   |                  ^
65 |     pass
   |
help: Add missing whitespace
   |
63 | # There should be at least one E251 diagnostic for each type parameter here:
   - def pep_696_bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]():
64 + def pep_696_bad[A =int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]():
65 |     pass
   |

E252 [*] Missing whitespace around parameter equals
  --> E25.py:64:18
   |
63 | # There should be at least one E251 diagnostic for each type parameter here:
64 | def pep_696_bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]():
   |                  ^
65 |     pass
   |
help: Add missing whitespace
   |
63 | # There should be at least one E251 diagnostic for each type parameter here:
   - def pep_696_bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]():
64 + def pep_696_bad[A= int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]():
65 |     pass
   |

E252 [*] Missing whitespace around parameter equals
  --> E25.py:64:26
   |
63 | # There should be at least one E251 diagnostic for each type parameter here:
64 | def pep_696_bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]():
   |                          ^
65 |     pass
   |
help: Add missing whitespace
   |
63 | # There should be at least one E251 diagnostic for each type parameter here:
   - def pep_696_bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]():
64 + def pep_696_bad[A=int, B = str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]():
65 |     pass
   |

E252 [*] Missing whitespace around parameter equals
  --> E25.py:64:33
   |
63 | # There should be at least one E251 diagnostic for each type parameter here:
64 | def pep_696_bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]():
   |                                 ^
65 |     pass
   |
help: Add missing whitespace
   |
63 | # There should be at least one E251 diagnostic for each type parameter here:
   - def pep_696_bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]():
64 + def pep_696_bad[A=int, B =str, C = bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]():
65 |     pass
   |

E252 [*] Missing whitespace around parameter equals
  --> E25.py:64:49
   |
63 | # There should be at least one E251 diagnostic for each type parameter here:
64 | def pep_696_bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]():
   |                                                 ^
65 |     pass
   |
help: Add missing whitespace
   |
63 | # There should be at least one E251 diagnostic for each type parameter here:
   - def pep_696_bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]():
64 + def pep_696_bad[A=int, B =str, C= bool, D:object =int, E: object=str, F: object =bool, G: object= bytes]():
65 |     pass
   |

E252 [*] Missing whitespace around parameter equals
  --> E25.py:64:49
   |
63 | # There should be at least one E251 diagnostic for each type parameter here:
64 | def pep_696_bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]():
   |                                                 ^
65 |     pass
   |
help: Add missing whitespace
   |
63 | # There should be at least one E251 diagnostic for each type parameter here:
   - def pep_696_bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]():
64 + def pep_696_bad[A=int, B =str, C= bool, D:object= int, E: object=str, F: object =bool, G: object= bytes]():
65 |     pass
   |

E252 [*] Missing whitespace around parameter equals
  --> E25.py:64:64
   |
63 | # There should be at least one E251 diagnostic for each type parameter here:
64 | def pep_696_bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]():
   |                                                                ^
65 |     pass
   |
help: Add missing whitespace
   |
63 | # There should be at least one E251 diagnostic for each type parameter here:
   - def pep_696_bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]():
64 + def pep_696_bad[A=int, B =str, C= bool, D:object=int, E: object =str, F: object =bool, G: object= bytes]():
65 |     pass
   |

E252 [*] Missing whitespace around parameter equals
  --> E25.py:64:64
   |
63 | # There should be at least one E251 diagnostic for each type parameter here:
64 | def pep_696_bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]():
   |                                                                ^
65 |     pass
   |
help: Add missing whitespace
   |
63 | # There should be at least one E251 diagnostic for each type parameter here:
   - def pep_696_bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]():
64 + def pep_696_bad[A=int, B =str, C= bool, D:object=int, E: object= str, F: object =bool, G: object= bytes]():
65 |     pass
   |

E252 [*] Missing whitespace around parameter equals
  --> E25.py:64:80
   |
63 | # There should be at least one E251 diagnostic for each type parameter here:
64 | def pep_696_bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]():
   |                                                                                ^
65 |     pass
   |
help: Add missing whitespace
   |
63 | # There should be at least one E251 diagnostic for each type parameter here:
   - def pep_696_bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]():
64 + def pep_696_bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object = bool, G: object= bytes]():
65 |     pass
   |

E252 [*] Missing whitespace around parameter equals
  --> E25.py:64:96
   |
63 | # There should be at least one E251 diagnostic for each type parameter here:
64 | def pep_696_bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]():
   |                                                                                                ^
65 |     pass
   |
help: Add missing whitespace
   |
63 | # There should be at least one E251 diagnostic for each type parameter here:
   - def pep_696_bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]():
64 + def pep_696_bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object = bytes]():
65 |     pass
   |

E252 [*] Missing whitespace around parameter equals
  --> E25.py:67:18
   |
65 |     pass
66 |
67 | class PEP696Bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]:
   |                  ^
68 |     pass
   |
help: Add missing whitespace
   |
66 |
   - class PEP696Bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]:
67 + class PEP696Bad[A =int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]:
68 |     pass
   |

E252 [*] Missing whitespace around parameter equals
  --> E25.py:67:18
   |
65 |     pass
66 |
67 | class PEP696Bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]:
   |                  ^
68 |     pass
   |
help: Add missing whitespace
   |
66 |
   - class PEP696Bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]:
67 + class PEP696Bad[A= int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]:
68 |     pass
   |

E252 [*] Missing whitespace around parameter equals
  --> E25.py:67:26
   |
65 |     pass
66 |
67 | class PEP696Bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]:
   |                          ^
68 |     pass
   |
help: Add missing whitespace
   |
66 |
   - class PEP696Bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]:
67 + class PEP696Bad[A=int, B = str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]:
68 |     pass
   |

E252 [*] Missing whitespace around parameter equals
  --> E25.py:67:33
   |
65 |     pass
66 |
67 | class PEP696Bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]:
   |                                 ^
68 |     pass
   |
help: Add missing whitespace
   |
66 |
   - class PEP696Bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]:
67 + class PEP696Bad[A=int, B =str, C = bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]:
68 |     pass
   |

E252 [*] Missing whitespace around parameter equals
  --> E25.py:67:49
   |
65 |     pass
66 |
67 | class PEP696Bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]:
   |                                                 ^
68 |     pass
   |
help: Add missing whitespace
   |
66 |
   - class PEP696Bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]:
67 + class PEP696Bad[A=int, B =str, C= bool, D:object =int, E: object=str, F: object =bool, G: object= bytes]:
68 |     pass
   |

E252 [*] Missing whitespace around parameter equals
  --> E25.py:67:49
   |
65 |     pass
66 |
67 | class PEP696Bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]:
   |                                                 ^
68 |     pass
   |
help: Add missing whitespace
   |
66 |
   - class PEP696Bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]:
67 + class PEP696Bad[A=int, B =str, C= bool, D:object= int, E: object=str, F: object =bool, G: object= bytes]:
68 |     pass
   |

E252 [*] Missing whitespace around parameter equals
  --> E25.py:67:64
   |
65 |     pass
66 |
67 | class PEP696Bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]:
   |                                                                ^
68 |     pass
   |
help: Add missing whitespace
   |
66 |
   - class PEP696Bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]:
67 + class PEP696Bad[A=int, B =str, C= bool, D:object=int, E: object =str, F: object =bool, G: object= bytes]:
68 |     pass
   |

E252 [*] Missing whitespace around parameter equals
  --> E25.py:67:64
   |
65 |     pass
66 |
67 | class PEP696Bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]:
   |                                                                ^
68 |     pass
   |
help: Add missing whitespace
   |
66 |
   - class PEP696Bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]:
67 + class PEP696Bad[A=int, B =str, C= bool, D:object=int, E: object= str, F: object =bool, G: object= bytes]:
68 |     pass
   |

E252 [*] Missing whitespace around parameter equals
  --> E25.py:67:80
   |
65 |     pass
66 |
67 | class PEP696Bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]:
   |                                                                                ^
68 |     pass
   |
help: Add missing whitespace
   |
66 |
   - class PEP696Bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]:
67 + class PEP696Bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object = bool, G: object= bytes]:
68 |     pass
   |

E252 [*] Missing whitespace around parameter equals
  --> E25.py:67:96
   |
65 |     pass
66 |
67 | class PEP696Bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]:
   |                                                                                                ^
68 |     pass
   |
help: Add missing whitespace
   |
66 |
   - class PEP696Bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object= bytes]:
67 + class PEP696Bad[A=int, B =str, C= bool, D:object=int, E: object=str, F: object =bool, G: object = bytes]:
68 |     pass
   |
