From b34461137142122b7601918c6e235a170b7f049f Mon Sep 17 00:00:00 2001 From: Paul Pfeister Date: Sat, 18 May 2024 23:09:17 -0400 Subject: [PATCH] Add basic tox --- tox.ini | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 tox.ini diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..b7fe323 --- /dev/null +++ b/tox.ini @@ -0,0 +1,25 @@ +[tox] +requires = + tox >= 4 +envlist = + lint + py313 + py312 + py311 + py310 + py39 + py38 + +[testenv] +whitelist_externals = poetry +commands = + poetry plugin add poetry-version-plugin + poetry install --no-root --with dev + +[testenv:lint] +description = Lint with Ruff +deps = + ruff +commands = + ruff check +