mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-13 09:32:26 +03:00
Merge pull request #149 from benjaminabel/check-pep8
Check for pep8 errors using travis
This commit is contained in:
commit
57eeef37d0
7
.travis.yml
Normal file
7
.travis.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
language: python
|
||||
|
||||
before_install:
|
||||
- time pip install pep8
|
||||
|
||||
script:
|
||||
- pep8 --ignore E201,E202 --max-line-length=120 --exclude='migrations' .
|
|
@ -5,6 +5,10 @@ cookiecutter-django
|
|||
:target: https://requires.io/github/pydanny/cookiecutter-django/requirements/?branch=master
|
||||
:alt: Requirements Status
|
||||
|
||||
.. image:: https://travis-ci.org/pydanny/cookiecutter-django.svg?branch=master
|
||||
:target: https://travis-ci.org/pydanny/cookiecutter-django.svg?branch=master
|
||||
:alt: Build Status
|
||||
|
||||
A cookiecutter_ template for Django.
|
||||
|
||||
.. _cookiecutter: https://github.com/audreyr/cookiecutter
|
||||
|
|
|
@ -11,7 +11,8 @@
|
|||
# All configuration values have a default; values that are commented out
|
||||
# serve to show the default.
|
||||
|
||||
import sys, os
|
||||
import os
|
||||
import sys
|
||||
|
||||
# If extensions (or modules to document with autodoc) are in another directory,
|
||||
# add these directories to sys.path here. If the directory is relative to the
|
||||
|
@ -183,7 +184,9 @@ latex_elements = {
|
|||
# Grouping the document tree into LaTeX files. List of tuples
|
||||
# (source start file, target name, title, author, documentclass [howto/manual]).
|
||||
latex_documents = [
|
||||
('index', '{{ cookiecutter.repo_name }}.tex', u'{{ cookiecutter.project_name }} Documentation',
|
||||
('index',
|
||||
'{{ cookiecutter.repo_name }}.tex',
|
||||
u'{{ cookiecutter.project_name }} Documentation',
|
||||
u'{{ cookiecutter.author_name }}', 'manual'),
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user