refactor: move ruffus related code to one file

This commit is contained in:
Martin Wind
2019-03-28 20:16:10 +01:00
parent f65a3d3762
commit a4667b5656
6 changed files with 541 additions and 468 deletions
+1 -3
View File
@@ -15,15 +15,13 @@
# You should have received a copy of the GNU General Public License
# along with OCRmyPDF. If not, see <http://www.gnu.org/licenses/>.
import argparse
from os import fspath
from pathlib import Path
from unittest.mock import MagicMock, patch
import pytest
from ocrmypdf.__main__ import parser
from ocrmypdf.run import check_options
from ocrmypdf._validation import check_options
from ocrmypdf.exceptions import ExitCode
from ocrmypdf.exec import unpaper