diff --git a/pyproject.toml b/pyproject.toml index 71165fb4a..0932ad423 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", diff --git a/src/kiara/doc/__init__.py b/src/kiara/doc/__init__.py index 3dfa10fb0..ad963d36a 100644 --- a/src/kiara/doc/__init__.py +++ b/src/kiara/doc/__init__.py @@ -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