-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(RHTAPBUGS-919): create components in batches (#92)
* refactor(RHTAPBUGS-919): create components in batches By creating sbom components in Pyxis in batches of 5, the overall script runtime is reduced by around 47 % in my testing with an sbom with 113 components. The batch size is configurable, but currently set to 5. * fix: flake8 and black conflict Flake8 was disagreeing with a formatting change black did. It turns out this is a known issue and it seems the recommended solution is to ignore this warning in flake8. See here for more details: psf/black#315 Signed-off-by: Martin Malina <mmalina@redhat.com>
- Loading branch information
Showing
6 changed files
with
166 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
[flake8] | ||
max-line-length = 95 | ||
extend-ignore = E203 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.