-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathpyproject.toml
67 lines (58 loc) · 1.68 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
63
64
65
66
67
[tool.poetry]
name = "terminaltexteffects"
version = "0.12.0"
description = "TerminalTextEffects (TTE) is a terminal visual effects engine."
authors = ["Chris <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/ChrisBuilds/terminaltexteffects"
documentation = "https://chrisbuilds.github.io/terminaltexteffects/"
[tool.poetry.dependencies]
python = "^3.8"
[tool.poetry.scripts]
tte = "terminaltexteffects.__main__:main"
[tool.ruff]
show-fixes = true
line-length = 120
[tool.ruff.lint]
ignore = [
"C90",
"ANN401",
"EXE",
"PLR0912", # too many branches
"PLR0913", # too many function args
"PLR2004", # magic numbers
"RUF009", # function-call-in-dataclass-default-argument
"S311", # suspicious-non-cryptographic-random-usage
"SLF001", # private member access
"TRY003", # f-strings in exception message
"T201", # printing
]
select = ["ALL"]
fixable = ["ALL"]
extend-fixable = ["EM102"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "D104"]
"**/tests/*" = [
"S101", # assert
]
[tool.pytest.ini_options]
console_output_style = "progress"
minversion = "6.0"
addopts = ["--capture=sys", "--strict-markers", "--strict-config", "-ra"]
markers = [
"manual: subset to run manually",
"visual: visually inspect effects",
"effects: quick effect tests",
"engine: engine tests",
"animation: animation tests",
"motion: motion tests",
"terminal: terminal tests",
"base_character: base character tests",
"utils: utility tests",
"smoke: quick tests covering over 90% of code",
]
testpaths = ["tests"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"