Skip to content

Commit

Permalink
put noqa at correct place
Browse files Browse the repository at this point in the history
  • Loading branch information
iLLiCiTiT committed Nov 25, 2024
1 parent 3de2755 commit ef6d7b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/ayon_core/pipeline/entity_uri.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ def parse_ayon_entity_uri(uri: str) -> Optional[dict]:
Example:
>>> parse_ayon_entity_uri(
>>> "ayon://test/char/villain?product=modelMain&version=2&representation=usd" # noqa: E501
>>> "ayon://test/char/villain?product=modelMain&version=2&representation=usd"
>>> )
{'project': 'test', 'folderPath': '/char/villain',
'product': 'modelMain', 'version': 1,
'representation': 'usd'}
>>> parse_ayon_entity_uri(
>>> "ayon+entity://project/folder?product=renderMain&version=3&representation=exr" # noqa: E501
>>> "ayon+entity://project/folder?product=renderMain&version=3&representation=exr"
>>> )
{'project': 'project', 'folderPath': '/folder',
'product': 'renderMain', 'version': 3,
Expand All @@ -34,7 +34,7 @@ def parse_ayon_entity_uri(uri: str) -> Optional[dict]:
dict[str, Union[str, int]]: The individual key with their values as
found in the ayon entity URI.
"""
""" # noqa: E501

if not (uri.startswith("ayon+entity://") or uri.startswith("ayon://")):
return {}
Expand Down

0 comments on commit ef6d7b5

Please sign in to comment.