mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
don't type check dev scripts
This commit is contained in:
parent
23e30ae40a
commit
092456434b
2 changed files with 2 additions and 5 deletions
5
Makefile
5
Makefile
|
@ -27,10 +27,7 @@ mypy-host:
|
|||
mypy-container:
|
||||
mypy $(MYPY_ARGS) container
|
||||
|
||||
mypy-dev-scripts:
|
||||
mypy $(MYPY_ARGS) install dev_scripts/* *.py
|
||||
|
||||
mypy: mypy-host mypy-container # mypy-dev-scripts ## check type hints with mypy
|
||||
mypy: mypy-host mypy-container ## check type hints with mypy
|
||||
|
||||
.PHONY: lint
|
||||
lint: lint-black lint-isort mypy ## check the code with various linters
|
||||
|
|
|
@ -379,7 +379,7 @@ class DangerzoneConverter:
|
|||
png_filename,
|
||||
ocr_filename,
|
||||
"-l",
|
||||
os.environ.get("OCR_LANGUAGE"), # type: ignore
|
||||
os.environ.get("OCR_LANGUAGE"), # type: ignore
|
||||
"--dpi",
|
||||
"70",
|
||||
"pdf",
|
||||
|
|
Loading…
Reference in a new issue