-
-
Notifications
You must be signed in to change notification settings - Fork 257
Add python bandit #533
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
Add python bandit #533
Conversation
…andit testsAdd bandit testsAdd bandit testsAdd bandit testsAdd bandit tests
Codecov Report
@@ Coverage Diff @@
## master #533 +/- ##
==========================================
+ Coverage 86.60% 87.64% +1.03%
==========================================
Files 128 129 +1
Lines 2972 2978 +6
==========================================
+ Hits 2574 2610 +36
+ Misses 398 368 -30
Continue to review full report at Codecov.
|
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.
Again a great contribution :)
- It seems bandit found an error within Mega-Linter own code , please can you correct it ?
- merge conflicts
- Please also add lines in changelog (insiders version), including about your previous PR, your work needs to be credited :)
Just some friendly feedback. As a contributor, my goals are to:
So that I can add the value I want to see in the project. I don't like it when:
As a developer yourself, I imagine you share these dislikes :) And, you understand that these things can discourage contributors. But also, as a maintainer, you want to have a high quality project. And you are just one person, so you want PRs to be as complete as possible and save you time and effort. I respect that very much, and your decision to reject a PR if it doesn't meet quality standards. So with that, I will commit to fixing the error count if possible, and these 3 merge commits too since they are trivial (though annoying). I won't be adding changelog updates or fixing the 58 project errors, so if this is an issue, please kindly let me know, and I'll withdraw the PR. Thank you for understanding. 🙇 |
When I looked yesterday there was only one error, saying to call yaml.safe_load instead of yaml.load, I'll check after CI job has run again
Usually just running
Again, I agree with you... but it requires time that I don't really have these days because of my job as Salesforce Unit CTO in Hardis Group, job that I did not have when I started MegaLinter during Covid lockdown ^^
I built Mega-Linter for open-source community, not for glory or money, my goal is to provide the best tool to the community, so I'm totally open to share the maintenance... maybe you are interested ? If so, let's make a call someday :)
Do what you can, I'll obviously not reject this nice and useful PR, at worse I'll complete it myself :) |
Note: It seems ansible-lint has been removed from apk alpine packages, I'll have to make a fix before this PR passes |
FYI i'm still solving npm / WORKDIR issue in Dcokerfile, until that all PRs are blocked :/ |
@tpansino master is now ok for CI, and I added something that you my appreciate: now |
It seems bandit does not like Mega-Linter code :D |
CI errors were due to the addition of a linter applicable to MegaLinter own code... I merged the PR, let's see if it works ^^ |
@nvuillam apologies for silence, I had family visiting from out of town and some other business.
I fully appreciate that projects like this are free labor, and you can only give so much :) I think it's great what you have built so far, any improvements will just make it even better.
I am interested in becoming a maintainer! But maybe not right now :( I'd like to continue to contribute as I have time, and maybe fix a few things I've contributed like the error counts, maybe add some tests for the auto-fix... My team uses this tool extensively, and I also use it personally. I think it is the best linter aggregator I have seen, and I want to see it continue to succeed, but given my current responsibilities, I would be foolish to commit to more things. 😅 Thank you for merging! I will open more PRs to fix the error count, etc. |
@tpansino no problem, we all have priorities and family comes first ;) Thanks for your nice words, I'm really glad MegaLinter fits your team' requirements :) |
Resolves #505
Proposed Changes
bandit
security scannerReadiness Checklist
Author/Contributor
Reviewing Maintainer
breaking
if this is a large fundamental changeautomation
,bug
,documentation
,enhancement
,infrastructure
, orperformance