Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Bojan Serafimov committed Feb 1, 2019
1 parent 163956f commit 6302e02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions graphql_compiler/compiler/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ def __init__(self, query_path, field=None, visit_counter=1):
self.visit_counter = visit_counter

def remove_field(self):
"""return a new location object with field set to none."""
"""Return a new location object with field set to none."""
return Location(self.query_path, field=None, visit_counter=self.visit_counter)

def navigate_to_field(self, field):
Expand Down Expand Up @@ -503,7 +503,7 @@ def get_first_folded_edge(self):
return first_folded_edge_direction, first_folded_edge_name

def remove_field(self):
"""return a new location object with field set to none."""
"""Return a new location object with field set to none."""
return FoldScopeLocation(self.base_location, self.fold_path, field=None)

def navigate_to_field(self, field):
Expand Down

0 comments on commit 6302e02

Please sign in to comment.