Skip to content

Conversation

@Ninja3047
Copy link
Contributor

  • fix some type errors that cropped up with switching to pyright - was unsure how to actually fix the Generic type stuff so i just add some ignore annotations
  • Sync the Makefile and pyproject.toml to align with the cookiecutter repo
  • Make the test check against the Makefile instead of the README

@Ninja3047 Ninja3047 requested a review from ESultanik as a code owner December 1, 2025 21:35
[project]
name = "vendetect"
dynamic = ["version"]
version = "0.0.4"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the motivation for hard-coding the version here rather than dynamically loading it from vendetect.__version__?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the main motivation changing it on the cookiecutter side is so you don't have to execute python code to get the version dynamically (which some build backends don't support)
i just forgot to change the python code to fetch the version via the import metadata. good catch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants