LibVulnWatch / pyproject.toml
seonglae-holistic's picture
fix: make runnable within local uv env
a5b0db7
raw
history blame
1.03 kB
[project]
name = "libvulnwatchleaderboard"
version = "0.1.0"
description = "A vulnerability assessment leaderboard for libraries"
requires-python = ">=3.8"
dependencies = [
"APScheduler",
"black",
"datasets",
"gradio",
"gradio[oauth]",
"gradio_leaderboard==0.0.13",
"gradio_client",
"huggingface-hub>=0.18.0",
"matplotlib",
"numpy",
"pandas",
"python-dateutil",
"tqdm",
"transformers",
"tokenizers>=0.15.0",
"sentencepiece",
]
[tool.ruff]
# Enable pycodestyle (`E`) and Pyflakes (`F`) codes by default.
select = ["E", "F"]
ignore = ["E501"] # line too long (black is taking care of this)
line-length = 119
fixable = ["A", "B", "C", "D", "E", "F", "G", "I", "N", "Q", "S", "T", "W", "ANN", "ARG", "BLE", "COM", "DJ", "DTZ", "EM", "ERA", "EXE", "FBT", "ICN", "INP", "ISC", "NPY", "PD", "PGH", "PIE", "PL", "PT", "PTH", "PYI", "RET", "RSE", "RUF", "SIM", "SLF", "TID", "TRY", "UP", "YTT"]
[tool.isort]
profile = "black"
line_length = 119
[tool.black]
line-length = 119