Skip to content

Commit

Permalink
Merge 19bdb62 into a927523
Browse files Browse the repository at this point in the history
  • Loading branch information
cwdavies committed Jul 6, 2020
2 parents a927523 + 19bdb62 commit cd064c2
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ deps=
commands=
black --check wagtailflags setup.py
flake8 .
isort --check-only --diff --recursive wagtailflags
isort --check-only --diff wagtailflags

[flake8]
ignore=E731,W503,W504
Expand All @@ -50,7 +50,6 @@ lines_after_imports=2
include_trailing_comma=1
multi_line_output=3
skip=.tox,migrations
not_skip=__init__.py
use_parentheses=1
known_django=django
known_wagtail=wagtail
Expand Down
1 change: 1 addition & 0 deletions wagtailflags/tests/test_conditions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from wagtail.core.models import Site

from flags.conditions import RequiredForCondition

from wagtailflags.conditions import site_condition


Expand Down
1 change: 1 addition & 0 deletions wagtailflags/tests/test_templatetags_wagtailflags_admin.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from django.test import TestCase, override_settings

from flags.sources import get_flags

from wagtailflags.templatetags.wagtailflags_admin import disablable, enablable


Expand Down
3 changes: 1 addition & 2 deletions wagtailflags/tests/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
try: # pragma: no cover; >= 2.0
from django.urls import include, re_path
except ImportError: # pragma: no cover; fallback for Django < 2.0
from django.conf.urls import include
from django.conf.urls import url as re_path
from django.conf.urls import include, url as re_path


urlpatterns = [
Expand Down
1 change: 1 addition & 0 deletions wagtailflags/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from flags.models import FlagState
from flags.sources import get_flags
from flags.templatetags.flags_debug import bool_enabled

from wagtailflags.forms import FlagStateForm, NewFlagForm


Expand Down
5 changes: 2 additions & 3 deletions wagtailflags/wagtail_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@


try: # pragma: no cover; >= 2.0
from django.urls import include, reverse, re_path
from django.urls import include, re_path, reverse
except ImportError: # pragma: no cover; fallback for Django < 2.0
from django.conf.urls import include
from django.conf.urls import url as re_path
from django.conf.urls import include, url as re_path
from django.core.urlresolvers import reverse


Expand Down

0 comments on commit cd064c2

Please sign in to comment.