Skip to content

Adding uv and precommit #29

@Pradhvan

Description

@Pradhvan

Describe the enhancement

Updating from pip to uv can help in managing env better as uv gives a single binary for envs and is faster in managing dependency.

pre-commit would help in setting up hooks so that whenever you commit code the code is checked with a linter and other checks so that it is evenly formatted before the PR, also saves time in running a formatter or any other checks like isort locally every time you want to format the code (if you have not set that automatically on your ide)

Why should this enhancement be implemented? Add additional informaiton.

  • Given the requirements file is not huge we can migrate it to uv.lock file manually since there isn't any converter right now that converts requirements.txt -> uv.lock file.
  • pre-commit can be added Isolatedly as it's not dependent on any other aspects of the code.

Confirmation

  • I have searched for similar issues before creating this one.
  • I have provided all the necessary information to understand this documentation issue.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions