PEP-8 enhancements

This commit is contained in:
Scot Hacker 2016-12-04 23:17:34 -08:00
parent 2745c56c47
commit 84a2e6ca08
4 changed files with 2 additions and 3 deletions

View file

@ -72,6 +72,7 @@ def read_file(*pathname):
with open(join(dirname(abspath(__file__)), *pathname)) as f:
return f.read()
setup(
name='django-todo',
version=package.__version__,

View file

@ -5,7 +5,6 @@ from todo.models import Item, List
from django.contrib.auth import get_user_model
class AddListForm(ModelForm):
# The picklist showing allowable groups to which a new list can be added
# determines which groups the user belongs to. This queries the form object

View file

@ -9,7 +9,6 @@ from django.utils.encoding import python_2_unicode_compatible
from django.conf import settings
@python_2_unicode_compatible
class List(models.Model):
name = models.CharField(max_length=60)

View file

@ -14,7 +14,7 @@ from django.template.loader import render_to_string
from django.views.decorators.csrf import csrf_exempt
from django.contrib.sites.models import Site
from todo import settings
from todo import settings
from todo.forms import AddListForm, AddItemForm, EditItemForm, AddExternalItemForm, SearchForm
from todo.models import Item, List, Comment
from todo.utils import mark_done, undo_completed_task, del_tasks, send_notify_mail