47 lines
1.1 KiB
TOML
47 lines
1.1 KiB
TOML
[project]
|
|
name = "fiber-package"
|
|
version = "0.0.1"
|
|
description = "Add your description here"
|
|
readme = "README.md"
|
|
requires-python = ">=3.14"
|
|
dependencies = [
|
|
"mypy>=1.19.1",
|
|
"pydantic>=2.12.5",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["uv_build>=0.10.2,<0.12"]
|
|
build-backend = "uv_build"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"ruff>=0.15.1",
|
|
]
|
|
|
|
[tool.mypy]
|
|
disable_error_code = ["import-untyped"]
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
"E", # standard style checks
|
|
"F", # standard code checks
|
|
"FAST", # for fastAPI
|
|
"ANN", # for annotations
|
|
"B", # for common bug causes
|
|
"A", # for builtin variable shadowing
|
|
"PIE", # for unnecessary code
|
|
"SIM", # for simplifications
|
|
"TID", # for tidy improts
|
|
"TC" , # for type checking
|
|
#"ARG", # for unused arguments
|
|
#"TD", # checks for TODOs
|
|
"N", # naming conventions
|
|
"W", # whitespace warnings (use --fix)
|
|
"PLC", # common conventions
|
|
"PLE", # common errors
|
|
"PLR", # common refactors
|
|
"PLW", # common warnings
|
|
"UP", # for old style
|
|
"RUF", # other RUF specific rules
|
|
]
|
|
extend-ignore = ["TC", "PLR2004"] |