-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
65 lines (57 loc) · 1.54 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "yomikata"
version = "0.0.4"
authors = [{name="Sam Passaglia"}]
description = "Japanese kanji disambiguation"
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License"
]
dynamic = ["dependencies"]
[project.urls]
"Homepage" = "https://github.com/passaglia/yomikata"
"Demo" = "https://huggingface.co/spaces/passaglia/yomikata"
"Bug Tracker" = "https://github.com/passaglia/yomikata/issues"
[tool.setuptools.dynamic]
dependencies = {file = ["./requirements/requirements-inference.txt","./requirements/requirements-dev.txt","./requirements/requirements-app.txt"]}
[tool.setuptools]
packages = ["yomikata", "yomikata.config", "yomikata.download"]
[tool.flake8]
exclude = "venv"
ignore = ["E203","E501", "W503", "E226"]
max-line-length = 79
# E501: Line too long
# W503: Line break occurred before binary operator
# E226: Missing white space around arithmetic operator
# E203: whitespace before ':' ()
# iSort
[tool.isort]
profile = "black"
line_length = 79
multi_line_output = 3
include_trailing_comma = true
virtual_env = "venv"
# Black formatting
[tool.black]
line-length = 100
include = '\.pyi?$'
exclude = '''
/(
.eggs # exclude a few common directories
| .git # in the root of the project
| .hg
| .mypy_cache
| .tox
| venv
| _build
| buck-out
| build
| dist
)/
'''