Should pyflakes detect "keyword argument repeated" SyntaxError?

16 Views Asked by At

I'm using pyflakes to try and catch errors in a text editor within a PyQt application. I notice that it doesn't recognize that passing duplicate arguments to a function call results in a SyntaxError as below:

pyflakes.api.check("def f(x=0):pass; f(x=1,x=2)")

Is this a bug, or am I misunderstanding what pyflakes should be used for?

0

There are 0 best solutions below