Plugin list on Diagnostic (#1282)

* CLI: Unhide "diagnostic" commandline option
* Display loaded plugins under "--diagnostic" rather than "--version"
* Align plugin names on diagnostic
* Store plugin module paths as variables
* Don't display full plugin module paths for built in and "regular" contributed plugins
* Make flake8 happy
* Adjust new plugin imports
This commit is contained in:
MinchinWeb 2021-10-16 14:58:24 -06:00 committed by GitHub
parent 79c37401c4
commit 80a1eeff42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 80 additions and 33 deletions

View file

@ -9,7 +9,7 @@ from jrnl.plugins.exporter import json as json_exporter
try:
from jrnl.contrib.exporter import testing as testing_exporter
except:
except ImportError:
testing_exporter = None

View file

@ -1,7 +1,7 @@
import pytest
from jrnl.exception import JrnlError
from jrnl.plugins.fancy_exporter import check_provided_linewrap_viability
from jrnl.plugins.util import check_provided_linewrap_viability
@pytest.fixture()