Skip to content

Simplify fixture in tests/test_extensions/test_ext_apidoc.py by remov… #13695

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adamtheturtle
Copy link
Contributor

…ing unused return value

pargs was being calculated and returned but never used.

@adamtheturtle
Copy link
Contributor Author

I chose to do this rather than add type hints to pargs. In a follow up I will remove type ignores for this file.

@@ -37,16 +37,13 @@ def apidoc(rootdir, tmp_path, apidoc_params):


@pytest.fixture
def apidoc_params(request):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is currently in line with app_params(), perhaps worth maintaining the pattern?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As in just ditch this PR? I'm OK to do that

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

Successfully merging this pull request may close these issues.

2 participants