Why a python linter? Text editors are usually language agnostic and separate from other tooling.
If the rest of the documentation workflow is in python, it would remove the need to install another entirely separate scripting language runtime to do those checks on every developer laptop, CI system, etc.
The only remaining tooling gap is a markdown linter implemented in python.