Initial Commit: base
Add uv (python313), ruff and nix for development.
This commit is contained in:
parent
027e75f0e1
commit
ee256c4c17
7 changed files with 343 additions and 0 deletions
40
pyproject.toml
Normal file
40
pyproject.toml
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
[project]
|
||||
name = "python-template"
|
||||
version = "0.1.0"
|
||||
description = "Add your description here"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.13,<3.14"
|
||||
dependencies = [
|
||||
"ruff>=0.14.0",
|
||||
]
|
||||
|
||||
|
||||
[tool.ruff]
|
||||
target-version = "py313"
|
||||
line-length = 70
|
||||
indent-width = 4
|
||||
exclude = [
|
||||
".git/",
|
||||
"venv/",
|
||||
".venv/",
|
||||
"vscode/",
|
||||
"__pycache__/",
|
||||
".ruff_cache/",
|
||||
]
|
||||
|
||||
|
||||
[tool.ruff.lint]
|
||||
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
|
||||
|
||||
select = ["E", "F", "N", "I", "C90", "T", "S"]
|
||||
ignore = []
|
||||
|
||||
fixable = ["ALL"]
|
||||
unfixable = []
|
||||
|
||||
|
||||
[tool.ruff.format]
|
||||
quote-style = "double"
|
||||
indent-style = "space"
|
||||
skip-magic-trailing-comma = false
|
||||
line-ending = "auto"
|
||||
Loading…
Add table
Add a link
Reference in a new issue