Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump for ruff format v0.3.0 update #739

Merged
merged 1 commit into from
Mar 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions requirements/locks/lock2yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# See the LICENSE file in the package root directory for licensing details.

"""Convert a lock file to a YAML file."""

from __future__ import annotations

import sys
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# See the LICENSE file in the package root directory for licensing details.

"""geovista setuptools packaging."""

from __future__ import annotations

from setuptools import setup
Expand Down
1 change: 1 addition & 0 deletions src/geovista/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
.. versionadded:: 0.1.0

"""

from __future__ import annotations

import os
Expand Down
1 change: 1 addition & 0 deletions src/geovista/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# See the LICENSE file in the package root directory for licensing details.

"""Entry-point for geovista command line interface (CLI)."""

from __future__ import annotations

from .cli import main
Expand Down
1 change: 1 addition & 0 deletions src/geovista/bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
.. versionadded:: 0.1.0

"""

from __future__ import annotations

from typing import TYPE_CHECKING
Expand Down
1 change: 1 addition & 0 deletions src/geovista/cache/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
.. versionadded:: 0.1.0

"""

from __future__ import annotations

import os
Expand Down
1 change: 1 addition & 0 deletions src/geovista/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
.. versionadded:: 0.1.0

"""

from __future__ import annotations

import importlib
Expand Down
1 change: 1 addition & 0 deletions src/geovista/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
.. versionadded:: 0.1.0

"""

from __future__ import annotations

from collections.abc import Iterable
Expand Down
1 change: 1 addition & 0 deletions src/geovista/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def update_config(resources: dict[str, str]) -> None:
.. versionadded:: 0.1.0

"""

from __future__ import annotations

from os import environ
Expand Down
1 change: 1 addition & 0 deletions src/geovista/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
.. versionadded:: 0.1.0

"""

from __future__ import annotations

import copy
Expand Down
1 change: 1 addition & 0 deletions src/geovista/crs.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
.. versionadded:: 0.1.0

"""

from __future__ import annotations

from typing import TYPE_CHECKING
Expand Down
1 change: 1 addition & 0 deletions src/geovista/examples/clouds.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import cmocean
Expand Down
1 change: 1 addition & 0 deletions src/geovista/examples/clouds_robin.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import cmocean
Expand Down
1 change: 1 addition & 0 deletions src/geovista/examples/curvilinear/from_2d__orca.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import geovista as gv
Expand Down
1 change: 1 addition & 0 deletions src/geovista/examples/curvilinear/from_2d__orca_moll.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import geovista as gv
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import geovista as gv
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import geovista as gv
Expand Down
1 change: 1 addition & 0 deletions src/geovista/examples/rectilinear/from_1d__oisst.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import geovista as gv
Expand Down
1 change: 1 addition & 0 deletions src/geovista/examples/rectilinear/from_1d__oisst_eqc.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import geovista as gv
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import numpy as np
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import numpy as np
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import numpy as np
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import numpy as np
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import numpy as np
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import numpy as np
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import numpy as np
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import numpy as np
Expand Down
1 change: 1 addition & 0 deletions src/geovista/examples/scalar_data/earthquakes.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
----

""" # noqa: D205,D212,D400,E501

from __future__ import annotations

from warnings import warn
Expand Down
1 change: 1 addition & 0 deletions src/geovista/examples/scalar_data/earthquakes_wink1.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
----

""" # noqa: D205,D212,D400,E501

from __future__ import annotations

from warnings import warn
Expand Down
1 change: 1 addition & 0 deletions src/geovista/examples/spatial_index/uber_h3.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
----

""" # noqa: D205,D212,D400

# %%
# 馃 Walk-Through
# ^^^^^^^^^^^^^^^
Expand Down
1 change: 1 addition & 0 deletions src/geovista/examples/unstructured/dynamico.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import geovista as gv
Expand Down
1 change: 1 addition & 0 deletions src/geovista/examples/unstructured/dynamico_poly.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import geovista as gv
Expand Down
1 change: 1 addition & 0 deletions src/geovista/examples/unstructured/fesom.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import geovista as gv
Expand Down
1 change: 1 addition & 0 deletions src/geovista/examples/unstructured/fesom_fouc.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import geovista as gv
Expand Down
1 change: 1 addition & 0 deletions src/geovista/examples/unstructured/icon.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import matplotlib as mpl
Expand Down
1 change: 1 addition & 0 deletions src/geovista/examples/unstructured/icon_eqc.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import matplotlib as mpl
Expand Down
1 change: 1 addition & 0 deletions src/geovista/examples/unstructured/lam_pacific.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import geovista as gv
Expand Down
1 change: 1 addition & 0 deletions src/geovista/examples/unstructured/lam_pacific_moll.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import geovista as gv
Expand Down
1 change: 1 addition & 0 deletions src/geovista/examples/unstructured/lfric_sst.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import geovista as gv
Expand Down
1 change: 1 addition & 0 deletions src/geovista/examples/unstructured/lfric_sst_bonne.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import geovista as gv
Expand Down
1 change: 1 addition & 0 deletions src/geovista/examples/unstructured/smc.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import geovista as gv
Expand Down
1 change: 1 addition & 0 deletions src/geovista/examples/unstructured/smc_sinu.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import geovista as gv
Expand Down
1 change: 1 addition & 0 deletions src/geovista/examples/unstructured/tri.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import geovista as gv
Expand Down
1 change: 1 addition & 0 deletions src/geovista/examples/unstructured/tri_hammer.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import geovista as gv
Expand Down
1 change: 1 addition & 0 deletions src/geovista/examples/vector_data/vectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import numpy as np
Expand Down
1 change: 1 addition & 0 deletions src/geovista/examples/warp/from_unstructured__fvcom.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import geovista as gv
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import geovista as gv
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
----

""" # noqa: D205,D212,D400

from __future__ import annotations

import geovista as gv
Expand Down
1 change: 1 addition & 0 deletions src/geovista/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
.. versionadded:: 0.1.0

"""

from __future__ import annotations

from typing import TYPE_CHECKING
Expand Down
1 change: 1 addition & 0 deletions src/geovista/geodesic.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
.. versionadded:: 0.1.0

"""

from __future__ import annotations

from collections.abc import Iterable
Expand Down