You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We had several issues because people thought that "abs" was the first parameter and when they omitted the keyword argument, the checked tolerance was suddenly much larger.
Plus I think it makes reading the code much easier.
The text was updated successfully, but these errors were encountered:
Rule request
Description
I think a rule to test that all arguments but the first of pytest.approx() are keyword arguments would be useful
example (bad):
example (very bad):
example (good):
Rationale
We had several issues because people thought that "abs" was the first parameter and when they omitted the keyword argument, the checked tolerance was suddenly much larger.
Plus I think it makes reading the code much easier.
The text was updated successfully, but these errors were encountered: