Nick Murphy
Nick Murphy
I ran into some issues today. I think what was causing it was that we had been using `pypa/gh-action-pypi-publish@master`, and then the `master` branch changed. I created tags on GitHub...
- [x] Create a stub file for towncrier (#1623)
Announce release on: - [x] Element chat - [ ] Plasma coders discord group
Hm...I wonder if it would be helpful to define `particle_like` as `Union[Particle, str, numbers.Integral]`, and include that in the same file as `@particle_input` so that it can be imported in...
Oh...and `Particle` also accepts integers...which I just realized means that we can do this: ```Python >>> Particle(True) Particle("H") ``` Huh.
`Particle(False)` raises an `InvalidParticleError`, instead of the antiparticle of `Particle(True)`. Don't know if we need to have a check for this, since Python itself allows operations like `True + 1`...
This looks great, and very thorough! This covers a lot of use cases that I hadn't thought about. I was thinking that the docstring for this would be a good...
Sounds good! I also [commented on this](https://github.com/PlasmaPy/PlasmaPy/pull/796#discussion_r502983502) in #796. In particular, I tentatively created a one-liner for `particle_like` and started using it, so we could expand off of that.
Thank you for doing this! Could you change `whatsnew/index` to `changelog/index` in `docs/index.rst`? That'll make sure it shows up in the table of contents in the docs.