From bc82de7989efc880cf1946e161a6747a73418e74 Mon Sep 17 00:00:00 2001 From: Richard Nemeth Date: Thu, 19 May 2022 19:27:08 +0200 Subject: [PATCH] test: update the test framework Updated the tox framework to operate on files in src for checks, but in toxenv for tests --- docs/source/conf.py | 2 +- tox.ini | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 3a70cb6..2b67d12 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -41,7 +41,7 @@ extensions = [ ] autoapi_type = "python" -autoapi_dirs = ["../../keycloak"] +autoapi_dirs = ["../../src/keycloak"] autoapi_root = "reference" autoapi_keep_files = False autoapi_add_toctree_entry = False diff --git a/tox.ini b/tox.ini index 2726f66..54b2c2b 100644 --- a/tox.ini +++ b/tox.ini @@ -10,9 +10,9 @@ deps = isort flake8 commands = - black --check --diff keycloak tests docs - isort -c --df keycloak tests docs - flake8 keycloak tests docs + black --check --diff src/keycloak tests docs setup.py + isort -c --df src/keycloak tests docs setup.py + flake8 src/keycloak tests docs setup.py [testenv:apply-check] deps = @@ -20,9 +20,9 @@ deps = isort flake8 commands = - black -C keycloak tests docs - black keycloak tests docs - isort keycloak tests docs + black -C src/keycloak tests docs setup.py + black src/keycloak tests docs setup.py + isort src/keycloak tests docs setup.py [testenv:docs] deps =