diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 34380e15..4276177a 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -53,7 +53,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download build artifacts (i.e. documentation) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: html-docs path: docs/build/html/ diff --git a/ci_environment.yaml b/ci_environment.yaml index 1faba7c8..024cd9f8 100644 --- a/ci_environment.yaml +++ b/ci_environment.yaml @@ -8,9 +8,11 @@ dependencies: - pip: - numpy - pytest - - sphinx==7.4 # TODO(CB): update sphinx allowed version for CI + - sphinx - furo - sphinx_copybutton - sphinxcontrib-bibtex + - sphinxcontrib-applehelp + - sphinxcontrib-htmlhelp - breathe - pre-commit diff --git a/docs/source/conf.py b/docs/source/conf.py index 75b147de..17110ce1 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -18,7 +18,6 @@ configuration for CLEO documentation made using Sphinx """ - # Configuration file for the Sphinx documentation builder. # # For the full list of built-in configuration values, see the documentation: diff --git a/examples/bubble3d/bubble3d.py b/examples/bubble3d/bubble3d.py index 6bd119ae..75fbbf31 100644 --- a/examples/bubble3d/bubble3d.py +++ b/examples/bubble3d/bubble3d.py @@ -20,7 +20,6 @@ piggyback ICON bubble test case """ - import os import sys from pathlib import Path diff --git a/examples/bubble3d/yac_bubble_data_reader.py b/examples/bubble3d/yac_bubble_data_reader.py index dd4d6645..c73280a1 100755 --- a/examples/bubble3d/yac_bubble_data_reader.py +++ b/examples/bubble3d/yac_bubble_data_reader.py @@ -20,7 +20,6 @@ output data and CLEO (e.g. for the bubble test case) """ - #!/usr/bin/env python3 from yac import YAC, UnstructuredGrid, Field, Location, Calendar, TimeUnit, def_calendar diff --git a/examples/fromfile/src/gen_input_thermo.py b/examples/fromfile/src/gen_input_thermo.py index e8c0d2c6..4d957de5 100644 --- a/examples/fromfile/src/gen_input_thermo.py +++ b/examples/fromfile/src/gen_input_thermo.py @@ -20,7 +20,6 @@ for CLEO to run example with 3-D time-varying thermodynamics. """ - import sys import numpy as np diff --git a/examples/fromfile/src/plot_output_thermo.py b/examples/fromfile/src/plot_output_thermo.py index 1ad427a9..3b5536a0 100644 --- a/examples/fromfile/src/plot_output_thermo.py +++ b/examples/fromfile/src/plot_output_thermo.py @@ -20,7 +20,6 @@ fromfile example. """ - import numpy as np import matplotlib.pyplot as plt from matplotlib.gridspec import GridSpec diff --git a/pySD/initsuperdropsbinary_src/__init__.py b/pySD/initsuperdropsbinary_src/__init__.py index 9b87b626..d12ed05f 100644 --- a/pySD/initsuperdropsbinary_src/__init__.py +++ b/pySD/initsuperdropsbinary_src/__init__.py @@ -17,7 +17,6 @@ File Description: """ - __all__ = [ "create_initsuperdrops", "read_initsuperdrops", diff --git a/pySD/thermobinary_src/create_thermodynamics.py b/pySD/thermobinary_src/create_thermodynamics.py index 238eac7f..57f12fe4 100644 --- a/pySD/thermobinary_src/create_thermodynamics.py +++ b/pySD/thermobinary_src/create_thermodynamics.py @@ -17,7 +17,6 @@ File Description: """ - import numpy as np from os.path import isfile from .. import cxx2py, readconfigfile, writebinary diff --git a/pySD/writebinary.py b/pySD/writebinary.py index e572c4f9..06965755 100644 --- a/pySD/writebinary.py +++ b/pySD/writebinary.py @@ -18,7 +18,6 @@ File Description: """ - import numpy as np import struct diff --git a/requirements.txt b/requirements.txt index d9ec4e1f..cb9817f4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,6 +3,8 @@ sphinx furo sphinx_copybutton sphinxcontrib-bibtex +sphinxcontrib-applehelp +sphinxcontrib-htmlhelp breathe numpy scipy diff --git a/setup.py b/setup.py index 44a59631..eb566bc7 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,6 @@ Copyright (c) 2023 MPI-M, Clara Bayley """ - from setuptools import setup, find_packages setup(