-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (63 loc) · 1.47 KB
/
pyproject.toml
File metadata and controls
74 lines (63 loc) · 1.47 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
[tool.poetry]
name = "url-categorization"
version = "0.1.0"
description = ""
authors = ["Domantas <domantasm96@github.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "~3.11"
nltk = "~3.8.1"
numpy = "~1.26.1"
pandas = "~2.1.1"
fastapi = {extras = ["all"], version = "~0.104.0"}
[tool.poetry.group.dev.dependencies]
black = "~23.10.0"
isort = "~5.12.0"
mypy = "~1.6.1"
pylint = "~3.0.1"
counter = "~1.0.0"
langdetect = "~1.0.9"
beautifulsoup4 = "~4.12.2"
requests = "~2.31.0"
types-requests = "~2.31.0.10"
aiohttp = "~3.8.6"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
line_length = 120
[tool.pylint.'MASTER']
extension-pkg-allow-list='pydantic'
load-plugins = [
"pylint.extensions.typing",
]
[tool.pylint.'FORMAT']
max-line-length=120
[tool.pylint.'MESSAGES CONTROL']
min-public-methods=0
disable=[
"missing-docstring",
"logging-fstring-interpolation",
"import-error"
]
[tool.pylint.'SIMILARITIES']
ignore-imports = 'yes'
[tool.mypy]
ignore_missing_imports = true
warn_unused_configs = true
disallow_any_generics = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
explicit_package_bases = true
[tool.pytest.ini_options]
addopts = "--strict-markers"
markers = ["dependency"]