Skip to content

Commit

Permalink
The new !relative tag also needs to be ignored in get-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
oprypin committed Jul 9, 2023
1 parent 89c7aa6 commit 41de1dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mkdocs/commands/get_deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class YamlLoader(yaml.SafeLoader):

# Prevent errors from trying to access external modules which may not be installed yet.
YamlLoader.add_constructor("!ENV", lambda loader, node: None) # type: ignore
YamlLoader.add_constructor("!relative", lambda loader, node: None) # type: ignore
YamlLoader.add_multi_constructor(
"tag:yaml.org,2002:python/name:", lambda loader, suffix, node: None
)
Expand Down

0 comments on commit 41de1dd

Please sign in to comment.