Has anyone had any success with the pylint plugin ...
# general
a
Has anyone had any success with the pylint plugin
pylint_pytest
. We are getting a bunch of F6401: pylint-pytest plugin cannot enumerate and collect pytest fixtures. Please run
pytest --fixtures --collect-only path/to/current/module.py
and resolve any potential syntax error or package dependency issues (cannot-enumerate-pytest-fixtures) errors, especially when not running over the full tests, and only a partial set. Any ideas on how to fix, or should we just stop using it.
b
The
pants --keep-sandboxes=on_failure ...
argument is very handy for debugging these sort of things (https://www.pantsbuild.org/docs/reference-global#keep_sandboxes), as it allows you to jump into the sandbox pants has created and see what files exist/what's actually being run. This might help you work out what the problem is.