3You can set up a local development environment by cloning the repo and installing dependencies:
6git clone https://github.com/alexwlchan/javascript-data-files.git
7cd javascript-data-files
9source .venv/bin/activate
13If you want to run tests, install the dev dependencies and run the tests:
16# Activate the virtualenv and install dev dependencies
17source .venv/bin/activate
18pip install -r dev_requirements.txt
31coverage run -m pytest tests
382. Push your changes to GitHub
404. Fix any issues flagged by GitHub Actions (including tests, code linting, and type checking)
43To create a new version on PyPI:
451. Update the version in
`src/javascript_data_files/__init__.py`
462. Add release notes in
`CHANGELOG.md` and push a new tag to GitHub
473. Deploy the release using twine:
51 $ python3 -m twine upload dist/* --username
=__token__
54 You will need [
a PyPI API token](
https://pypi.org/help/#apitoken) to publish packages.