Skip to content

Materialize subclass inferences in pre-commit hook #838

Open
@rjyounes

Description

@rjyounes

@dylan-sa has written a Python script to materialize the subclass inferences as per issues #819 and #714. I would like it to go into the pre-commit hook so it's always up-to-date for use during development, not just in released versions. I can see two possible implementations, but there may be others:

  1. Rewrite the Python script in Java/Jena and create a jar file to run from the main pre-commit hook.
  2. Retain the Python script. In order to ensure that everyone has Python, this entails additions to setup.cmd:
    a. Install Python
    b. Create a virtual environment
    Then the main pre-commit hook would run the Python script.

Approach 1 seems a lot cleaner. I can't evaluate the relative effort. @Jamie-SA @e2dubba @eddie-thomas @dhurlburtusa @coltonglasgow @justin2004 Thoughts? Maybe other approaches?

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: deferredDeferred to a later release for reasons other than it is a major change

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions