From e3a78e1a3ffe00d8b750beaea50ff23c518c4d42 Mon Sep 17 00:00:00 2001 From: Teagan Date: Thu, 16 May 2024 09:07:15 -0600 Subject: [PATCH] flake8 --- cupid/run.py | 4 +++- docs/conf.py | 4 +--- examples/nblibrary/ice/vect_diff.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cupid/run.py b/cupid/run.py index ae9c3d96..8c072bac 100755 --- a/cupid/run.py +++ b/cupid/run.py @@ -36,6 +36,8 @@ # fmt: off # pylint: disable=line-too-long + + @click.command(context_settings=CONTEXT_SETTINGS) @click.option("--serial", "-s", is_flag=True, help="Do not use LocalCluster objects") @click.option("--time-series", "-ts", is_flag=True, help="Run time series generation scripts prior to diagnostics") @@ -204,7 +206,7 @@ def run( warnings.warn( f"Environment {bad_env} specified for {nb}.ipynb could not be found;"+ f" {nb}.ipynb will not be run."+ - f"See README.md for environment installation instructions.", + "See README.md for environment installation instructions.", ) all_nbs.pop(nb) diff --git a/docs/conf.py b/docs/conf.py index 523d25f3..7aeeec4b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -105,7 +105,6 @@ # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. -# fmt: off html_theme_options = dict( # analytics_id="" this is configured in rtfd.io # canonical_url="", @@ -117,8 +116,7 @@ use_issues_button=True, home_page_in_toc=True, extra_footer="The National Center for Atmospheric Research is sponsored by the National Science Foundation. Any opinions, findings and conclusions or recommendations expressed in this material do not necessarily reflect the views of the National Science Foundation.", -) -# fmt: on +) # noqa # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, diff --git a/examples/nblibrary/ice/vect_diff.py b/examples/nblibrary/ice/vect_diff.py index 012dc5df..1c0422e9 100644 --- a/examples/nblibrary/ice/vect_diff.py +++ b/examples/nblibrary/ice/vect_diff.py @@ -115,7 +115,7 @@ def vect_diff(uvel1, vvel1, uvel2, vvel2, angle, proj, case1, case2, TLAT, TLON) transform=ccrs.PlateCarree(), ) units = "cm/s" - qk = ax.quiverkey( + ax.quiverkey( Q, 0.85, 0.025,