Skip to content

Instantly share code, notes, and snippets.

@Krytos
Created June 9, 2025 11:01
Show Gist options
  • Select an option

  • Save Krytos/c36e2b2c1e6ae6ce6e8cd66dfce27753 to your computer and use it in GitHub Desktop.

Select an option

Save Krytos/c36e2b2c1e6ae6ce6e8cd66dfce27753 to your computer and use it in GitHub Desktop.
Pyproject.toml template
[project]
name = ""
version = "0.1.0"
description = ""
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"rich",
"loguru",
"python-dotenv",
]
[dependency-groups]
dev = [
"pytest",
"ruff",
"ty"
]
[tool.ruff]
extend = "~/AppData/Roaming/ruff/ruff.toml"
line-length = 120
target-version = "py313"
unsafe-fixes = true
[tool.ruff.lint]
select = ["E", "F", "B", "I"]
ignore = []
exclude = ["docs"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "lf"
docstring-code-format = true
docstring-code-line-length = 80
[tool.ty]
environment = { python-version = "3.13" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment