frgfm / torch-cam

Class activation maps for your PyTorch models (CAM, Grad-CAM, Grad-CAM++, Smooth Grad-CAM++, Score-CAM, SS-CAM, IS-CAM, XGrad-CAM, Layer-CAM)
https://frgfm.github.io/torch-cam/
Apache License 2.0
1.99k stars 205 forks source link

build(deps-dev): bump ruff from 0.5.2 to 0.5.5 #266

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 2 months ago

Bumps ruff from 0.5.2 to 0.5.5.

Release notes

Sourced from ruff's releases.

0.5.5

Release Notes

Preview features

  • [fastapi] Implement fastapi-redundant-response-model (FAST001) and fastapi-non-annotated-dependency(FAST002) (#11579)
  • [pydoclint] Implement docstring-missing-exception (DOC501) and docstring-extraneous-exception (DOC502) (#11471)

Rule changes

  • [numpy] Fix NumPy 2.0 rule for np.alltrue and np.sometrue (#12473)
  • [numpy] Ignore NPY201 inside except blocks for compatibility with older numpy versions (#12490)
  • [pep8-naming] Avoid applying ignore-names to self and cls function names (N804, N805) (#12497)

Formatter

  • Fix incorrect placement of leading function comment with type params (#12447)

Server

  • Do not bail code action resolution when a quick fix is requested (#12462)

Bug fixes

  • Fix Ord implementation of cmp_fix (#12471)
  • Raise syntax error for unparenthesized generator expression in multi-argument call (#12445)
  • [pydoclint] Fix panic in DOC501 reported in #12428 (#12435)
  • [flake8-bugbear] Allow singleton tuples with starred expressions in B013 (#12484)

Documentation

  • Add Eglot setup guide for Emacs editor (#12426)
  • Add note about the breaking change in nvim-lspconfig (#12507)
  • Add note to include notebook files for native server (#12449)
  • Add setup docs for Zed editor (#12501)

Contributors

... (truncated)

Changelog

Sourced from ruff's changelog.

0.5.5

Preview features

  • [fastapi] Implement fastapi-redundant-response-model (FAST001) and fastapi-non-annotated-dependency(FAST002) (#11579)
  • [pydoclint] Implement docstring-missing-exception (DOC501) and docstring-extraneous-exception (DOC502) (#11471)

Rule changes

  • [numpy] Fix NumPy 2.0 rule for np.alltrue and np.sometrue (#12473)
  • [numpy] Ignore NPY201 inside except blocks for compatibility with older numpy versions (#12490)
  • [pep8-naming] Avoid applying ignore-names to self and cls function names (N804, N805) (#12497)

Formatter

  • Fix incorrect placement of leading function comment with type params (#12447)

Server

  • Do not bail code action resolution when a quick fix is requested (#12462)

Bug fixes

  • Fix Ord implementation of cmp_fix (#12471)
  • Raise syntax error for unparenthesized generator expression in multi-argument call (#12445)
  • [pydoclint] Fix panic in DOC501 reported in #12428 (#12435)
  • [flake8-bugbear] Allow singleton tuples with starred expressions in B013 (#12484)

Documentation

  • Add Eglot setup guide for Emacs editor (#12426)
  • Add note about the breaking change in nvim-lspconfig (#12507)
  • Add note to include notebook files for native server (#12449)
  • Add setup docs for Zed editor (#12501)

0.5.4

Rule changes

  • [ruff] Rename RUF007 to zip-instead-of-pairwise (#12399)

Bug fixes

  • [flake8-builtins] Avoid shadowing diagnostics for @override methods (#12415)
  • [flake8-comprehensions] Insert parentheses for multi-argument generators (#12422)
  • [pydocstyle] Handle escaped docstrings within docstring (D301) (#12192)

Documentation

  • Fix GitHub link to Neovim setup (#12410)

... (truncated)

Commits
  • fc16d8d Bump version to 0.5.5 (#12510)
  • 175e5d7 Add missing traceback line in f-string-in-exception docstring. (#12508)
  • c03f257 Add note about the breaking change in nvim-lspconfig (#12507)
  • 6bbb4a2 Add setup docs for Zed editor (#12501)
  • 2ce3e3a Fix the search path tests on MacOS (#12503)
  • 2a64ccc Avoid applying ignore-names to self and cls function names (#12497)
  • 928ffd6 Ignore NPY201 inside except blocks for compatibility with older numpy ver...
  • e52be09 [red-knot] Improve validation for search paths (#12376)
  • 8890735 [flake8-bugbear] Allow singleton tuples with starred expressions in B013 (#12...
  • eac965e [red-knot] Watch search paths (#12407)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
socket-security[bot] commented 2 months ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
pypi/ruff@0.5.5 None 0 0 B

🚮 Removed packages: pypi/ruff@0.5.2, pypi/ruff@0.5.2, pypi/ruff@0.5.2, pypi/ruff@0.5.2, pypi/ruff@0.5.2, pypi/ruff@0.5.2, pypi/ruff@0.5.2, pypi/ruff@0.5.2, pypi/ruff@0.5.2, pypi/ruff@0.5.2, pypi/ruff@0.5.2, pypi/ruff@0.5.2, pypi/ruff@0.5.2, pypi/ruff@0.5.2, pypi/ruff@0.5.2, pypi/ruff@0.5.2, pypi/ruff@0.5.2, pypi/ruff@0.5.2

View full report↗︎

codecov[bot] commented 2 months ago

Codecov Report

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

Project coverage is 97.27%. Comparing base (310b0f1) to head (7a1fb43).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/frgfm/torch-cam/pull/266/graphs/tree.svg?width=650&height=150&src=pr&token=bmzD6bZSAX&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=F-G+Fernandez)](https://app.codecov.io/gh/frgfm/torch-cam/pull/266?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=F-G+Fernandez) ```diff @@ Coverage Diff @@ ## main #266 +/- ## ========================================== + Coverage 97.25% 97.27% +0.02% ========================================== Files 8 8 Lines 437 441 +4 ========================================== + Hits 425 429 +4 Misses 12 12 ``` | [Files](https://app.codecov.io/gh/frgfm/torch-cam/pull/266?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=F-G+Fernandez) | Coverage Δ | | |---|---|---| | [torchcam/methods/activation.py](https://app.codecov.io/gh/frgfm/torch-cam/pull/266?src=pr&el=tree&filepath=torchcam%2Fmethods%2Factivation.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=F-G+Fernandez#diff-dG9yY2hjYW0vbWV0aG9kcy9hY3RpdmF0aW9uLnB5) | `97.56% <100.00%> (ø)` | | | [torchcam/methods/core.py](https://app.codecov.io/gh/frgfm/torch-cam/pull/266?src=pr&el=tree&filepath=torchcam%2Fmethods%2Fcore.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=F-G+Fernandez#diff-dG9yY2hjYW0vbWV0aG9kcy9jb3JlLnB5) | `96.15% <100.00%> (+0.12%)` | :arrow_up: | | [torchcam/metrics.py](https://app.codecov.io/gh/frgfm/torch-cam/pull/266?src=pr&el=tree&filepath=torchcam%2Fmetrics.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=F-G+Fernandez#diff-dG9yY2hjYW0vbWV0cmljcy5weQ==) | `95.45% <100.00%> (ø)` | |