-
-
Notifications
You must be signed in to change notification settings - Fork 400
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
ci: taxonomy linter #10046
ci: taxonomy linter #10046
Conversation
+ small perf improvement using first instead of grep
Co-authored-by: Stéphane Gigandet <[email protected]>
@@ -3354,12 +3354,12 @@ wikipedia:en:https://en.wikipedia.org/wiki/Calcium_carbonate | |||
# ingredient/calcium-carbonate has 4220 products in 10 languages @2019-02-03 | |||
# mineral/calcium-carbonate has 4301 products @2019-02-03 | |||
e_number:en:170 | |||
mandatory_additive_class:en: en:acidity-regulator, en:anti-caking-agent, en:stabilizer, en:firming-agent, en:flour-treatment-agent, en:glazing-agent, en:colour |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like you manually changed all occurences of en:stabilizer to en:stabiliser, but did not run "make lint_taxonomies" fully on additives.txt ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because I wanted to do it in another PR (but needed this stabliser change to have test pass !)
…dfacts-server into ci-taxonomies-lint
Co-authored-by: Stéphane Gigandet <[email protected]>
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
The taxonomy check is not yet activated because I want to separate the PR where we will lint and fix taxonomies…
you can test it locally with make check_taxonomies or make lint_taxonomies