Browse Source

test: update the test framework

Updated the tox framework to operate on files in src for checks, but in
toxenv for tests
pull/314/head
Richard Nemeth 2 years ago
parent
commit
bc82de7989
No known key found for this signature in database GPG Key ID: 21C39470DF3DEC39
  1. 2
      docs/source/conf.py
  2. 12
      tox.ini

2
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

12
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 =

Loading…
Cancel
Save