mirror of
https://github.com/django-components/django-components.git
synced 2025-08-31 19:27:19 +00:00
Remove six.
This commit is contained in:
parent
95765f6941
commit
8f2440a757
3 changed files with 61 additions and 27 deletions
|
@ -7,13 +7,12 @@ from django.forms.widgets import MediaDefiningClass
|
|||
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
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
django
|
||||
six
|
||||
tox
|
||||
pytest
|
||||
flake8
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue