From ff8e1b43634506b96784cf1439332e1090ec60bd Mon Sep 17 00:00:00 2001 From: Felix Date: Mon, 17 Dec 2018 16:51:31 +0100 Subject: [PATCH] Remove sqlparse --- django_migration_linter/migration_linter.py | 2 +- setup.py | 1 - tox.ini | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/django_migration_linter/migration_linter.py b/django_migration_linter/migration_linter.py index 79f25e6..139cbe6 100644 --- a/django_migration_linter/migration_linter.py +++ b/django_migration_linter/migration_linter.py @@ -27,7 +27,7 @@ logger = logging.getLogger(__name__) # Can be used to mark ignored migrations. # This is a noop for SQL. Comments would be better. # But comments are stripped by RunSQL -IGNORE_MIGRATION = "SELECT 'dml-ignore'" +IGNORE_MIGRATION = ("SELECT 'dml-ignore'", ) class MigrationLinter(object): diff --git a/setup.py b/setup.py index 2145545..79ca34d 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,6 @@ with open(path.join(PROJECT_DIR, 'README.rst')) as f: install_requirements = [ 'django>=1.11', - 'sqlparse>=0.2.4' ] test_requirements = [ diff --git a/tox.ini b/tox.ini index 66749df..7ffc655 100644 --- a/tox.ini +++ b/tox.ini @@ -11,7 +11,6 @@ pip_pre = true deps = django111: django>=1.11,<2.0 django20: django>=2.0 - sqlparse [testenv:lint] basepython = python3.6