Closed jakkdl closed 1 year ago
TRIO112: nursery body with only a call to nursery.start[_soon] and not passing itself as a parameter can be replaced with a regular function call. Ah, but not if the nursery is passed strict_exception_groups=, because that would change exception types.
TRIO112: nursery body with only a call to nursery.start[_soon] and not passing itself as a parameter can be replaced with a regular function call.
nursery.start[_soon]
Ah, but not if the nursery is passed strict_exception_groups=, because that would change exception types.
strict_exception_groups=
breaking out from #124 - in case the linter should also ignore those cases.
Hmm, I think it's OK to raise a lint error (which can be noqa'd) since this is kinda weird, I just wouldn't want to automatically change the code when we could instead avoid breaking changes 😅
breaking out from #124 - in case the linter should also ignore those cases.