New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors for default syntax with enabled strict checks #2119
Comments
|
Thanks for the report. For 1, perhaps we should allow declaring For 2, are you saying that |
thank you for fast reply! hledger is already cool, but with the opportunity to discuss its development and remaining errors - it’s amazing.
|
In principle I think payee is "Whole Foods", "", and "" respectively in those three cases, and it should be checked consistently in each case. Because it should be possible to disallow writing an entry without one of the valid payees (as with accounts, commodities, etc.) Possibly some docs/functionality might need to be adjusted here. |
yes, agree
yes, got this point, that's right |
I have added Re automatically declaring the built-in tag names: Should it be an error if the user tries to declare these tags themselves with |
Now using type: in account declarations or generating t: with timedot letters won't cause the `tags` check to fail. If a user declares any of these explicitly with a tag directive, it does not cause an error.
The built-in tags are now auto-declared, and it's not an error if user accidentally declares them explicitly. I think this is resolved. |
Now using type: in account declarations or generating t: with timedot letters won't cause the `tags` check to fail. If a user declares any of these explicitly with a tag directive, it does not cause an error.
hi
when enabled strict check for payees, hledger emits errors for all transactions without payee:
this can not be fixed because there is no way to create empty tag
when enabled strict check for tags, hledger emits errors for accounts with implicit type:
this can be fixed by
type
tag, but this feels more like temp workaroundp.s. thx for hledger!
The text was updated successfully, but these errors were encountered: