Henry Schreiner

Results 2507 comments of Henry Schreiner

If implemented, please use conda's syntax for that! ```yaml requirements: run: - numpy - matplotlib - sympy - pip: - another_package ``` (This is mostly from environment.yml's syntax, but we...

What should I do with: ``` pytest.PytestRemovedIn8Warning: Raising unittest.SkipTest to skip tests during collection is deprecated. Use pytest.skip() instead. ``` ?

This was fixed two days ago in https://github.com/python/typeshed/pull/7941. pre-commit.ci caches globally, so it's getting an old version of `types-setuptools`. A quick fix would be to just update the pinned version...

This is markdown instead of latex, so that's one difference that could be used. `output_markdown rendered_html` is unique to this case, where as just `output_latex` is on the output of...

This [would be called `reject`](https://ruby-doc.org/core-2.5.0/Array.html#method-i-reject) in Ruby, FYI.

This would be really nice in sort, too. I have a `date.start` I'd like to sort by, and `item.dig(*property.split('.', -1))` would work very well there too I'd think.

I'd recommend calling the inverse of where `reject`, as that maps to the identical feature in Ruby.

This would be very nice for GenConverter, I'd be willing to take a stab at implementing if this is deemed a good idea. I think it could be `cattr.register_unstructure_hook(Path, os.fspath)`....

Hmm, using this produces `ValueError: 'previous_num' is not a valid ContentType` (that's an enum). `previous_num` is not a `ContentType`, though, but an `Optional[int]`, so the ordering here is muddled, or...

I'd be fine with it running automatically, but I want to be able to support dicts and tuples. (That is, `converter.structure_attrs_fromtuple` and `converter.structure` (or `converter.structure_attrs_fromdict `) would ideally both work)....