Skip to content

Commit

Permalink
Bump flake8-print from 4.0.0 to 5.0.0 (#1150)
Browse files Browse the repository at this point in the history
Bump flake8-print from 4.0.0 to 5.0.0

Bumps [flake8-print](https:/jbkahn/flake8-print) from 4.0.0 to 5.0.0.
- [Release notes](https:/jbkahn/flake8-print/releases)
- [Commits](https:/jbkahn/flake8-print/commits)

---
updated-dependencies:
- dependency-name: flake8-print
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored May 2, 2022
1 parent c95ad2a commit 6c59eac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion flake8-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ flake8-if-statements==0.1.0 # condition linting
flake8-isort==4.1.1 # runs isort
flake8-mutable==1.2.0 # mutable default argument detection
flake8-pep3101==1.3.0 # new-style format strings only
flake8-print==4.0.0 # complain about print statements in code
flake8-print==5.0.0 # complain about print statements in code
flake8-printf-formatting==1.1.2 # forbey printf-style python2 string formatting
flake8-pytest-style==1.6.0 # pytest checks
flake8-raise==0.0.5 # exception raising linting
Expand Down
2 changes: 1 addition & 1 deletion hikari/internal/reflect.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def profiled(call: typing.Callable[..., _T]) -> typing.Callable[..., _T]: # pra

@functools.wraps(call)
def wrapped(*args: typing.Any, **kwargs: typing.Any) -> typing.Any:
print("Profiling", call.__module__ + "." + call.__qualname__) # noqa: T001 print disallowed.
print("Profiling", call.__module__ + "." + call.__qualname__) # noqa: T201 print disallowed.
cProfile.runctx(invoker, globals=globals(), locals=locals(), filename=None, sort=1)
return locals()["result"]

Expand Down
2 changes: 1 addition & 1 deletion tests/hikari/hikari_test_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ async def retry_wrapper(*args, **kwargs):
ex = None
for i in range(max_retries + 1):
if i:
print("retry", i, "of", max_retries) # noqa: T001 - Print found
print("retry", i, "of", max_retries) # noqa: T201 - Print found
try:
await func(*args, **kwargs)
return
Expand Down

0 comments on commit 6c59eac

Please sign in to comment.