earthlab / earthpy

A package built to support working with spatial data using open source python
https://earthpy.readthedocs.io
BSD 3-Clause "New" or "Revised" License
508 stars 160 forks source link

Update pre-commit to 3.7.0 #951

Open pyup-bot opened 7 months ago

pyup-bot commented 7 months ago

This PR updates pre-commit from 3.3.3 to 3.7.0.

Changelog ### 3.7.0 ``` ================== Features - Use a tty for `docker` and `docker_image` hooks when `--color` is specified. - 3122 PR by glehmann. Fixes - Fix `fail_fast` for individual hooks stopping when previous hooks had failed. - 3167 issue by tp832944. - 3168 PR by asottile. Updating - The per-hook behaviour of `fail_fast` was fixed. If you want the pre-3.7.0 behaviour, add `fail_fast: true` to all hooks before the last `fail_fast` hook. ``` ### 3.6.2 ``` ================== Fixes - Fix building golang hooks during `git commit --all`. - 3130 PR by asottile. - 2722 issue by pestanko and matthewhughes934. ``` ### 3.6.1 ``` ================== Fixes - Remove `PYTHONEXECUTABLE` from environment when running. - 3110 PR by untitaker. - Handle staged-files-only with only a crlf diff. - 3126 PR by asottile. - issue by tyyrok. ``` ### 3.6.0 ``` ================== Features - Check `minimum_pre_commit_version` first when parsing configs. - 3092 PR by asottile. Fixes - Fix deprecation warnings for `importlib.resources`. - 3043 PR by asottile. - Fix deprecation warnings for rmtree. - 3079 PR by edgarrmondragon. Updating - Drop support for python<3.9. - 3042 PR by asottile. - 3093 PR by asottile. ``` ### 3.5.0 ``` ================== Features - Improve performance of `check-hooks-apply` and `check-useless-excludes`. - 2998 PR by mxr. - 2935 issue by mxr. Fixes - Use `time.monotonic()` for more accurate hook timing. - 3024 PR by adamchainz. Migrating - Require npm 6.x+ for `language: node` hooks. - 2996 PR by RoelAdriaans. - 1983 issue by henryiii. ``` ### 3.4.0 ``` ================== Features - Add `language: haskell`. - 2932 by alunduil. - Improve cpu count detection when run under cgroups. - 2979 PR by jdb8. - 2978 issue by jdb8. Fixes - Handle negative exit codes from hooks receiving posix signals. - 2971 PR by chriskuehl. - 2970 issue by chriskuehl. ```
Links - PyPI: https://pypi.org/project/pre-commit - Changelog: https://data.safetycli.com/changelogs/pre-commit/ - Repo: https://github.com/pre-commit/pre-commit
codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.91%. Comparing base (5b7bfb3) to head (3901737).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #951 +/- ## ======================================= Coverage 93.91% 93.91% ======================================= Files 26 26 Lines 1708 1708 ======================================= Hits 1604 1604 Misses 104 104 ``` | [Flag](https://app.codecov.io/gh/earthlab/earthpy/pull/951/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=earthlab) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/earthlab/earthpy/pull/951/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=earthlab) | `93.91% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=earthlab#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.