Skip to content

Commit

Permalink
Merge pull request #872 from kurtmckee/use-slyp
Browse files Browse the repository at this point in the history
Add slyp as a pre-commit hook
  • Loading branch information
kurtmckee authored Oct 17, 2023
2 parents 37e6aa5 + 1518e23 commit f047214
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ repos:
hooks:
- id: isort
name: "Sort python imports"
- repo: https://github.com/sirosen/slyp
rev: 0.1.1
hooks:
- id: slyp
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
hooks:
Expand Down
6 changes: 4 additions & 2 deletions tests/unit/experimental/test_auth_requirements_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,10 @@ def test_backward_compatibility_consent_required_error():
( # missing 'authorization_parameters'
_variants.LegacyAuthorizationParametersError,
{},
"'authorization_parameters' must be a 'LegacyAuthorizationParameters' "
"object or a dictionary",
(
"'authorization_parameters' must be a 'LegacyAuthorizationParameters' "
"object or a dictionary"
),
),
( # missing 'code'
_variants.LegacyConsentRequiredTransferError,
Expand Down

0 comments on commit f047214

Please sign in to comment.