build(deps): drop six from requirements

It is only used in a single place to check for Python 2, which can
easily be inlined.
This commit is contained in:
Daniel Hahler authored and David Wobrock committed 2021-09-13 23:04:37 +02:00
1 parent 1612ecc029
commit 5a969b578e
2 files changed
+3 -2

No files matched your search

+3 -1
View File
@@ -5,6 +5,7 @@ import inspect
import logging
import os
import re
import sys
from enum import Enum, unique
from subprocess import PIPE, Popen
@@ -12,7 +13,6 @@ from django.conf import settings
from django.core.management import call_command
from django.db import DEFAULT_DB_ALIAS, ProgrammingError, connections
from django.db.migrations import RunPython, RunSQL
from six import PY2
from .cache import Cache
from .constants import (
@@ -26,6 +26,8 @@ from .utils import clean_bytes_to_str, get_migration_abspath, split_migration_pa
logger = logging.getLogger("django_migration_linter")
PY2 = sys.version_info[0] == 2
@unique
class MessageType(Enum):
-1
View File
@@ -35,7 +35,6 @@ setup(
"django>=1.11",
"appdirs>=1.4.3",
'enum34>=1.1.6;python_version<"3.4"',
"six>=1.14.0",
"toml>=0.10.2",
],
extras_require={