-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (58 loc) · 1.48 KB
/
pyproject.toml
File metadata and controls
68 lines (58 loc) · 1.48 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
[tool.poetry]
name = "hook_crawlers"
version = "0.1.0"
description = ""
authors = ["Elton Chou <plscd748@gmail.com>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.9"
Scrapy = "^2.5.1"
scrapyd = "^1.2.1"
scrapyd-client = "^1.2.0"
scrapy-proxies = "^0.4"
click = "^8.0.3"
Pillow = "^9.1.0"
boto3 = "^1.22.12"
figure-parser = {git = "https://github.com/FigureHook/figure_parser.git", rev = "main"}
figure-hook-client = {git = "https://github.com/FigureHook/hook-api-client.git", subdirectory = "python/figure-hook-client"}
[tool.poetry.dev-dependencies]
pytest = "^6.2.5"
pytest-mock = "^3.6.1"
Faker = "^9.8.0"
black = "^22.8.0"
pre-commit = "^2.20.0"
isort = "^5.10.1"
flake8 = "^5.0.4"
coverage = "^6.4.4"
types-pytz = "^2022.2.1"
mypy = "^0.971"
[tool.poetry.group.dev.dependencies]
pydantic-factories = "^1.9.0"
types-requests = "^2.28.11.2"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
junit_family = "xunit2"
addopts = "-ra -q"
testpaths = ["tests"]
[tool.mypy]
exclude = ["hook_crawlers/libs/model.py"]
ignore_missing_imports = true
[tool.isort]
profile = "black"
src_paths = ["hook_crawlers", "tests"]
[tool.black]
extend-ignore = "E203"
[tool.coverage.run]
omit = ["*/site-packages/*", "*/tests/*", "*/test/*", "api_client/*"]
[tool.coverage.report]
show_missing = true
skip_covered = true
exclude_lines = [
"pragma: no cover",
"@abstract",
"@overload",
"pass",
"raise NotImplementedError",
]