From e70d333d613682f045b5edde58866b4cd9b2151c Mon Sep 17 00:00:00 2001 From: Sandor Kertesz Date: Thu, 14 Dec 2023 09:10:15 +0000 Subject: [PATCH 1/2] Update install docs --- docs/install.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/install.rst b/docs/install.rst index 528f02d..2e189fe 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -14,13 +14,13 @@ Install **earthkit** with python3 (>= 3.8) and ``pip`` as follows: python3 -m pip install earthkit -Alternatively, install via ``conda`` with: +.. Alternatively, install via ``conda`` with: -.. code-block:: bash +.. .. code-block:: bash - conda install earthkit -c conda-forge +.. conda install earthkit -c conda-forge -This will bring in some necessary binary dependencies for you. +.. This will bring in some necessary binary dependencies for you. Installing the binary dependencies -------------------------------------- From 1b7d3ddb60440c99c26f384377bbc0f3a0766422 Mon Sep 17 00:00:00 2001 From: Sandor Kertesz Date: Thu, 14 Dec 2023 09:17:35 +0000 Subject: [PATCH 2/2] Upgrade language-formatters-pre-commit-hooks --- .pre-commit-config.yaml | 5 ++--- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 48052f9..5ffa512 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: hooks: - id: isort - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 23.9.1 hooks: - id: black - repo: https://github.com/keewis/blackdoc @@ -33,13 +33,12 @@ repos: - id: mdformat exclude: cruft-update-template.md - repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks - rev: v2.4.0 + rev: v2.11.0 hooks: - id: pretty-format-yaml args: [--autofix, --preserve-quotes] - id: pretty-format-toml args: [--autofix] - additional_dependencies: [toml-sort<0.22.0] - repo: https://github.com/PyCQA/pydocstyle.git rev: 6.1.1 hooks: diff --git a/pyproject.toml b/pyproject.toml index 3ea6133..4c283f9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,8 +8,8 @@ branch = true profile = "black" [tool.pydocstyle] -convention = "numpy" add_ignore = ["D1", "D200", "D205", "D400", "D401"] +convention = "numpy" [tool.setuptools_scm] write_to = "earthkit/version.py"