-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
64 lines (59 loc) · 1.86 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
[tool.poetry]
name = "secretscraper"
version = "1.4.1"
description = "SecretScraper is a web scraper tool that can scrape the content through target websites and extract secret information via regular expression."
readme = "README.md"
authors = ["Padishah <[email protected]>"]
license = "MIT"
classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.11",
]
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
dynaconf = "^3.1.12"
click = "^8.1.3"
hyperscan = [
# { version = "^0.7.0", platform = "darwin", python = "^3.9" },
{ version = "^0.7.0", platform = "darwin", python = "^3.10" },
{ version = "^0.7.7", platform = "darwin", python = "^3.11" },
# { version = "^0.7.0", platform = "linux", python = "^3.9" },
{ version = "^0.7.0", platform = "linux", python = "^3.10" },
{ version = "^0.7.7", platform = "linux", python = "^3.11" }
]
bs4 = "^0.0.2"
aiohttp = "^3.9.4"
httpx = { extras = ["socks"], version = "^0.27.0" }
tldextract = "^5.1.2"
aiocache = "^0.12.2"
[tool.poetry.group.dev.dependencies]
pylint = "^2.17.4"
isort = "^5.12.0"
pytest = "^7.3.1"
pytest-asyncio = "^0.23.6"
pytest-benchmark = "^4.0.0"
pytest-cov = "^5.0.0"
tox = "^4.5.2"
mkdocs = "^1.4.3"
mkdocs-material = "^8.5.11"
pytest-pylint = "^0.19.0"
pre-commit = "^3.3.2"
[tool.poetry.scripts]
secretscraper = "secretscraper.cmdline:main"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
testpaths = "tests"
python_files = "tests.py test_*.py *_tests.py"
log_cli = true
log_cli_level = "ERROR"
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
addopts = "--durations=10 " #--full-trace --cov-report html --cov=src
junit_duration_report = "total"
filterwarnings = [
"ignore"
]
[tool.pylint.design]
max-line-length = 120