Skip to content

Commit

Permalink
build: downgrade mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
makkus committed Jul 30, 2024
1 parent 18ea8b3 commit 8f816e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ dev_documentation = [
dev_testing = [
"pytest-cov>=4.1.0",
"jsonschema>=4.0.0",
"mypy>=0.800",
"mypy<1.10.1",
"pandas-stubs",
"pytest>=6.2.2",
"pytest-cov>=2.11.1",
Expand Down
4 changes: 2 additions & 2 deletions src/kiara/doc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ def on_files(self, files: Files, config: Config) -> Files:
use_directory_urls=config["use_directory_urls"],
)

os.makedirs(os.path.dirname(_file.abs_src_path), exist_ok=True)
os.makedirs(os.path.dirname(_file.abs_src_path), exist_ok=True) # type: ignore

with open(_file.abs_src_path, "w") as f:
with open(_file.abs_src_path, "w") as f: # type: ignore
f.write(content)

self._doc_files[k] = _file
Expand Down

0 comments on commit 8f816e2

Please sign in to comment.