1 Star 0 Fork 0

Gitee 极速下载/Scrapling

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/D4Vinci/Scrapling
克隆/下载
tox.ini 896 Bytes
一键复制 编辑 原始数据 按行查看 历史
# Tox (https://tox.readthedocs.io/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = pre-commit,py{39,310,311,312,313}
[testenv]
usedevelop = True
changedir = tests
deps =
-r{toxinidir}/tests/requirements.txt
commands =
playwright install chromium
playwright install-deps chromium firefox
camoufox fetch --browserforge
# Test async tests without parallelization to escape Github CI issues with nested loops
pytest --cov=scrapling --cov-report=xml -m "asyncio" --verbose
pytest --cov=scrapling --cov-report=xml -m "not asyncio" -n auto --cov-append
[testenv:pre-commit]
basepython = python3
deps = pre-commit
commands = pre-commit run --all-files --show-diff-on-failure
skip_install = true
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/mirrors/Scrapling.git
git@gitee.com:mirrors/Scrapling.git
mirrors
Scrapling
Scrapling
dev

搜索帮助