Repository navigation
Small code cleanup - #614
antisaling wants to merge 4 commits into
Conversation
kwy95
left a comment
There was a problem hiding this comment.
I think there is an extra line that should be removed based on the comments from the previous PR, apart from that this LGTM.
| # Build command | ||
| [[ -n "$arch" ]] && cmd+=" ARCH=$arch" | ||
| [[ -n "$cross_compile" ]] && cmd+=" CROSS_COMPILE=$cross_compile" | ||
| [[ -n "$asic" ]] && cmd+=" $asic\_defconfig" |
There was a problem hiding this comment.
Shouldn't this PR also remove line 294 from this file?
Some shellcheck disable statements are redundant as they're already being dealt with in CI/pre-commit configuration. This commit removes those redundant statements. Signed-off-by: Isabella Basso <isabbasso@riseup.net>
Codecov Report
@@ Coverage Diff @@
## unstable #614 +/- ##
============================================
- Coverage 73.76% 73.75% -0.01%
============================================
Files 36 36
Lines 5553 5555 +2
============================================
+ Hits 4096 4097 +1
- Misses 1457 1458 +1
Continue to review full report at Codecov.
|
|
@kwy95 thanks for the quick review :) I just think I might need to update some other stuff as I'm rebasing this on some months of other contributors' work, and there might be other stuff that won't work out of the box. |
As ASICs aren't supported at all in the project, remove lines concerning such hardware. Signed-off-by: Isabella Basso <isabbasso@riseup.net>
This fixes an error in the `save_config_file` function, which previously tested only many git operations but had a command substitution which informed the wrong return value as the overall result. Signed-off-by: Isabella Basso <isabbasso@riseup.net>
This adds the pre-commit linting configuration as a project default, as many users who might want to contribute would need it anyways. This commit also updates documentation to use a more general path for the shellcheck binary. Signed-off-by: Isabella Basso <isabbasso@riseup.net>
|
Hi @isinyaaa , thanks a lot for this PR. I made some minor changes in the commit number 3 and merged it into the unstable branch. |
This is a small cleanup I made during PR's #543 development.