Skip to content

Commit 95f5eff

Browse files
committed
Punt on refactoring
1 parent f40bb53 commit 95f5eff

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

prospector-more.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ inherits: prospector
22

33
strictness: medium
44

5-
ignore-paths:
6-
- restapi/
7-
85
pylint:
96
options:
107
docstring-min-length: 20

readthedocs/restapi/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ def index_search_request(version, page_list, commit, project_scale, page_scale,
8585
In order to keep sub-projects all indexed on the same shard, indexes will be
8686
updated using the parent project's slug as the routing value.
8787
"""
88+
# TODO refactor this function
89+
# pylint: disable=too-many-locals
8890
project = version.project
8991

9092
log_msg = ' '.join([page['path'] for page in page_list])

readthedocs/restapi/views/footer_views.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ def get_version_compare_data(project, base_version=None):
5555
@decorators.renderer_classes((JSONRenderer, JSONPRenderer))
5656
def footer_html(request):
5757
"""Render and return footer markup."""
58+
# TODO refactor this function
59+
# pylint: disable=too-many-locals
5860
project_slug = request.GET.get('project', None)
5961
version_slug = request.GET.get('version', None)
6062
page_slug = request.GET.get('page', None)

0 commit comments

Comments
 (0)