Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 898 Bytes

File metadata and controls

37 lines (22 loc) · 898 Bytes

.github-python

Defaults for Python repos by this org.

Requirements

Python 3.12. May work with other versions, but not guaranteed.

Development

It's recommended to do development with Venv. To set up the environment run:

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Testing

To install test modules run:

pip install -r requirements-test.txt

Testing is done by Tox. Run tox for all tests. Settings can be changed in tox.ini.

Unit tests are run with Pytest. Test files live in tests/.

Style is checked by Flake8.

Module import order is handled by Isort.

CI

Github actions are specified in .github/workflows/python.yml. By deafult Tox will run when code is pushed.