-
Notifications
You must be signed in to change notification settings - Fork 8
Consider using pylint-pytest #446
Copy link
Copy link
Open
Labels
part:templateAffects the cookiecutter template filesAffects the cookiecutter template filespart:testsAffects the unit, integration and performance (benchmarks) testsAffects the unit, integration and performance (benchmarks) teststype:enhancementNew feature or enhancement visitble to usersNew feature or enhancement visitble to users
Milestone
Metadata
Metadata
Assignees
Labels
part:templateAffects the cookiecutter template filesAffects the cookiecutter template filespart:testsAffects the unit, integration and performance (benchmarks) testsAffects the unit, integration and performance (benchmarks) teststype:enhancementNew feature or enhancement visitble to usersNew feature or enhancement visitble to users
What's needed?
Get less false positives when linting
pytesttests.Proposed solution
Consider using pylint-pytest, which disables typical annoying false positives when writing tests with
pytest, like when using a fixture as a function argument but not in the body, and also enables somepytestspecific lints.