-
Notifications
You must be signed in to change notification settings - Fork 47
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
lint: Introduce Makefile target, introduce pre-commit config and fix issues #495
Merged
Commits on Mar 9, 2023
-
lint: Add Makefile target using golangci-lint
Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for b338d15 - Browse repository at this point
Copy the full SHA b338d15View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1c7997 - Browse repository at this point
Copy the full SHA b1c7997View commit details -
Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for ef51dc2 - Browse repository at this point
Copy the full SHA ef51dc2View commit details
Commits on Mar 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9b3bb20 - Browse repository at this point
Copy the full SHA 9b3bb20View commit details -
Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 5ce8bfa - Browse repository at this point
Copy the full SHA 5ce8bfaView commit details -
Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for c143559 - Browse repository at this point
Copy the full SHA c143559View commit details -
Configuration menu - View commit details
-
Copy full SHA for 37505b1 - Browse repository at this point
Copy the full SHA 37505b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4c94ed - Browse repository at this point
Copy the full SHA e4c94edView commit details -
pre-commit: Add config and use lint
This change introduces pre-commit, a useful framework for ensuring changes meet certain requirements *before* they are fully committed. This requires the user install pre-commit itself but this is as easy as: https://pre-commit.com/#usage $ pip install --user pre-commit $ cd path/to/ssp-operator && pre-commit install Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for dbe0f21 - Browse repository at this point
Copy the full SHA dbe0f21View commit details -
template-validator: Add glog flags to flagset correctly
This change removes some older glue code with a native pflag call to handle the setup of any goflag flags defined by indirect dependencies like glog. This should be removed when this dependency has gone. Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for d5c0c85 - Browse repository at this point
Copy the full SHA d5c0c85View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.