Skip to content

Commit

Permalink
Follow PEP 8
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlia committed Nov 26, 2015
1 parent cea2975 commit 3f4e5c2
Show file tree
Hide file tree
Showing 11 changed files with 710 additions and 519 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -6,5 +6,6 @@ dist
*.egg
*.egg-info
.*.swp
.cache
.coverage
.DS_Store
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -12,7 +12,7 @@ env:
- secure: "EhG2uSD2m1eGxuL2HeQewJJx7MVL4WpjrxyfiUBEgsApemD1yKJPjUnLwAyd\nbPi5HJx5ySm1TTRSvj6/yP85YLYTaJHA8OabKk7p0wFW294qcrYIDGovU7NL\n3YOqZmqN+S3XOBGFCOnByxE+pcxxWW/3/I09EgeW7D6tBPh67G0="
install:
- echo $TRAVIS_PYTHON_VERSION
- pip install pytest pytest-xdist pytest-capturelog memory_profiler psutil coveralls
- pip install pytest pytest-xdist pytest-capturelog memory_profiler psutil coveralls flake8
- >
if [[ "$TRAVIS_PYTHON_VERSION" != "3.2" && "$TRAVIS_PYTHON_VERSION" != "pypy" && "$TRAVIS_PYTHON_VERSION" != "pypy3" ]]; then
pip install 'pytest-cov>=1.8.0';
Expand All @@ -26,5 +26,6 @@ script:
else
py.test --cov wand --boxed --durations=20;
fi
- flake8 .
after_success:
- coveralls
12 changes: 6 additions & 6 deletions docs/conf.py
Expand Up @@ -27,7 +27,7 @@
# on ReadTheDocs builder.
if os.environ.get('READTHEDOCS', 0):
try:
import wand.api
import wand.api # noqa
except ImportError:
pass

Expand Down Expand Up @@ -92,8 +92,8 @@ def __reduce__(self):
master_doc = 'index'

# General information about the project.
project = u'Wand'
copyright = str(datetime.date.today().year) + u', Hong Minhee'
project = 'Wand'
copyright = str(datetime.date.today().year) + ', Hong Minhee'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down Expand Up @@ -235,7 +235,7 @@ def __reduce__(self):
# (source start file, target name, title, author,
# documentclass [howto/manual]).
latex_documents = [
('index', 'Wand.tex', u'Wand Documentation', u'Hong Minhee', 'manual'),
('index', 'Wand.tex', 'Wand Documentation', 'Hong Minhee', 'manual'),
]

# The name of an image file (relative to this directory) to place at the top of
Expand Down Expand Up @@ -267,8 +267,8 @@ def __reduce__(self):
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'wand', u'Wand Documentation',
[u'Hong Minhee'], 1)
('index', 'wand', 'Wand Documentation',
['Hong Minhee'], 1)
]


Expand Down

0 comments on commit 3f4e5c2

Please sign in to comment.