-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
54 lines (45 loc) · 1.22 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "Proficiency"
version = "0.5.24"
authors = [{ name = "xxyzz" }]
description = "Create language files for WordDumb."
readme = "README.md"
requires-python = ">=3.12"
license = { text = "GNU General Public License v3 or later (GPLv3+)" }
dependencies = [
"lemminflect",
"OpenCC",
"wordfreq[mecab]",
"wiktextract-lemmatization @ git+https://github.com/Vuizur/wiktextract-lemmatization@37f438eb973364de4d5e70959ee1c2aa26bf5ba5",
"pyoxigraph",
]
[project.optional-dependencies]
dev = ["mypy", "ruff", "requests", "types-requests"]
[project.scripts]
proficiency = "proficiency.main:main"
[tool.mypy]
check_untyped_defs = true
strict = true
[[tool.mypy.overrides]]
module = "lemminflect.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "opencc.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "wiktextract_lemmatization.*"
ignore_missing_imports = true
[tool.typos]
type.csv.check-file = false
type.json.check-file = false
default.extend-words = { "Formes" = "Formes" }
[tool.ruff.lint]
select = [
"E", # pycodestyle error
"F", # Pyflakes
"I", # isort
"W", # pycodestyle warning
]