-
Notifications
You must be signed in to change notification settings - Fork 174
/
pyproject.toml
119 lines (102 loc) · 2.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools",
"setuptools-scm",
]
[project]
name = "icrawler"
description = "A multi-thread crawler framework with many builtin image crawlers provided."
readme = "README.md"
keywords = [
"Crawler",
]
license = { file = "LICENSE" }
maintainers = [
{ name = "Kai Chen", email = "chenkaidev@gmail.com" },
{ name = "Zhiyuan Chen", email = "this@zyc.ai" },
]
authors = [
{ name = "Kai Chen", email = "chenkaidev@gmail.com" },
{ name = "Zhiyuan Chen", email = "this@zyc.ai" },
]
requires-python = ">=3.7"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
]
dynamic = [
"version",
]
dependencies = [
"beautifulsoup4",
"bs4",
"lxml",
"pillow",
"pyyaml",
"requests",
"six",
]
urls.documentation = "https://icrawler.readthedocs.io/"
urls.homepage = "https://icrawler.readthedocs.io/"
urls.repository = "https://github.com/hellock/icrawler"
[tool.setuptools]
packages = [
"icrawler",
]
[tool.setuptools_scm]
write_to = "icrawler/version.py"
[tool.black]
line-length = 120
[tool.isort]
line_length = 120
profile = "black"
[tool.flake8]
max-line-length = 120
[tool.pylint.format]
max-line-length = 120
[tool.pylint.messages_control]
disable = """
E0012,
E0401,
R0201,
R0801,
"""
[tool.pylint.reports]
output-format = "colorized"
[tool.pylint.main]
fail-under = 9.8
[tool.pytest.ini_options]
addopts = "--doctest-modules --cov"
[tool.coverage.run]
branch = true
omit = [
"tests/*",
"setup.py",
]
[tool.coverage.paths]
source = [
"icrawler",
]
[tool.coverage.xml]
output = "coverage.xml"
[tool.coverage.json]
output = "coverage.json"
[tool.coverage.report]
show_missing = true
[tool.mypy]
ignore_missing_imports = true