Skip to content

Commit

Permalink
ignore specific too long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Sh4kE committed Dec 10, 2016
1 parent 326053b commit da5afbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -781,11 +781,11 @@ def get_from_matchday(matchday):

@staticmethod
def _name_from_matchday(matchday):
if Constants.Quarters.FOURTH_QUARTER_LEVEL_UP_DAY <= matchday.number < Constants.Quarters.FIRST_QUARTER_LEVEL_UP_DAY:
if Constants.Quarters.FOURTH_QUARTER_LEVEL_UP_DAY <= matchday.number < Constants.Quarters.FIRST_QUARTER_LEVEL_UP_DAY: # pylint: disable=line-too-long
return 'awp_boundaries_' + str(matchday.season.number) + '_0'
elif Constants.Quarters.FIRST_QUARTER_LEVEL_UP_DAY <= matchday.number < Constants.Quarters.SECOND_QUARTER_LEVEL_UP_DAY:
elif Constants.Quarters.FIRST_QUARTER_LEVEL_UP_DAY <= matchday.number < Constants.Quarters.SECOND_QUARTER_LEVEL_UP_DAY: # pylint: disable=line-too-long
return 'awp_boundaries_' + str(matchday.season.number) + '_1'
elif Constants.Quarters.SECOND_QUARTER_LEVEL_UP_DAY <= matchday.number < Constants.Quarters.THIRD_QUARTER_LEVEL_UP_DAY:
elif Constants.Quarters.SECOND_QUARTER_LEVEL_UP_DAY <= matchday.number < Constants.Quarters.THIRD_QUARTER_LEVEL_UP_DAY: # pylint: disable=line-too-long
return 'awp_boundaries_' + str(matchday.season.number) + '_2'
else:
return 'awp_boundaries_' + str(matchday.season.number) + '_3'
Expand Down

0 comments on commit da5afbd

Please sign in to comment.