Skip to content

Commit

Permalink
Update type annotations.
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Apr 30, 2022
1 parent 13c84f4 commit e7667bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/test_files/test_contributing.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import pytest
from coincidence.regressions import check_file_output, check_file_regression
from pytest_regressions.file_regression import FileRegressionFixture
from readme_renderer.rst import render # type: ignore
from readme_renderer.rst import render

# this package
from repo_helper.files.contributing import (
Expand Down Expand Up @@ -64,6 +64,7 @@ def test_make_contributing(tmp_pathplus, demo_environment, file_regression: File
assert (tmp_pathplus / "CONTRIBUTING.rst").is_file()

rendered = render((tmp_pathplus / "CONTRIBUTING.rst").read_text(), stream=sys.stderr)
assert rendered is not None
check_file_regression(rendered, file_regression, extension=".html")


Expand Down
2 changes: 1 addition & 1 deletion tests/test_files/test_readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
from domdf_python_tools.compat import importlib_resources
from domdf_python_tools.paths import PathPlus
from pytest_regressions.file_regression import FileRegressionFixture
from readme_renderer.rst import render # type: ignore
from readme_renderer.rst import render

# this package
import tests.test_files.test_readme_input
Expand Down

0 comments on commit e7667bd

Please sign in to comment.