Skip to content

Commit

Permalink
Reverted some whitespace changes that shouldn't
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed Sep 3, 2022
1 parent 0b70122 commit 77a04e4
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
12 changes: 6 additions & 6 deletions .coveragerc
Expand Up @@ -4,13 +4,13 @@

[run]
branch = True
include =
imagehash/__init__.py
find_similar_images.py
include =
imagehash/__init__.py
find_similar_images.py


[report]
exclude_lines =
pragma: no cover
def __repr__
if __name__ == .__main__.:
pragma: no cover
def __repr__
if __name__ == .__main__.:
14 changes: 7 additions & 7 deletions find_similar_images.py
Expand Up @@ -48,13 +48,13 @@ def usage():
Identifies similar images in the directory.
Method:
ahash: Average hash
phash: Perceptual hash
dhash: Difference hash
whash-haar: Haar wavelet hash
whash-db4: Daubechies wavelet hash
colorhash: HSV color hash
crop-resistant: Crop-resistant hash
ahash: Average hash
phash: Perceptual hash
dhash: Difference hash
whash-haar: Haar wavelet hash
whash-db4: Daubechies wavelet hash
colorhash: HSV color hash
crop-resistant: Crop-resistant hash
(C) Johannes Buchner, 2013-2017
""" % sys.argv[0])
Expand Down
4 changes: 4 additions & 0 deletions setup.cfg
Expand Up @@ -6,9 +6,13 @@ count = True
statistics = True
max-line-length = 127
max-complexity = 10
quotes=single
avoid-escape=True
; This ignore differs than autopep8's ignore as to not autofix tabs to spaces, but still warn when mixed
ignore=
A001, ; variable "hash" is shadowing a python builtin
W191,E111 ; tabs are prefered indentation;
E117 ; Bug with pycodestyle for Python 2.7 where it thinks everything is over-indented with tabs
per-file-ignores=
; False positive with multiline strings https://github.com/PyCQA/pycodestyle/issues/376
find_similar_images.py: E101

0 comments on commit 77a04e4

Please sign in to comment.