Skip to content

Fixup linting issues in the search module #2884

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

Merged
merged 5 commits into from
May 26, 2017

Conversation

cmc333333
Copy link
Contributor

Easiest to review changeset-by-changeset. This includes general docstrings, lazy logging, etc. but also refactors a few chunks of code to have fewer branches and locals.

CM Lubinski added 5 commits May 22, 2017 22:53
Flake8 warned about using too many local vars. Combine that input into a
namedtuple and access the attributes from it.
This uses `extend` as the logic currently allows documentation_type to include
both sphinx and mkdocs. If that doesn't make sense, let's simplify.
@agjohnson
Copy link
Contributor

I finally got around to looking all of this over, and it all looks great. Thanks for the cleanup!

@agjohnson agjohnson merged commit 47b62b2 into readthedocs:master May 26, 2017
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