diff --git a/modelskill/comparison/_comparer_plotter.py b/modelskill/comparison/_comparer_plotter.py index 08deb9b75..3a47bcb69 100644 --- a/modelskill/comparison/_comparer_plotter.py +++ b/modelskill/comparison/_comparer_plotter.py @@ -477,7 +477,7 @@ def scatter( skill_table: Optional[Union[str, List[str], bool]] = None, ax: Optional[matplotlib.axes.Axes] = None, **kwargs, - ) -> matplotlib.axes.Axes | list[matplotlib.axes.Axes]: + ) -> matplotlib.axes.Axes | list[matplotlib.axes.Axes]: """Scatter plot tailored for model-observation comparison. Optionally, with density histogram. diff --git a/pyproject.toml b/pyproject.toml index c8d7eea47..22d8b2048 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,8 +9,8 @@ exclude = ["notebooks", "tests"] allow-direct-references = true [project] -name="modelskill" -version="1.2.dev0" +name = "modelskill" +version = "1.2.dev0" dependencies = [ "numpy > 1.24.4", "pandas >= 1.4", @@ -23,11 +23,11 @@ dependencies = [ ] authors = [ - { name="Jesper Sandvig Mariegaard", email="jem@dhigroup.com" }, - { name="Henrik Andersson", email="jan@dhigroup.com" }, + { name = "Jesper Sandvig Mariegaard", email = "jem@dhigroup.com" }, + { name = "Henrik Andersson", email = "jan@dhigroup.com" }, ] -description="Compare results from simulations with observations." -license="MIT" +description = "Compare results from simulations with observations." +license = "MIT" readme = "README.md" requires-python = ">=3.10" classifiers = [ @@ -44,45 +44,36 @@ classifiers = [ ] [project.optional-dependencies] -docs = ["quarto-cli==1.5.57", - "quartodoc==0.9.1", - "netCDF4", - "plotly >= 4.5", - "dask", - ] +docs = [ + "quarto-cli==1.5.57", + "quartodoc==0.9.1", + "netCDF4", + "plotly >= 4.5", + "dask", +] -dev = ["pytest", - "plotly >= 4.5", - "ruff==0.6.2",] +dev = ["pytest", "plotly >= 4.5", "ruff==0.6.2"] -test = [ - "pytest", - "pytest-cov", - "openpyxl", - "dask", - "mypy", - "types-PyYAML", - "geopandas", - ] +test = [ + "pytest", + "pytest-cov", + "openpyxl", + "dask", + "mypy", + "types-PyYAML", + "geopandas", +] -notebooks = [ - "nbformat", - "nbconvert", - "jupyter", - "plotly", - "shapely", - "seaborn", - ] +notebooks = ["nbformat", "nbconvert", "jupyter", "plotly", "shapely", "seaborn"] [project.urls] "Homepage" = "https://github.com/DHI/modelskill" "Bug Tracker" = "https://github.com/DHI/modelskill/issues" - [tool.ruff.lint] ignore = ["E501"] -select = ["D200", "D205"] +select = ["E4", "E7", "E9", "F", "D200", "D205"] [tool.mypy] python_version = "3.9"