diff --git a/djangocms_moderation/management/commands/moderation_fix_states.py b/djangocms_moderation/management/commands/moderation_fix_states.py index b4bd3c0f..c6387b19 100644 --- a/djangocms_moderation/management/commands/moderation_fix_states.py +++ b/djangocms_moderation/management/commands/moderation_fix_states.py @@ -1,4 +1,4 @@ -from django.core.management.base import BaseCommand, CommandError +from django.core.management.base import BaseCommand from djangocms_versioning import constants as versioning_constants diff --git a/setup.cfg b/setup.cfg index 2b15f90f..1fe92aab 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,6 +2,7 @@ max-line-length = 120 exclude = .git, + .env, __pycache__, **/migrations/, build/, diff --git a/tests/requirements.txt b/tests/requirements.txt index 6c2f15df..1a89422c 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -3,7 +3,6 @@ coverage djangocms_helper django_polymorphic==2.0.3 cachetools -mock factory-boy django-simple-captcha python-dateutil>=2.4