From 3b9fc59cb613b34e1b62ca3b271d84a4dc60c8ed Mon Sep 17 00:00:00 2001 From: Alexander Hess Date: Fri, 2 Oct 2020 15:34:31 +0200 Subject: [PATCH] Add noxfile --- noxfile.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 noxfile.py diff --git a/noxfile.py b/noxfile.py new file mode 100644 index 0000000..44afb33 --- /dev/null +++ b/noxfile.py @@ -0,0 +1,13 @@ +"""Configure nox as the task runner.""" + +import nox + + +PYTHON = "3.8" + +# Use a unified .cache/ folder for all develop tools. +nox.options.envdir = ".cache/nox" + +# All tools except git and poetry are project dependencies. +# Avoid accidental successes if the environment is not set up properly. +nox.options.error_on_external_run = True