Glavin001 / Glavin001/PeakProgrammer
Penalize assignments to parameters
Open
penalty
- Dominant language
- Jupyter Notebook
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
See https://refactoring.guru/remove-assignments-to-parameters
Given:
```python
def discount(inputVal, quantity):
if quantity > 50:
inputVal -= 2
```
The sequence `inputVal -=` should be penalized.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.