mirror of
https://github.com/rendercv/rendercv.git
synced 2026-04-19 06:22:56 -04:00
fix linting issues
This commit is contained in:
@@ -401,8 +401,7 @@ def are_these_two_directories_the_same(
|
||||
if not file2.is_dir():
|
||||
return False
|
||||
return are_these_two_directories_the_same(file1, file2)
|
||||
else:
|
||||
return are_these_two_files_the_same(file1, file2)
|
||||
return are_these_two_files_the_same(file1, file2)
|
||||
|
||||
return True
|
||||
|
||||
@@ -434,7 +433,7 @@ def are_these_two_files_the_same(file1: pathlib.Path, file2: pathlib.Path) -> bo
|
||||
break
|
||||
|
||||
return result
|
||||
elif extension1 == ".png":
|
||||
if extension1 == ".png":
|
||||
# fail if the relative difference is greater than 1%
|
||||
return (
|
||||
file1.stat().st_size - file2.stat().st_size
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import copy
|
||||
import os
|
||||
import pathlib
|
||||
import sys
|
||||
import shutil
|
||||
import sys
|
||||
|
||||
import jinja2
|
||||
import pytest
|
||||
|
||||
Reference in New Issue
Block a user