neuralmagic / guidellm

Evaluate and Enhance Your LLM Deployments for Real-World Inference Needs
Apache License 2.0
159 stars 11 forks source link

Add Pre-Commit Hooks and Fix Dev Dependency Issues #12

Closed markurtz closed 3 months ago

markurtz commented 3 months ago

Summary

Introduces pre-commit hooks to the repository to enforce code quality standards and fixes various issues related to the installation and versioning of development dependencies.

Details

Test Plan

Automated Testing:

markurtz commented 3 months ago

Looks good!

P.S. Didn't get why so many type: ignore lines in the code. This code is kind of type-safe, isn't it?

Those were needed to get mypy running through the pre commit pathways to work. Any lines marked with that were giving errors and I didn't have a quick resolution. So, since they were in the tests paths and therefore non critical for support, skipped them rather than spend more time figuring out why they are showing improper types.