pyfrc icon indicating copy to clipboard operation
pyfrc copied to clipboard

Add pyflakes tests

Open virtuald opened this issue 8 years ago • 2 comments

pyflakes only detects things that are actually code errors (well... mostly), and it's pretty fast. Should add this in the future.

I think I would have it separate from the tests, as most of the things that pyflakes catches are things that are almost certainly errors.

virtuald avatar Mar 10 '17 03:03 virtuald

Note that pyflakes will emit warnings such as these too:

tests/pyfrc_test.py:6:1: 'from pyfrc.tests import *' used; unable to detect undefined names
tests/pyfrc_test.py:6:1: 'pyfrc.tests.*' imported but unused

flake8 assigns those error codes F403 and F401 respectively. ruff emits the first error, but not the second for some reason (which is probably a bug).

auscompgeek avatar Jan 02 '23 11:01 auscompgeek