smarnach / pyexiftool

a Python library to communicate with an instance of Phil Harvey's excellent ExifTool command-line application.
Other
270 stars 111 forks source link

Inconsistent use of tab and space broke test on project relying on Sweepatic-PyExifTool-0.2 #23

Open inkhey opened 5 years ago

inkhey commented 5 years ago

Sweepatic-PyExifTool-0.2 use inconsistent use of tab and space, that why on project relying on test doesn't work correctly with pytest on python 3.5

    import exiftool
E     File "/home/XXX/Public/preview-generator/venv/lib/python3.5/site-packages/exiftool.py", line 228
E       for i in inputready:
E                          ^
E   TabError: inconsistent use of tabs and spaces in indentation

There is already a fix in a github fork of the project : https://github.com/playsignage/pyexiftool/commit/69159f7cb114442df86e2450377aa3888ad1ac43

wirelessfuture commented 5 years ago

Also have the same issue with Python 3.6 and Python 3.7. Any ideas on a fix for this?