ci: [pre-commit.ci] autoupdate (#156)

* ci: [pre-commit.ci] autoupdate

updates:
- [github.com/psf/black: 23.1.0 → 23.3.0](https://github.com/psf/black/compare/23.1.0...23.3.0)
- [github.com/charliermarsh/ruff-pre-commit: v0.0.254 → v0.0.260](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.254...v0.0.260)
- [github.com/abravalheri/validate-pyproject: v0.12.1 → v0.12.2](https://github.com/abravalheri/validate-pyproject/compare/v0.12.1...v0.12.2)

* style: [pre-commit.ci] auto fixes [...]

* fix: fix precommit

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Talley Lambert <talley.lambert@gmail.com>
This commit is contained in:
pre-commit-ci[bot]
2023-04-06 19:51:39 -04:00
committed by GitHub
parent 183899c4e7
commit 09c76a0bfa
6 changed files with 16 additions and 13 deletions

View File

@@ -98,9 +98,9 @@ def test_thread_warns(qtbot):
@qthreading.thread_worker(connect={"warned": check_warning}, start_thread=False)
def func():
yield 1
warnings.warn("hey!")
warnings.warn("hey!") # noqa: B028
yield 3
warnings.warn("hey!")
warnings.warn("hey!") # noqa: B028
return 1
wrkr = func()
@@ -236,7 +236,7 @@ def test_worker_base_attribute(qapp):
assert obj.returned is not None
assert obj.errored is not None
with pytest.raises(AttributeError):
obj.aa
_ = obj.aa
def test_abort_does_not_return(qtbot):