RST Baby!
bébé (noun, french): "baby"
rstbebe is a tool for all y'all who work in a polyglot environment with
markdown, restructured text, and maybe other markup languages (e.g. docbook).
What's it do?
It's a linter and pre-commit hook for catching
rst files which have incorrect or undesirable syntax.
Right now, it will help you catch this incorrect use of backticks:
Use `snorkwozzle()` to `frob` your `multifropnibab`!
Wait, aren't single-backticks valid RST syntax?
Depends what you mean.
It is valid syntax, but it creates a title_reference.
Usually, when people use single-backticks, if they're used to markdown, they
are making a mistake and mean to have inline code with double-backticks.
How can I use it?
CLI:
pipx run rstbebe bad-backticks [FILES...]
or pre-commit config:
- repo: https://github.com/sirosen/rstbebe
rev: 0.1.0
hooks:
- id: bad-backticks
files: changelog\.d/.*\.rst
Contributing
rstbebe is maintained by one guy in his spare time. Be nice.
Can it also check for $COMMON_RST_MISTAKE ?
Open an issue! Let's see what we can do.
Can it also autofix $COMMON_RST_MISTAKE_WITH_CLEAR_FIX ?
Yep, that also sounds like a good idea! For now it's a linter, but it can become a fixer as long as we can come up with good (safe) rules.
Metadata
Release files for rstbebe 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rstbebe-0.2.0.tar.gz | 4.3 kB | Without provenance | Details for rstbebe-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rstbebe-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for rstbebe-0.2.0-py3-none-any.whl |
Total release size: 9.5 kB
Release files / rstbebe-0.2.0.tar.gz
| Download URL | rstbebe-0.2.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
956d11e04b0ead03b4c41e201664445480a9b069582112e577e297a93faa4398
|
|
BLAKE2b-256 checksum How to use checksums |
697bea126d42deb64501a3dd911e98c123a1eb490b3a523190095527a67f59fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.1
|
Release files / rstbebe-0.2.0-py3-none-any.whl
| Download URL | rstbebe-0.2.0-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
61e6ef98a5376e07d1e887b6e385966207267ea817265335450edd5d0b1d0ea7
|
|
BLAKE2b-256 checksum How to use checksums |
aa9c935175b3cc2521cd4e1f12dc9cd4f231fb34e2fd5e213d80606830f91c53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.1
|
Security for rstbebe 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.