Skip to content

Can we just provide the schema path in the plugin? #1

@benhowes

Description

@benhowes

see:

schema_path = join(abspath(dirname(__file__)), "schema.yaml")
with open(schema_path, "r") as schema_file:
schema = yaml.load(schema_file)

Can we cut down on the boilerplate in places like this by just passing a string from the hook?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions