Self hosted FLOSS fitness/workout, nutrition and weight tracker
Automatic linting
Github-actionsa161d9832d78
diff --git a/wger/__init__.py b/wger/__init__.pyindex 9bc1a9995..d538badb0 100644--- a/wger/__init__.py+++ b/wger/__init__.py@@ -18,6 +18,7 @@ from packaging.version import Version# Localfrom .celery_configuration import app+MIN_APP_VERSION = Version('1.8.0')"""Minimum version of the mobile app required to access this server"""diff --git a/wger/manager/api/fields.py b/wger/manager/api/fields.pyindex ada3e332d..c997304fb 100644--- a/wger/manager/api/fields.py+++ b/wger/manager/api/fields.py@@ -1,6 +1,9 @@-from rest_framework import serializers+# Standard Libraryfrom decimal import Decimal+# Third Party+from rest_framework import serializers+class DecimalOrIntegerField(serializers.DecimalField):"""diff --git a/wger/nutrition/management/commands/sync-ingredients.py b/wger/nutrition/management/commands/sync-ingredients.pyindex 4b455191c..2f344cc4e 100644--- a/wger/nutrition/management/commands/sync-ingredients.py+++ b/wger/nutrition/management/commands/sync-ingredients.py@@ -62,5 +62,4 @@ class Command(WgerCommand):except ValidationError as e:raise CommandError('\n'.join([str(arg) for arg in e.args if arg is not None]))-sync_ingredients(self.stdout.write, self.remote_url, self.languages, self.style.SUCCESS)diff --git a/wger/settings_global.py b/wger/settings_global.pyindex ac4664d9f..9bda81f43 100644--- a/wger/settings_global.py+++ b/wger/settings_global.py@@ -23,6 +23,7 @@ from datetime import timedeltafrom wger import get_versionfrom wger.utils.constants import DOWNLOAD_INGREDIENT_WGER+"""This file contains the global settings that don't usually need to be changed.For a full list of options, visit:diff --git a/wger/weight/urls.py b/wger/weight/urls.pyindex 06cb0e376..8157d8161 100644--- a/wger/weight/urls.py+++ b/wger/weight/urls.py@@ -27,6 +27,7 @@ from wger.core.views.react import ReactViewfrom wger.weight import viewsfrom wger.weight.forms import WeightCsvImportForm+urlpatterns = [path('export-csv/',