Let travis test pep8

This commit is contained in:
Oskar Hahn 2012-11-26 10:11:36 +01:00
parent abd21dd345
commit c276bce780
2 changed files with 7 additions and 3 deletions

View File

@ -5,6 +5,8 @@ python:
- "2.7"
install:
- pip install -r requirements.txt --use-mirrors
- pip install coverage django-discover-runner
- pip install coverage django-discover-runner pep8
- python extras/scripts/create_local_settings.py
script: coverage run ./manage.py test tests && coverage report -m
script:
- coverage run ./manage.py test tests && coverage report -m
- pep8 --max-line-length=150 openslides | grep -v utils/pdf.py | grep -v urls.py | grep -v motion/

View File

@ -138,7 +138,9 @@ class Group(DjangoGroup, PersonMixin, Person, SlideMixin):
person_prefix = 'group'
django_group = models.OneToOneField(DjangoGroup, editable=False, parent_link=True)
group_as_person = models.BooleanField(default=False, verbose_name=_("Use this group as participant"), help_text=_('For example as submitter of a motion.'))
group_as_person = models.BooleanField(
default=False, verbose_name=_("Use this group as participant"),
help_text=_('For example as submitter of a motion.'))
description = models.TextField(blank=True, verbose_name=_("Description"))
@models.permalink