diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 315f0ee..64abdbe 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -19,6 +19,7 @@ jobs: steps: - uses: actions/checkout@v4 - uses: psf/black@stable + - uses: isort/isort-action@v1 lint: name: Lint with ruff runs-on: ubuntu-latest @@ -127,4 +128,3 @@ jobs: with: # remove repository key to set the default to pypi (not test.pypi.org) repository-url: https://test.pypi.org/legacy/ - \ No newline at end of file diff --git a/docs/conf.py b/docs/conf.py index 4851ebe..fbaa22f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -49,6 +49,7 @@ html_js_files = [ "https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js" ] +os.environ["PLOTLY_RENDERER"] = "notebook" # compatibility with plotly6 # https://myst-nb.readthedocs.io/en/latest/configuration.html # Execution diff --git a/tests/test_mockup.py b/tests/test_mockup.py index 9307ed3..295cb72 100644 --- a/tests/test_mockup.py +++ b/tests/test_mockup.py @@ -1,6 +1,7 @@ -from python_package import hello_world, saved_world import pytest +from python_package import hello_world, saved_world + def test_hello_world_3times(): expected = "hello world hello world hello world"