-
Notifications
You must be signed in to change notification settings - Fork 76
/
pyproject.toml
84 lines (75 loc) · 1.84 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[build-system]
requires = ["setuptools>=42.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "fundus"
version = "0.4.6"
authors = [
{ name = "Max Dallabetta", email = "[email protected]" },
]
description = "A very simple news crawler"
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research"
]
keywords = ["web scraping, web crawling"]
license = { text = "MIT" }
dependencies = [
"python-dateutil>=2.8, <3",
"lxml>=4.9, <6",
"more-itertools>=9.1, <10",
"cssselect>=1.1, <2",
"feedparser>=6.0, <7",
"colorama>=0.4, <1",
"typing-extensions>=4.6, <5",
"langdetect>=1.0, <2",
"validators>=0.24, <1",
"requests>=2.28, <3",
"tqdm>=4.66, <5",
"fastwarc>=0.14, <1",
"chardet>=5.2, <6",
"dill>=0.3, <1",
"dict2xml>=1.7.6, <2",
"xmltodict>=0.13.0, <1",
]
[project.urls]
"Repository" = "https://github.com/flairNLP/fundus"
[project.optional-dependencies]
dev = [
"pytest~=7.2.2",
"mypy==1.9.0",
"isort==5.12.0",
"black==23.1.0",
# type stubs
"types-lxml",
"types-python-dateutil>=2.8, <3",
"types-requests>=2.28, <3",
"types-colorama>=0.4, <1",
]
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
ignore_missing_imports = true
no_implicit_optional = true
show_error_codes = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
no_implicit_reexport = true
[tool.black]
line-length = 120
target-version = ['py38']
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
filterwarnings = [
"error"
]