-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
62 lines (56 loc) · 1.28 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
[project]
name = "signwriting"
description = "Python utilities for SignWriting."
version = "0.0.1"
authors = [
{ name = "Amit Moryossef", email = "[email protected]" }
]
readme = "README.md"
dependencies = [
"Pillow"
]
[project.optional-dependencies]
dev = [
"pytest",
"pylint",
"numpy", # to test visualizer
]
mouthing = [
# For IPA transliteration
"epitran",
"g2pk"
]
server = [
# For API server
"flask",
"Flask-RESTful",
]
[tool.yapf]
based_on_style = "google"
column_limit = 120
[tool.pylint]
max-line-length = 120
disable = [
"C0103", # Invalid variable name (doesn't conform to UPPER_CASE naming style)
"C0114", # Missing module docstring
"C0115", # Missing class docstring
"C0116", # Missing function or method docstring
"C3001", # Lambda expression assigned to a variable
"R0917", # Too many positional arguments
]
good-names = ["i", "f", "x", "y"]
[tool.setuptools]
packages = [
"signwriting",
"signwriting.formats",
"signwriting.tokenizer",
"signwriting.utils",
"signwriting.visualizer",
"signwriting.fingerspelling",
"signwriting.mouthing"
]
[tool.setuptools.package-data]
signwriting = ["**/*.ttf", "**/*.txt", "**/*.json"]
[tool.pytest.ini_options]
addopts = "-v"
testpaths = ["signwriting"]