andreroggeri / ynab-sdk-python

Python implementation of the YNAB API (https://api.youneedabudget.com/)
Apache License 2.0
29 stars 10 forks source link

chore(deps): bump kgb from 6.0 to 7.0 #96

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps kgb from 6.0 to 7.0.

Changelog

Sourced from kgb's changelog.

============ kgb Releases

kgb 7 (20-January-2022)

  • Added explicit support for Python 3.10.

  • Dropped support for Python 2.6, 3.4, and 3.5.

  • kgb now works as a plugin for pytest_.

    Unit tests can use the spy_agency fixture to have a spy agency created and ready for use. Spies will be automatically unregistered when the test completes.

  • Added snake_case versions of all assertion methods in SpyAgency.

    This includes:

    • assert_has_spy
    • assert_spy_call_count
    • assert_spy_called_with
    • assert_spy_called
    • assert_spy_last_called_with
    • assert_spy_last_raised_message
    • assert_spy_last_raised
    • assert_spy_last_returned
    • assert_spy_not_called_with
    • assert_spy_not_called
    • assert_spy_raised_message
    • assert_spy_raised
    • assert_spy_returned
  • Added standalone assertion methods in kgb.asserts.

    This provides all the assertion methods shown above, but as standalone methods that can work in any test suite.

  • Added a func_name= argument when setting up spies, to avoid problems with bad decorators.

    When spying on an unbound method wrapped in a decorator that doesn't preserve the function name, errors could occur.

    In this case, you can pass func_name= when setting up the spy, telling kgb about the original function name it should use.

    This is a special situation. Most spies will not need to set this.

... (truncated)

Commits
  • 8898920 Release kgb 7.0.
  • 1aa6e8d Use "kgb" instead of "KGB" everywhere.
  • 05be4e2 Add release notes for kgb 7.
  • ee97b43 Update the README for pytest, standalone assertions, and users.
  • 4b324e3 Add explicit support for pytest.
  • cb94500 Add snake_case assertion functions and standalone assertions functions.
  • 8c2008e Allow specifying a function name for spying on bad decorators.
  • caaf8eb Update the package version generation and Python compatibility.
  • b26d246 Use tox as a test environment manager.
  • c663022 Explicitly order keyword arguments in SpyCall.repr.
  • 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 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)
codeclimate[bot] commented 2 years ago

Code Climate has analyzed commit b80ccd77 and detected 0 issues on this pull request.

View more on Code Climate.

dependabot[bot] commented 2 years ago

Superseded by #114.