-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
57 lines (48 loc) · 1.05 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "greek-double-accents"
version = "1.0.0"
readme = "README.md"
dependencies = [
"spacy",
# For downloading the spacy model...
"pip",
"grac @ git+https://github.com/daxida/grac.git#egg=grac&subdirectory=py-grac",
]
[project.optional-dependencies]
etc = [
"pytest",
"ruff",
]
[project.scripts]
gda = "greek_double_accents.main:main"
[tool.setuptools]
packages = ["greek_double_accents"]
include-package-data = true
[tool.setuptools.package-data]
"greek_double_accents" = ["etc/*"]
[tool.ruff]
line-length = 100
output-format = "concise"
[tool.ruff.lint.pycodestyle]
max-doc-length = 100
[tool.ruff.lint]
preview = true
select = [
"E", # pycodestyle error
"W", # pycodestyle warning
"I", # isort
"N", # pep8-naming
"F", # Pyflakes rules
"C", # flake8-complexity
"PTH", # Paths
"ANN", # Annotations
]
ignore = [
"ANN401",
]
[tool.mypy]
explicit_package_bases = true
ignore_missing_imports = true