File tree Expand file tree Collapse file tree 4 files changed +21
-50
lines changed
Expand file tree Collapse file tree 4 files changed +21
-50
lines changed Original file line number Diff line number Diff line change 22__pycache__ /
33* .py [cod ]
44
5- # C extensions
6- * .so
7-
8- # Distribution / packaging
9- .Python
10- env /
11- build /
12- develop-eggs /
135dist /
14- downloads /
15- eggs /
16- lib /
17- lib64 /
18- parts /
19- sdist /
20- var /
216* .egg-info /
227.installed.cfg
238* .egg
24-
25- # PyInstaller
26- # Usually these files are written by a python script from a template
27- # before PyInstaller builds the exe, so as to inject date/other infos into it.
28- * .manifest
29- * .spec
30-
31- # Installer logs
32- pip-log.txt
33- pip-delete-this-directory.txt
34-
35- # Unit test / coverage reports
36- htmlcov /
37- .tox /
38- .coverage
39- .cache
40- nosetests.xml
41- coverage.xml
42-
43- # Translations
44- * .mo
45- * .pot
46-
47- # Django stuff:
48- * .log
49-
50- # Sphinx documentation
51- docs /_build /
52-
53- # PyBuilder
54- target /
9+ .idea
Original file line number Diff line number Diff line change 1+ language : python
2+ sudo : false
3+
4+ python :
5+ - " 2.7"
6+ # - "3.4"
7+
8+ install :
9+ - pip install coverage codecov flake8
10+
11+ script :
12+ - coverage run --source=pydf setup.py test
13+ - flake8 --max-line-length 120 pydf/
14+
15+ after_success :
16+ - codecov
Original file line number Diff line number Diff line change 1- from .wkhtmltopdf import *
1+ from .wkhtmltopdf import * # noqa
Original file line number Diff line number Diff line change @@ -98,8 +98,8 @@ def gen_pdf(src, cmd_args):
9898 # it seems wkhtmltopdf's error codes can be false, we'll ignore them if we
9999 # seem to have generated a pdf
100100 if returncode != 0 and pdf_string [:4 ] != '%PDF' :
101- raise IOError ('error running wkhtmltopdf, command: %r\n response: "%s"' % \
102- (cmd_args , stderr .strip (' \n ' )))
101+ raise IOError ('error running wkhtmltopdf, command: %r\n response: "%s"' %
102+ (cmd_args , stderr .strip (' \n ' )))
103103 return pdf_string
104104
105105 if is_url :
@@ -145,4 +145,4 @@ def get_extended_help():
145145
146146 :return: extended help string
147147 """
148- return execute_wk ('-H' )[0 ]
148+ return execute_wk ('-H' )[0 ]
You can’t perform that action at this time.
0 commit comments