Skip to content

Commit

Permalink
Remove six.
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilStenstrom committed Feb 12, 2021
1 parent 95765f6 commit 8f2440a
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 27 deletions.
3 changes: 1 addition & 2 deletions django_components/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@
from django.template.base import NodeList, TokenType
from django.template.loader import get_template
from django.utils.safestring import mark_safe
from six import with_metaclass

# Allow "component.AlreadyRegistered" instead of having to import these everywhere
from django_components.component_registry import AlreadyRegistered, ComponentRegistry, NotRegistered # noqa


class Component(with_metaclass(MediaDefiningClass)):
class Component(metaclass=MediaDefiningClass):

def __init__(self, component_name):
self.__component_name = component_name
Expand Down
1 change: 0 additions & 1 deletion requirements-dev.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
django
six
tox
pytest
flake8
Expand Down
84 changes: 60 additions & 24 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,64 @@
# This file is autogenerated by pip-compile
# To update, run:
#
# pip-compile --output-file=requirements-dev.txt requirements-dev.in
# pip-compile requirements-dev.in
#
appdirs==1.4.4 # via virtualenv
asgiref==3.3.0 # via django
attrs==20.2.0 # via pytest
distlib==0.3.1 # via virtualenv
django==3.1.3 # via -r requirements-dev.in
filelock==3.0.12 # via tox, virtualenv
flake8==3.8.4 # via -r requirements-dev.in
iniconfig==1.1.1 # via pytest
isort==5.6.4 # via -r requirements-dev.in
mccabe==0.6.1 # via flake8
packaging==20.4 # via pytest, tox
pluggy==0.13.1 # via pytest, tox
py==1.9.0 # via pytest, tox
pycodestyle==2.6.0 # via flake8
pyflakes==2.2.0 # via flake8
pyparsing==2.4.7 # via packaging
pytest==6.1.2 # via -r requirements-dev.in
pytz==2020.4 # via django
six==1.15.0 # via -r requirements-dev.in, packaging, tox, virtualenv
sqlparse==0.4.1 # via django
toml==0.10.2 # via pytest, tox
tox==3.20.1 # via -r requirements-dev.in
virtualenv==20.1.0 # via tox
appdirs==1.4.4
# via virtualenv
asgiref==3.3.0
# via django
attrs==20.2.0
# via pytest
distlib==0.3.1
# via virtualenv
django==3.1.3
# via -r requirements-dev.in
filelock==3.0.12
# via
# tox
# virtualenv
flake8==3.8.4
# via -r requirements-dev.in
iniconfig==1.1.1
# via pytest
isort==5.6.4
# via -r requirements-dev.in
mccabe==0.6.1
# via flake8
packaging==20.4
# via
# pytest
# tox
pluggy==0.13.1
# via
# pytest
# tox
py==1.9.0
# via
# pytest
# tox
pycodestyle==2.6.0
# via flake8
pyflakes==2.2.0
# via flake8
pyparsing==2.4.7
# via packaging
pytest==6.1.2
# via -r requirements-dev.in
pytz==2020.4
# via django
six==1.15.0
# via
# packaging
# tox
# virtualenv
sqlparse==0.4.1
# via django
toml==0.10.2
# via
# pytest
# tox
tox==3.20.1
# via -r requirements-dev.in
virtualenv==20.1.0
# via tox

0 comments on commit 8f2440a

Please sign in to comment.