Files @ fdd9f2847b78
Branch filter:

Location: NPO-Accounting/conservancy_beancount/LICENSE.txt

Brett Smith
plugin: Skip enum value checks with a flag+FIXME.

We've long supported skipping documentation checks by flagging the
transaction. We haven't done the same for enumerated metadata because we
need it less often, and bad values tend to do more damage to reports.

However, occasionally when something very off-process happens, we do need it
as a matter of expediency. So support it.

In order to skip validation of these fields, the plugin requires that the
value start with the string "FIXME". This helps ensure that reports have a
consistent way to detect and warn about unfilled values in flagged
transactions.
The conservancy_beancount package and associated tests:

Copyright © 2020, 2021  Brett Smith
Copyright © 2020  Martin Michlmayr <tbm@cyrius.com>
Copyright © 2020  Bradley M. Kuhn

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

his program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program in the file AGPLv3.txt.  If not, see
<https://www.gnu.org/licenses/>.

Pursuant to AGPLv3§7, the following "additional permission", called the
Beancount-Plugin-Additional-Permission-1.0, is hereby granted:

 This notice constitutes a grant of any permission as is necessary to
 combine, link or modify this software, or a modified version of it, in any
 manner that incorporates Beancount or a derivative work of Beancount, and
 to distribute, convey or propagate the resulting work.  Beancount is
 licensed under version 2 of the GNU General Public License.