Skip to content

Commit

Permalink
Merge pull request #91 from abravalheri/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
abravalheri authored Mar 22, 2023
2 parents f928f02 + 3296c98 commit b7b4c96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ repos:
args: ['--fix=auto'] # replace 'auto' with 'lf' to enforce Linux/Mac line endings or 'crlf' for Windows

- repo: https://github.com/PyCQA/autoflake
rev: v2.0.1
rev: v2.0.2
hooks:
- id: autoflake
args: [
Expand All @@ -30,7 +30,7 @@ repos:
]

- repo: https://github.com/codespell-project/codespell
rev: v2.2.2
rev: v2.2.4
hooks:
- id: codespell

Expand Down
2 changes: 1 addition & 1 deletion src/validate_pyproject/vendoring/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def _deprecated(orig, repl):

@wraps(orig)
def _wrapper(*args, **kwargs):
warnings.warn(cleandoc(msg), category=DeprecationWarning)
warnings.warn(cleandoc(msg), category=DeprecationWarning, stacklevel=2)
return repl(*args, **kwargs)

return _wrapper
Expand Down

0 comments on commit b7b4c96

Please sign in to comment.