Skip to content

dynamic import checks #28

@timothycohen

Description

@timothycohen

The articles embed decorated code by dynamically importing the raw files from within the repo. To prevent any accidental changes from this action at a distance, the pre-commit should:

  1. List all staged files which are dynamically imported.

  2. Fail if a dynamic import cannot be resolved.

The previous implementation was reverted in c2da900 because it wasn't cross platform.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions