Skip to content

🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev

Forcing Tox to always use pytest config file

Karim shoairb38c38b03b3d
diff --git a/tox.ini b/tox.ini
index 7da4eaa..cc08e05 100644
--- a/tox.ini
+++ b/tox.ini
@@ -15,8 +15,8 @@ commands =
playwright install chromium
playwright install-deps chromium firefox
camoufox fetch --browserforge
- py38: pytest --cov=scrapling --cov-report=xml
- py{39,310,311,312,313}: pytest --cov=scrapling --cov-report=xml -n auto
+ py38: pytest --config-file=../pytest.ini --cov=scrapling --cov-report=xml
+ py{39,310,311,312,313}: pytest --config-file=../pytest.ini --cov=scrapling --cov-report=xml -n auto
[testenv:pre-commit]
basepython = python3