Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
README example using incorrect string interpolation #1819
added a commit
this pull request
Jul 25, 2018
Grumble, laid low by our setup.py long description checker on Travis - which doesn't know about Sphinx, only vanilla ReST, I think. So it's mad about the doctest stuff
Gotta see if there's a way around this cuz otherwise we're kinda hosed one way or another. Esp if this means it no longer renders correctly on PyPI. Might have to do something ugly like manually strip out the doctest blocks entirely when building packages...
Removing the code blocks from the README itself just doesn't seem feasible, having those examples is core to the experience.
Tried something clever where we store the example blocks in their own files and
The other option is to strip out the bad directives when packaging, which I see Invoke does already in its
Maybe I can leverage
Main issue is having solid anchors for the start/end hints. If I'm lucky, I can use what are effectively ReST comments (
If that fails I think I am going to suck it up and move example snippets into