Skip to content

Commit 01a6499

Browse files
Fix test for issue #18
1 parent 9f5da02 commit 01a6499

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ channels:
55
dependencies:
66
# runtime
77
- python >=3.8,<3.13
8-
- mkdocstrings-python >=1.6.2,<1.10 # TODO: issue #18
8+
- mkdocstrings-python >=1.6.2,<2.0
99
# build
1010
- build >=0.7.0
1111
- hatchling >=1.21

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ keywords = [
2525
dynamic = ["version"]
2626
requires-python = ">=3.8"
2727
dependencies = [
28-
"mkdocstrings-python >=1.6.2,<1.10" # TODO: issue #18
28+
"mkdocstrings-python >=1.6.2,<2.0"
2929
]
3030

3131
[project.urls]

tests/test_handler.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2022. Analog Devices Inc.
1+
# Copyright (c) 2022-2024. Analog Devices Inc.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -40,6 +40,7 @@ def test_handler(tmpdir: PathLike,
4040
config_file = os.path.join(tmpdir, 'mkdocs.yml')
4141
os.mkdir(os.path.join(tmpdir, 'path1'))
4242
os.mkdir(os.path.join(tmpdir, 'path2'))
43+
os.makedirs(os.path.join(tmpdir, 'custom_templates', 'python'))
4344

4445
#
4546
# Test construction

0 commit comments

Comments
 (0)