mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-06-27 02:30:08 +00:00
build(deps): Bump mypy from 0.982 to 0.990 in /requirements (#73)
* build(deps): Bump mypy from 0.982 to 0.990 in /requirements Bumps [mypy](https://github.com/python/mypy) from 0.982 to 0.990. - [Release notes](https://github.com/python/mypy/releases) - [Commits](https://github.com/python/mypy/compare/v0.982...v0.990) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * fix typing issues Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matt Robinson <mrobinson@unstructuredai.io> Co-authored-by: Matt Robinson <mrobinson@unstructured.io>
This commit is contained in:
parent
8b35c00e0b
commit
8936ab21a7
2
Makefile
2
Makefile
@ -109,7 +109,7 @@ check: check-src check-tests check-version
|
||||
check-src:
|
||||
black --line-length 100 ${PACKAGE_NAME} --check
|
||||
flake8 ${PACKAGE_NAME}
|
||||
mypy ${PACKAGE_NAME} --ignore-missing-imports
|
||||
mypy ${PACKAGE_NAME} --ignore-missing-imports --check-untyped-defs
|
||||
|
||||
.PHONY: check-tests
|
||||
check-tests:
|
||||
|
@ -36,7 +36,7 @@ mccabe==0.7.0
|
||||
# via flake8
|
||||
multidict==6.0.2
|
||||
# via yarl
|
||||
mypy==0.982
|
||||
mypy==0.990
|
||||
# via -r test.in
|
||||
mypy-extensions==0.4.3
|
||||
# via
|
||||
@ -71,11 +71,7 @@ requests==2.28.1
|
||||
six==1.16.0
|
||||
# via vcrpy
|
||||
tomli==2.0.1
|
||||
# via
|
||||
# black
|
||||
# coverage
|
||||
# mypy
|
||||
# pytest
|
||||
# via pytest
|
||||
typing-extensions==4.3.0
|
||||
# via
|
||||
# mypy
|
||||
|
@ -16,7 +16,7 @@ class Document(ABC):
|
||||
return "\n\n".join([str(page) for page in self.pages])
|
||||
|
||||
def _read(self) -> List[Page]: # pragma: no cover
|
||||
pass
|
||||
raise NotImplementedError
|
||||
|
||||
def get_narrative(self) -> List[NarrativeText]:
|
||||
"""Pulls out all of the narrative text sections from the document."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user