mirror of
https://github.com/catppuccin/python.git
synced 2026-03-16 00:02:01 +08:00
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
58 lines
1.6 KiB
TOML
58 lines
1.6 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
authors = [{ name = "backwardspy", email = "backwardspy@pigeon.life" }]
|
|
requires-python = ">=3.9.0"
|
|
dependencies = []
|
|
name = "catppuccin"
|
|
version = "2.4.0"
|
|
description = "🐍 Soothing pastel theme for Python."
|
|
readme = "README.md"
|
|
|
|
[project.entry-points."pygments.styles"]
|
|
catppuccin-latte = "catppuccin.extras.pygments:LatteStyle"
|
|
catppuccin-frappe = "catppuccin.extras.pygments:FrappeStyle"
|
|
catppuccin-macchiato = "catppuccin.extras.pygments:MacchiatoStyle"
|
|
catppuccin-mocha = "catppuccin.extras.pygments:MochaStyle"
|
|
|
|
[project.optional-dependencies]
|
|
matplotlib = ["matplotlib>=3.8.4"]
|
|
pygments = ["pygments>=2.17.2"]
|
|
rich = ["rich>=13.7.0"]
|
|
gh-pages = ["tinycss2>=1.2.1"]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"mypy>=1.15.0",
|
|
"pytest>=8.3.4",
|
|
"pytest-cov>=6.0.0",
|
|
"ruff>=0.9.7",
|
|
"types-pygments>=2.19.0.20250219",
|
|
"types-colorama>=0.4.15.20240205",
|
|
]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["ALL"]
|
|
ignore = [
|
|
"D203", # one-blank-line-before class, incompatible with D211
|
|
"D213", # multi-line-summary-second-line, incompatible with D212
|
|
"ISC001", # single-line-implicit-string-concatenation, incompatible with formatter
|
|
"COM812", # missing-trailing-comma, incompatible with formatter
|
|
]
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"tests/test_*.py" = [
|
|
"D100", # undocumented-public-module
|
|
"D103", # undocumented-public-function
|
|
"S101", # assert
|
|
"PLR2004", # magic-value-comparison
|
|
]
|
|
|
|
[tool.mypy]
|
|
strict = true
|
|
|
|
[tool.coverage.report]
|
|
exclude_lines = ["pragma: no cover", "if TYPE_CHECKING:"]
|