"""Views for the general application."""

from django.views.generic import TemplateView
from django.http import HttpResponse


class GeneralIndexView(TemplateView):
    """View for the homepage that renders from a template."""

    template_name = 'general/index.html'


class GeneralAboutView(TemplateView):
    """View for the about page that renders from a template."""

    template_name = 'general/about.html'


class GeneralContactView(TemplateView):
    """View for the contact page that renders from a template."""

    template_name =  'general/contact.html'


class GeneralPeopleView(TemplateView):
    """View for the people page that renders from a template."""

    template_name = 'general/people.html'


class GeneralPrinciplesView(TemplateView):
    """View for the princples page that renders from a template."""

    template_name = 'general/principles.html'


def health_check(request):
    """Return heath check response for Google App Engine.

    Returns a 200 HTTP response for Google App Engine to detect the system
    is running.
    """
    return HttpResponse(status=200)

"""Views for the general application."""

from django.views.generic import TemplateView
from django.http import HttpResponse


class GeneralIndexView(TemplateView):
    """View for the homepage that renders from a template."""

    template_name = 'general/index.html'


class GeneralAboutView(TemplateView):
    """View for the about page that renders from a template."""

    template_name = 'general/about.html'


class GeneralContactView(TemplateView):
    """View for the contact page that renders from a template"""

    template_name =  'general/contact.html'


class GeneralPeopleView(TemplateView):
    """View for the people page that renders from a template."""

    template_name = 'general/people.html'


class GeneralPrinciplesView(TemplateView):
    """View for the princples page that renders from a template."""

    template_name = 'general/principles.html'


def health_check(request):
    """Return heath check response for Google App Engine.

    Returns a 200 HTTP response for Google App Engine to detect the system
    is running.
    """
    return HttpResponse(status=200)

Break PEP8 and Pydocstring to check Travis