From 9478da2ad27e5558d2aabd025a93b03dbbfad95f Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Tue, 2 Mar 2021 15:53:56 +1100 Subject: [PATCH] Remove django-migration-linter which was causing strange errors --- .travis.yml | 4 ---- InvenTree/InvenTree/settings.py | 1 - requirements.txt | 1 - 3 files changed, 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 872ef0eb0d..52d0ef1c5c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -48,10 +48,6 @@ script: - rm inventree_default_db.sqlite3 - invoke migrate - invoke import-records -f data.json - # Run linting checks on migration files (django-migration-linter) - # Run subset of linting checks on *ALL* migration files - # Run strict migration file checks on *NEW* migrations (old ones are what they are) - - cd InvenTree && python manage.py lintmigrations 79ddea50f507e34195bad635008419daac0d7a5f -q ok ignore --no-cache && cd .. after_success: - coveralls \ No newline at end of file diff --git a/InvenTree/InvenTree/settings.py b/InvenTree/InvenTree/settings.py index 3abb99010f..1a298240bc 100644 --- a/InvenTree/InvenTree/settings.py +++ b/InvenTree/InvenTree/settings.py @@ -211,7 +211,6 @@ INSTALLED_APPS = [ 'djmoney', # django-money integration 'djmoney.contrib.exchange', # django-money exchange rates 'error_report', # Error reporting in the admin interface - 'django_migration_linter', # Linting checking for migration files ] MIDDLEWARE = CONFIG.get('middleware', [ diff --git a/requirements.txt b/requirements.txt index cf05148ebf..7bbc14bd54 100644 --- a/requirements.txt +++ b/requirements.txt @@ -28,7 +28,6 @@ django-money==1.1 # Django app for currency management certifi # Certifi is (most likely) installed through one of the requirements above django-error-report==0.2.0 # Error report viewer for the admin interface django-test-migrations==1.1.0 # Unit testing for database migrations -django-migration-linter==2.5.0 # Linting checks for database migrations python-barcode[images]==0.13.1 # Barcode generator qrcode[pil]==6.1 # QR code generator