@@ -9,35 +9,32 @@ description = "A package and gh-action to generate quality reports on Hugging Fa
99readme = " README.md"
1010requires-python = " >=3.9"
1111license = { text = " Apache-2.0" }
12- classifiers = [
13- " Programming Language :: Python :: 3" ,
14- " License :: OSI Approved :: Apache Software License" ,
15- " Operating System :: OS Independent"
16- ]
1712authors = [
1813 { name = " Parag Ekbote" , email = " paragekbote23@gmail.com" }
1914]
20-
2115dependencies = [
2216 " huggingface_hub>=0.24.0" ,
2317 " transformers>=4.21.0" ,
2418 " python-dotenv>=1.0.0" ,
25- " rich>=13.9.0"
19+ " rich>=13.9.0" ,
2620]
2721
2822[project .urls ]
29- Homepage = " https://github.com/ParagEkbote/hf-model-inspector"
30- Repository = " https://github.com/ParagEkbote/hf-model-inspector"
31- Issues = " https://github.com/ParagEkbote/hf-model-inspector/issues"
23+ homepage = " https://github.com/ParagEkbote/hf-model-inspector"
24+ repository = " https://github.com/ParagEkbote/hf-model-inspector"
25+ issues = " https://github.com/ParagEkbote/hf-model-inspector/issues"
26+
27+ [tool .hatch .build ]
28+ source-directories = [" src" ]
3229
3330[tool .hatch .build .targets .wheel ]
34- packages = [" src/ hf_model_inspector" ]
31+ packages = [" hf_model_inspector" ]
3532
3633[tool .ruff ]
3734line-length = 88
38- target-version = " py39"
35+ target-version = [ " py39" ]
3936select = [" E" , " F" , " B" , " I" , " UP" ]
40- ignore = [" E501" ]
37+ ignore = [" E501" ] # optional, keep if you want to ignore long-line warnings
4138
4239[tool .ty ]
4340strict = true
@@ -52,11 +49,11 @@ dependencies = [
5249 " pytest" ,
5350 " pytest-asyncio" ,
5451 " pre-commit" ,
55- " twine"
52+ " twine" ,
5653]
5754
5855[tool .hatch .envs .default .scripts ]
59- lint = " ruff check . && ty src"
60- format = " ruff format . "
56+ lint = " ruff check src"
57+ format = " ruff format src "
6158test = " pytest -v"
6259precommit = " pre-commit run --all-files"
0 commit comments