Open Glavin001 opened 1 year ago
See https://refactoring.guru/remove-assignments-to-parameters
Given:
def discount(inputVal, quantity): if quantity > 50: inputVal -= 2
The sequence inputVal -= should be penalized.
inputVal -=
See https://refactoring.guru/remove-assignments-to-parameters
Given:
The sequence
inputVal -=
should be penalized.