From e7928f2cb990e345545259f14798e80b5e836921 Mon Sep 17 00:00:00 2001 From: Dan Palmer Date: Sun, 17 Dec 2023 15:29:17 +0000 Subject: [PATCH] Add initial contributing guide --- .python-version | 5 +++++ CONTRIBUTING.md | 15 +++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 .python-version create mode 100644 CONTRIBUTING.md diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..5d6ed7f --- /dev/null +++ b/.python-version @@ -0,0 +1,5 @@ +3.7 +3.8 +3.9 +3.10 +3.11 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..96971f3 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,15 @@ +# Contributing + +`django-devdata` uses Poetry for packaging and Tox for testing. It is +recommended that you use Pyenv to provide versions of Python for testing, and +that you _do not_ use virtualenvs, but instead just use Poetry's built-in +virtualenv handling. + +### Testing + +``` +poetry run tox +``` + +This should run all the tests across the supported Python and Django version +combinations.