-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
60 lines (52 loc) · 1.32 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
[tool.poetry]
package-mode = true
name = "extractors"
version = "0.49.1"
description = ""
authors = ["DevScanr team <info@devscanr.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.12"
markdown = "^3.7"
spacy = "^3.8.2"
lingua-language-detector = "^2.0.2"
urlextract = "^1.9.0"
beautifulsoup4 = "^4.12.3"
emoji = "^2.14.1"
# spacy-universal-sentence-encoder = "^0.4.6"
[tool.poetry.group.dev.dependencies]
mypy = "^1.14.0"
pytest = "^8.3.2"
ruff = "^0.7.1"
types-beautifulsoup4 = "^4.12.0.20240907"
types-markdown = "^3.7.0.20240822"
# jupyterlab = "^4.2.5"
psutil = "^6.1.1"
[tool.poe.env]
PYTHONPATH = "."
[tool.poe.tasks]
build = "poetry build --format=wheel"
tc = "poetry run mypy ."
test = "poetry run pytest --disable-warnings"
lint = "poetry run ruff check"
[tool.mypy]
python_version = "3.12"
strict = true
disallow_untyped_calls = false
no_implicit_reexport = false
exclude = [
"^ignore",
]
[tool.ruff.lint]
select = ["F", "B", "UP", "RUF"]
ignore = ["E701", "E711", "E712", "E731", "E741", "RUF001", "RUF002", "RUF003"]
per-file-ignores = {"__init__.py" = ["F403"]}
[tool.pytest.ini_options]
testpaths = ["extractors"]
# addopts = "--ignore=ignore"
python_files = "*_test.py"
#python_classes = ["*__*"]
#python_functions = ["*__*"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"