Skip to content

Commit

Permalink
chore: appease linter
Browse files Browse the repository at this point in the history
  • Loading branch information
shrouxm committed Feb 13, 2024
1 parent d948340 commit d046062
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions terraso_backend/apps/soil_id/models/depth_dependent_soil_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,16 +107,20 @@ class ColorChroma(models.TextChoices):
color_chroma = models.CharField(blank=True, null=True, choices=ColorChroma.choices)

class ColorPhotoSoilCondition(models.TextChoices):
MOIST = "MOIST"
DRY = "DRY"
MOIST = "MOIST"
DRY = "DRY"

color_photo_soil_condition = models.CharField(
blank=True, null=True, choices=ColorPhotoSoilCondition
)

color_photo_soil_condition = models.CharField(blank=True, null=True, choices = ColorPhotoSoilCondition)

class ColorPhotoLightingCondition(models.TextChoices):
EVEN = "EVEN"
UNEVEN = "UNEVEN"
EVEN = "EVEN"
UNEVEN = "UNEVEN"

color_photo_lighting_condition = models.CharField(blank=True, null=True, choices = ColorPhotoLightingCondition)
color_photo_lighting_condition = models.CharField(
blank=True, null=True, choices=ColorPhotoLightingCondition
)

conductivity = models.DecimalField(
blank=True, null=True, max_digits=100, decimal_places=2, validators=[MinValueValidator(0)]
Expand Down

0 comments on commit d046062

Please sign in to comment.