-
-
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
refactor: uncomment severity 3 & remove unused variables #7060
Conversation
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.
Looks good, thank you!
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.
Ok, that's cool it show how percritic will help us :-).
Though we may wait for the perlcritic branch to be merged.
This PR would get merged into perlcritic rather than the main branch, so when perlcritic gets merged into main, then this PR would be merged to main as well. |
Implementing perltidy to t/lang.t , will have a merge conflict with PR 6085
* Polish translations of meat * add additinal polish translations of popular ingredients
Update categories.txt
Implementing perltidy to t/dataquality.t , t/dataqualityfood.t , t/export.t
* Update ingredients.txt * Update ingredients.txt * Update ingredients.txt * Update ingredients.txt * Update ingredients.txt * Update ingredients.txt * Update ingredients.txt * Update ingredients.txt * Update ingredients.txt * update taxonomy and tests Co-authored-by: Stéphane Gigandet <stephane@openfoodfacts.org>
* docs: Add how-to for remote dev (Gitpod) * docs: Add references/badges for gitpod environments
fix: fix vitamin b1 thiamin %DV #6882
Changing the perl critic config file to make it easier to pick and choose what tests will run.
Commented outunused variable, severity 3 so that there are less merge conflicts when implementing perltidy to files.
Making sure that perlcritic doesn't look into .git directory
519f7e5
to
7c6a334
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
* refactor: adding perltidy to t/lang.t (#7044) Implementing perltidy to t/lang.t , will have a merge conflict with PR 6085 * taxonomy: add new Polish translations (#7068) * Polish translations of meat * add additinal polish translations of popular ingredients * taxonomy: Corrections to cheeses (#7065) Update categories.txt * refactor: adding perltidy to files (#7070) Implementing perltidy to t/dataquality.t , t/dataqualityfood.t , t/export.t * taxonomy: flaxseed fiber (#6945) * Update ingredients.txt * Update ingredients.txt * Update ingredients.txt * Update ingredients.txt * Update ingredients.txt * Update ingredients.txt * Update ingredients.txt * Update ingredients.txt * Update ingredients.txt * update taxonomy and tests Co-authored-by: Stéphane Gigandet <stephane@openfoodfacts.org> * docs: Add how-to for remote dev (Gitpod) (#7053) * docs: Add how-to for remote dev (Gitpod) * docs: Add references/badges for gitpod environments * feat: Nutrient levels knowledge panels with facts and recommendations (#6980) * feat: knowledge panels for nutrient levels #6947 * add quantity in nutrient panel title * facts + recommendations for salt * fixed conflict * add info and recommendations for sugars, fat and saturated fat * fix: fix vitamin b1 thiamin %DV (#7072) fix: fix vitamin b1 thiamin %DV #6882 * refactor: updating perl critic Changing the perl critic config file to make it easier to pick and choose what tests will run. * feat: perlcritic unused variables check * refactor: perlcritic github testing * fetch depth * add perlcritic * better error message * all errors * allow ProductOpener::PerlStandards * remove undef * comment out severity 3 Commented outunused variable, severity 3 so that there are less merge conflicts when implementing perltidy to files. * refactor: dont look into .git directory Making sure that perlcritic doesn't look into .git directory * adding perlcritic to Makefile * moving perlcritic to pull_request.yml * default for perlcritic * refactor: uncomment severity 3 * refactor: removing unused variables Co-authored-by: Teiron <12804636+Teiron@users.noreply.github.com> Co-authored-by: moon-rabbitOFF <34795011+moon-rabbitOFF@users.noreply.github.com> Co-authored-by: Stéphane Gigandet <stephane@openfoodfacts.org> Co-authored-by: Tushar <ditsuke@protonmail.com>
Uncommenting severity 3 to get rid of unused variables