-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
pyproject.toml
62 lines (53 loc) · 1.8 KB
/
pyproject.toml
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
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "catppuccin"
version = "2.3.4"
description = "🐍 Soothing pastel theme for Python."
authors = ["backwardspy <[email protected]>"]
readme = "README.md"
[tool.poetry.plugins."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"
[tool.poetry.dependencies]
python = "^3.9.0"
matplotlib = { version = "^3.8.4", optional = true }
pygments = { version = "^2.17.2", optional = true }
rich = { version = "^13.7.0", optional = true }
tinycss2 = { version = "^1.2.1", optional = true }
[tool.poetry.extras]
matplotlib = ["matplotlib"]
pygments = ["pygments"]
rich = ["rich"]
gh-pages = ["tinycss2"]
[tool.poetry.group.dev.dependencies]
mypy = "^1.8.0"
pytest = "^8.0.0"
pytest-cov = "^5.0.0"
ruff = "^0.6.0"
types-pygments = "^2.17.0.20240106"
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
"ANN101", # missing-type-self, deprecated
"ANN102", # missing-type-cls, deprecated
"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:"]