Giordon Stark

Results 293 comments of Giordon Stark

I'm trying to figure out or remind myself if this was removed to allow for a custom `v1.0.0` to be loaded by the user and override the default `defs.json` that...

For your tests, the easiest way is to monkeypatch any part of the necessary call to `requests` or `urllib` under the hood and force it to return an exception instead...

I wonder if we can simplify the PR via https://pypi.org/project/pytest-socket/ using the (`socket_disabled`) fixture.

I think arguably, if you want to support that, we could have experimental query language support plugged in, so that the `par_slice` can delegate to the query language functionality...

> This will probably be relevant [sphinx-doc/sphinx#9479](https://github.com/sphinx-doc/sphinx/issues/9479) given that the [Sphinx `v4.2.0` release notes](https://www.sphinx-doc.org/en/master/changes.html#release-4-2-0-released-sep-12-2021) include the note Yes, but the target here is *not* a mocked object... So why is...

This bug is tricky. Need a way for sphinx to document a class attribute as an attribute, and not the underlying value. I wonder how I can hide this away...

> Can you add it to `:exclude-members:`? Not a bad idea. I would prefer to document it as a property.

To be clear, by assigning a class variable to a function, sphinx is now treating it as a function, rather than a member variable. At least it shows up under...

> To be clear, by assigning a class variable to a function, sphinx is now treating it as a function, rather than a member variable. At least it shows up...