mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-07-04 16:39:56 +02:00
pep 8 code style
This commit is contained in:
parent
593cf64693
commit
b0a7f62ada
18 changed files with 91 additions and 117 deletions
|
@ -1,12 +1,8 @@
|
|||
# pylint: disable=unused-import
|
||||
|
||||
from os.path import dirname, realpath
|
||||
from os import chdir
|
||||
import sys
|
||||
import logging
|
||||
import io
|
||||
import collections
|
||||
from unittest import TestCase as VanillaTestCase, skip, main as unittests_main
|
||||
from os import chdir
|
||||
from os.path import dirname, realpath
|
||||
from unittest import TestCase as VanillaTestCase, main as unittests_main
|
||||
import pytest
|
||||
from ocrd_utils import disableLogging, initLogging
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import cv2
|
||||
from pathlib import Path
|
||||
from src.eynollah.utils.pil_cv2 import check_dpi
|
||||
from tests.base import main
|
||||
from src.eynollah.utils.pil_cv2 import check_dpi
|
||||
|
||||
|
||||
def test_dpi():
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from pytest import main
|
||||
from src.eynollah.utils.xml import create_page_xml
|
||||
from ocrd_models.ocrd_page import to_xml
|
||||
from src.eynollah.utils.xml import create_page_xml
|
||||
|
||||
PAGE_2019 = 'http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue