diff --git a/conservancy_beancount/plugin/meta_payroll_type.py b/conservancy_beancount/plugin/meta_payroll_type.py index 32354f4..b9251d4 100644 --- a/conservancy_beancount/plugin/meta_payroll_type.py +++ b/conservancy_beancount/plugin/meta_payroll_type.py @@ -10,7 +10,6 @@ import datetime from . import core from .. import ranges from .. import data -from .. import errors as errormod from ..beancount_types import ( Transaction, @@ -18,6 +17,7 @@ from ..beancount_types import ( METADATA_KEY = 'payroll-type' + class _PayrollTypeHook(core._NormalizePostingMetadataHook): ACCOUNT: str VALUES_ENUM = core.MetadataEnum(METADATA_KEY, [])