mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-02 06:56:12 +02:00
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:
parent
79c37401c4
commit
80a1eeff42
5 changed files with 80 additions and 33 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue