correct formatting

This commit is contained in:
makermotion 2024-12-22 01:01:04 +03:00
parent e498854c3b
commit 997f244d8f

View file

@ -10,7 +10,9 @@ readme = "README.md"
requires-python = ">=3.10" requires-python = ">=3.10"
license = "MIT" license = "MIT"
keywords = [] keywords = []
authors = [{ name = "Adam Fourney", email = "adamfo@microsoft.com" }] authors = [
{ name = "Adam Fourney", email = "adamfo@microsoft.com" },
]
classifiers = [ classifiers = [
"Development Status :: 4 - Beta", "Development Status :: 4 - Beta",
"Programming Language :: Python", "Programming Language :: Python",
@ -53,7 +55,9 @@ path = "src/markitdown/__about__.py"
markitdown = "markitdown.__main__:main" markitdown = "markitdown.__main__:main"
[tool.hatch.envs.types] [tool.hatch.envs.types]
extra-dependencies = ["mypy>=1.0.0"] extra-dependencies = [
"mypy>=1.0.0",
]
[tool.hatch.envs.types.scripts] [tool.hatch.envs.types.scripts]
check = "mypy --install-types --non-interactive {args:src/markitdown tests}" check = "mypy --install-types --non-interactive {args:src/markitdown tests}"
@ -61,14 +65,20 @@ check = "mypy --install-types --non-interactive {args:src/markitdown tests}"
source_pkgs = ["markitdown", "tests"] source_pkgs = ["markitdown", "tests"]
branch = true branch = true
parallel = true parallel = true
omit = ["src/markitdown/__about__.py"] omit = [
"src/markitdown/__about__.py",
]
[tool.coverage.paths] [tool.coverage.paths]
markitdown = ["src/markitdown", "*/markitdown/src/markitdown"] markitdown = ["src/markitdown", "*/markitdown/src/markitdown"]
tests = ["tests", "*/markitdown/tests"] tests = ["tests", "*/markitdown/tests"]
[tool.coverage.report] [tool.coverage.report]
exclude_lines = ["no cov", "if __name__ == .__main__.:", "if TYPE_CHECKING:"] exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
[tool.hatch.build.targets.sdist] [tool.hatch.build.targets.sdist]
only-include = ["src/markitdown"] only-include = ["src/markitdown"]