[project] name = "granite-3.1-8b-instruct" version = "0.1.0" description = "A demo of the IBM Granite 3.1 8b instruct model" authors = [ { name = "James Sutton", email = "james.sutton@uk.ibm.com" }, { name = "Graham White", email = "gwhite@uk.ibm.com" }, { name = "Michael Desmond", email = "mdesmond@us.ibm.com" }, ] license = { text = "Apache-2.0" } readme = "README.md" requires-python = ">=3.10,<3.11" dependencies = [ "gradio==5.9.1", "torch==2.10.0", "spaces==0.50.2", "transformers==4.47.1", "accelerate==1.2.1", "pydantic==2.10.6", ] [project.optional-dependencies] dev = [ "pre-commit>=4.0.1", "git-lint>=0.1.2", "ruff>=0.8.3", "pytest>=8.3.4", ] [tool.ruff] select = [ "E", # pycodestyle "F", # pyflakes "UP", # pyupgrade "D", # pydocstyle "I", # isort "B", # bugbear "ANN", # annotations "N", # pep8-naming "C4", # Comprehensions "DTZ", # DatetimeZ "Q", # Quotes "SIM", # Simplify "RUF", # Ruff ] ignore = ["D203", "D213"] fixable = ["ALL"] unfixable = [] line-length = 120 [tool.black] line-length = 120 [tool.ruff.lint.pydocstyle] convention = "google"