mirror of
https://github.com/arsenetar/dupeguru.git
synced 2026-01-22 14:41:39 +00:00
Format files with black
- Format all files with black - Update tox.ini flake8 arguments to be compatible - Add black to requirements-extra.txt - Reduce ignored flake8 rules and fix a few violations
This commit is contained in:
@@ -12,6 +12,7 @@ from core.pe.photo import Photo as PhotoBase
|
||||
|
||||
from .block import getblocks
|
||||
|
||||
|
||||
class File(PhotoBase):
|
||||
def _plat_get_dimensions(self):
|
||||
try:
|
||||
@@ -53,4 +54,3 @@ class File(PhotoBase):
|
||||
t.rotate(270)
|
||||
image = image.transformed(t)
|
||||
return getblocks(image, block_count_per_side)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user