mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
minor cleanup
This commit is contained in:
parent
941a4d51ab
commit
558e71e8d5
1 changed files with 0 additions and 2 deletions
|
|
@ -32,7 +32,6 @@ class ValidateModelName(pyblish.api.InstancePlugin):
|
|||
@classmethod
|
||||
def get_invalid(cls, instance):
|
||||
"""Get invalid nodes."""
|
||||
# use_db = instance.context.data["project_settings"]["maya"]["publish"]["ValidateModelName"]["database"] # noqa: E501
|
||||
use_db = cls.database
|
||||
|
||||
def is_group(group_name):
|
||||
|
|
@ -87,7 +86,6 @@ class ValidateModelName(pyblish.api.InstancePlugin):
|
|||
shaders = map(lambda s: s.rstrip(), shaders)
|
||||
|
||||
# compile regex for testing names
|
||||
# regex = instance.context.data["project_settings"]["maya"]["publish"]["ValidateModelName"]["regex"] # noqa: E501
|
||||
regex = cls.regex
|
||||
r = re.compile(regex)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue