Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle pytest autouse fixtures #382

Open
afeld opened this issue Jan 9, 2025 · 1 comment
Open

handle pytest autouse fixtures #382

afeld opened this issue Jan 9, 2025 · 1 comment

Comments

@afeld
Copy link

afeld commented Jan 9, 2025

Functions with the @pytest.fixture(autouse=True) decorator aren't expected to be called from user code, yet they appear as an unused function. Would be nice to have those excluded.

Cool tool, thanks!

@afeld
Copy link
Author

afeld commented Jan 9, 2025

Similarly, pytest_runtest_setup is reported but is a supported hook.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant