Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (68 loc) · 2.48 KB
/
Copy pathpyproject.toml
File metadata and controls
77 lines (68 loc) · 2.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
authors = [{ name = "backwardspy", email = "backwardspy@pigeon.life" }]
requires-python = ">=3.11.0"
dependencies = []
name = "catppuccin"
version = "3.0.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"
# for ipython >=9.18
[project.entry-points."ipython.themes"]
catppuccin-latte = "catppuccin.extras:ipython_themes"
catppuccin-frappe = "catppuccin.extras:ipython_themes"
catppuccin-macchiato = "catppuccin.extras:ipython_themes"
catppuccin-mocha = "catppuccin.extras:ipython_themes"
"catppuccin-latte:noitalic" = "catppuccin.extras:ipython_themes"
"catppuccin-frappe:noitalic" = "catppuccin.extras:ipython_themes"
"catppuccin-macchiato:noitalic" = "catppuccin.extras:ipython_themes"
"catppuccin-mocha:noitalic" = "catppuccin.extras:ipython_themes"
[project.optional-dependencies]
matplotlib = ["matplotlib>=3.10.0"]
pygments = ["pygments>=2.17.2"]
rich = ["rich>=13.7.0"]
ipython = ["ipython>=9.18.0"]
gh-pages = ["tinycss2>=1.2.1", "pdoc>=15.0.1"]
[dependency-groups]
dev = [
"mypy>=2.4.1",
"pytest>=9.2.0",
"pytest-cov>=7.1.0",
"ruff>=0.17.4",
"types-pygments>=2.21.0.20260819",
"types-colorama>=0.4.15.20260508",
]
[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
"RUF022", # unsorted-dunder-all, __all__ order affects documentation
"TC006", # runtime-cast-value, stylistic choice
"PLC0414", # useless-import-alias, incompatible with unused-import (F401)
"CPY001", # missing-copyright-notice, licence is in repo root
]
[tool.ruff.lint.per-file-ignores]
"tests/test_*.py" = [
"D100", # undocumented-public-module
"D103", # undocumented-public-function
"S101", # assert
"PLR2004", # magic-value-comparison
]
"build.py" = [
"T201", # print
"S603", # subprocess-without-shell-equals-true
]
[tool.mypy]
strict = true
[tool.coverage.report]
exclude_lines = ["pragma: no cover", "if TYPE_CHECKING:"]