Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ajabeckett committed Oct 16, 2023
1 parent 2e22713 commit 90ecd7f
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions terraso_backend/apps/soil_id/models/soil_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ class LimeRequirements(models.TextChoices):
VERY_DIFFICULT = "VERY_DIFFICULT", "Very difficult to modify with lime"

lime_requirements_select = models.CharField(
blank=True, null=True, choices=LimeRequirements.choices)
blank=True, null=True, choices=LimeRequirements.choices
)

class SurfaceStoniness(models.TextChoices):
LESS_THAN_01 = "LESS_THAN_01", "< 0.1%"
Expand All @@ -147,7 +148,8 @@ class SurfaceStoniness(models.TextChoices):
GREATER_THAN_90 = "GREATER_THAN_90", "> 90%"

surface_stoniness_select = models.CharField(
blank=True, null=True, choices=SurfaceStoniness.choices)
blank=True, null=True, choices=SurfaceStoniness.choices
)

class WaterTableDepth(models.TextChoices):
NOT_FOUND = "NOT_FOUND", "Not found"
Expand All @@ -158,16 +160,21 @@ class WaterTableDepth(models.TextChoices):
GREATER_THAN_120_CM = "GREATER_THAN_120_CM", "> 120 cm"

water_table_depth_select = models.CharField(
blank=True, null=True, choices=WaterTableDepth.choices)
blank=True, null=True, choices=WaterTableDepth.choices
)

class SoilDepth(models.TextChoices):
NOT_FOUND = "NOT_FOUND", "Not found"
TWENTY_CM_OR_LESS = "TWENTY_CM_OR_LESS", "20 cm or less"
GREATER_THAN_20_LESS_THAN_50_CM = (
"GREATER_THAN_20_LESS_THAN_50_CM", "Greater than 20 and less than 50 cm")
"GREATER_THAN_20_LESS_THAN_50_CM",
"Greater than 20 and less than 50 cm",
)
BETWEEN_50_AND_70_CM = "BETWEEN_50_AND_70_CM", "Between 50 and 70 cm"
GREATER_THAN_70_LESS_THAN_100_CM = (
"GREATER_THAN_70_LESS_THAN_100_CM", "Greater than 70 and less than 100 cm")
"GREATER_THAN_70_LESS_THAN_100_CM",
"Greater than 70 and less than 100 cm",
)
HUNDRED_CM_OR_GREATER = "HUNDRED_CM_OR_GREATER", "100 cm or greater"

soil_depth_select = models.CharField(blank=True, null=True, choices=SoilDepth.choices)
Expand Down

0 comments on commit 90ecd7f

Please sign in to comment.