---
source: crates/ruff_linter/src/rules/pylint/mod.rs
---
property_with_parameters.py:7:9: PLR0206 Cannot have defined parameters for properties
  |
5 | class Cls:
6 |     @property
7 |     def attribute(self, param, param1):  # [property-with-parameters]
  |         ^^^^^^^^^ PLR0206
8 |         return param + param1
  |

property_with_parameters.py:11:9: PLR0206 Cannot have defined parameters for properties
   |
10 |     @property
11 |     def attribute_keyword_only(self, *, param, param1):  # [property-with-parameters]
   |         ^^^^^^^^^^^^^^^^^^^^^^ PLR0206
12 |         return param + param1
   |

property_with_parameters.py:15:9: PLR0206 Cannot have defined parameters for properties
   |
14 |     @property
15 |     def attribute_positional_only(self, param, param1, /):  # [property-with-parameters]
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^ PLR0206
16 |         return param + param1
   |


