-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (63 loc) · 1.25 KB
/
pyproject.toml
File metadata and controls
78 lines (63 loc) · 1.25 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[tool.isort]
line_length = 100
multi_line_output = "3"
include_trailing_comma = "true"
known_first_party = ["word_cloud_modeling"]
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
default_section = "THIRDPARTY"
order_by_type = "false"
[tool.black]
line-length = 100
exclude = '''
(
/(
\.git
)/
)
'''
[tool.mypy]
python_version = "3.13"
allow_redefinition = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_calls = true
warn_unused_ignores = true
show_error_codes = true
disable_error_code = [
'method-assign',
]
[[tool.mypy.overrides]]
module = "nltk.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "stopwords.*"
ignore_missing_imports = true
[tool.ruff]
lint.select = ["B", "C", "E", "ERA", "F", "T", "W"]
# https://docs.astral.sh/ruff/rules/
lint.ignore = [
"B904",
"C416",
]
line-length = 100
exclude = [
".git",
".git-rewrite",
".mypy_cache",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".venv",
".vscode",
"__pypackages__",
"_build",
"build",
"dist",
"site-packages",
"venv",
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.pytest.ini_options]
pythonpath="src"