Ran Benita
Ran Benita
My preferred usage is to enable all lints, then `extend-ignore` the ones I don't want with a comment. (This strategy only makes sense if using a pinned version of ruff)....
This implement the proposal in #3918. I wasn't sure if this needs to go as a preview option; it shouldn't affect already formatted code (so adheres to the Stability Policy),...
**Describe the style change** Black excludes one-tuples `(1,)` and single-item subscripts with trailing comma `tuple[int,]` from magic comma handling, because unlike in list literals etc. the comma here is required,...
I am evaluating Granian on a WSGI application, so far it seems very good, thanks for creating it. I noticed that when an unhandled exception occurs, Granian logs ``` [WARNING]...
Granian depends on the watchfiles Python package for the `--reload` (reload on file changes) feature. This feature is helpful for local development, but is not needed on production (at least...
Fixes #202.
While reviewing #11917 I noticed a problem with the warning re-emitting code added in pytest 8.0. I think the `module=w.__module__` line below is wrong: https://github.com/pytest-dev/pytest/blob/aaa9ca7327de16ca07e5d169e4cf1ad5d810d1da/src/_pytest/recwarn.py#L324-L331 `w` here is a `warnings.WarningMessage`...
Python 3.12 added [`sys.last_exc`](https://docs.python.org/3/library/sys.html#sys.last_exc). We should set it [like we do the older variants](https://github.com/pytest-dev/pytest/blob/c3fc717ff74cb8be6fb04c630b28b720d6c041ad/src/_pytest/runner.py#L166-L181).
Up to now the return values of `from_parent` were untyped, this is an attempt to make it work with `typing.Self`.
It makes more sense, also, we have a long term idea of generalizing fixture support to items defined by other plugins, not just python, in which case `--fixtures` would definitely...