Some helpful bits to help manage this project.
Use make format to identify and clean up linting and other errors that will get flagged by pre-commit hooks run by GitHub Actions.
Install tox globally
pip install toxUsing pyenv to install Python versions 3.8 - 3.11.
toxIf you update library requirements (aka the Pipfile[.lock]), make sure to regenerate the requirements.txt used by tox:
pipenv requirements > requirements.txtUse the .github/workflows/scraper-validation.yml workflow to run a scraper in GitHub Actions and review the exported outputs.
- Open Actions in the repository.
- Select Scraper validation.
- Click Run workflow.
- Enter
agency_slugand, if needed, optional inputs likethrottle_seconds,python_version, andupload_cache. - Start the workflow run.
After the run completes, review:
- The step summary panel in the workflow run
- The
scraper-exports-*artifact - The
scraper-summary-*artifact - The optional
scraper-cache-*artifact