Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove Python2 crumbs #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ A collection of tools for making it easier to use pyScss within Django.
Installation
============

django-pyscss supports Django 1.4+, and Pythons 2 and 3.
django-pyscss supports Django 1.4+, and Python 3.

You may install django-pyscss off of PyPI::

Expand Down
2 changes: 0 additions & 2 deletions django_pyscss/compiler.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import absolute_import

import os
from pathlib import PurePath
from io import StringIO
Expand Down
2 changes: 0 additions & 2 deletions django_pyscss/compressor.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import absolute_import

from compressor.filters import FilterBase
from compressor.conf import settings

Expand Down
2 changes: 0 additions & 2 deletions django_pyscss/extension/django.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import absolute_import, unicode_literals

import os

from itertools import product
Expand Down
3 changes: 0 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ def read(fname):
'Pillow',
'django-compressor>=1.3',
'django-discover-runner',
'mock',
]


Expand Down Expand Up @@ -52,8 +51,6 @@ def read(fname):
'License :: OSI Approved :: BSD License',
'Topic :: Internet :: WWW/HTTP',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
Expand Down
4 changes: 2 additions & 2 deletions tests/test_scss.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import os
import re
import mock
from unittest import mock

from django.test import TestCase
from django.conf import settings
Expand Down Expand Up @@ -44,7 +44,7 @@
DOT_FILE_CONTENTS = f.read()


class CompilerTestMixin(object):
class CompilerTestMixin:
def setUp(self):
self.compiler = DjangoScssCompiler()
super(CompilerTestMixin, self).setUp()
Expand Down