-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
pyproject.toml
42 lines (37 loc) · 1.1 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
[project]
name = "UmaTL"
description = "Translation mod for Uma Musume (DMM)."
readme = "README.md"
requires-python = ">=3.9"
authors = [
{ name = "noccu", email = "[email protected]" },
]
maintainers = [
{ name = "noccu", email = "[email protected]" },
]
dependencies = ["lz4", "UnityPy >=1.9.19, <1.20", "regex", "Levenshtein", "requests"]
dynamic = ["version"]
[project.optional-dependencies]
editor = ["PyCriCodecs", "pyaudio", "symspellpy"]
subs = ["ass", "srt"]
mtl = ["websockets"]
dev = ["ruff"]
[project.urls]
Homepage = "https://github.com/noccu/umamusu-translate"
Repository = "https://github.com/noccu/umamusu-translate.git"
[tool.ruff]
line-length = 110
target-version = "py39"
src = ["src"]
preview = true
[tool.ruff.lint]
# Default select: ["E4", "E7", "E9", "F"]
extend-select = [
"N804", # First argument of a classmethod should be named ‘cls’
"N805", # First argument of a method should be named ‘self’
"E501", # Line too long
"E203", # Whitespace before ':'
"C901", # Enable complexity check
]
[tool.ruff.lint.mccabe]
max-complexity = 12