From 4c1cd394764b0fd6b72285dd19f8c3282e1dd1f3 Mon Sep 17 00:00:00 2001 From: Trevor James Smith <10819524+Zeitsperre@users.noreply.github.com> Date: Tue, 17 Sep 2024 13:28:08 -0400 Subject: [PATCH] update CHANGELOG.rst --- CHANGELOG.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 0791804e7..efafee663 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -39,6 +39,12 @@ Internal changes * The codebase has been adjusted to address many `pylint`-related warnings and errors. In some cases, `casting` was used to redefine some `numpy` and `xarray` objects. (:issue:`1719`, :pull:`1881`). * ``xclim.core`` now uses absolute imports for clarity and some objects commonly used in the module have been moved to hidden submodules. (:issue:`1719`, :pull:`1881`). * ``xclim.core.indicator.Parameter`` has a new attribute ``compute_name`` while ``xclim.core.indicator.Indicator`` lost its ``_variable_mapping``. The translation from parameter (and variable) names in the indicator to the names on the compute function is handled by ``Indicator._get_compute_args``. (:pull:`1885`). +* Adopted many linting and formatting suggestions from the Scientific Python `repo-review `_ tool: (:pull:`1910`) + * Applied several linting suggestions adopted by the `scipy` community. + * Replaced `isort` with `ruff`-based import-sorting formatting. + * Added formatting for `Markdown` files. + * Added the `bugbear`, `pyupgrade` checks to the `ruff` formatter. + * Adjusted `mypy` checks to be more standardized. CI changes ^^^^^^^^^^