From d023969ecd79cd88a3a01e197a6f7cb3182527fd Mon Sep 17 00:00:00 2001 From: Daniel Bauer Date: Thu, 15 Aug 2024 21:25:27 +0200 Subject: [PATCH] configure pytest --- .gitignore | 1 + pyproject.toml | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 4b8cbbd..42f6928 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ django_signposting.egg-info/ dist .idea build +__pycache__ diff --git a/pyproject.toml b/pyproject.toml index 03e71e7..d9f1113 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,5 +12,14 @@ version = "0.0.1" readme = "README.md" requires-python = ">=3.12" dependencies = [ - "Django>=3.0" + "Django>=3.0", ] +[dev-dependencies] +test = [ + "pytest", +] + +[pytest] +minversion = 6.0 +addopts = "-ra -q" +testpaths = ["tests"]