Integrate gitlab-ci/seco-santvent-fsl and 19 more
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@883b9a5c CI: new machine seco-mx6-fsl, map platform tests to devices -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@151f1cd6 Refactoring: remove redundant if See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/remove-redundant-if/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@872ec6d9 Refactoring: swap if and else branches Move the main part of the action to the if branch. See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/swap-if-else-branches/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@c058236c Sourcery: skip a certain suggestion for better readability -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@b9196ae5 Fix typo in comment -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@eba0649d gitignore: add .vscode and convert line-endings to LF -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@876da56d Refactoring: merge dictionary assignments See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/merge-dict-assign/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@e8e3ff37 Refactoring: use single assignment for "if, else" See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/assign-if-exp/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@14eaf45a Refactoring: inline immediately returned variables See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/inline-immediately-returned-variable/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@f9096a52 Refactoring: use "{}" for creating an empty dictionary This is the most concise and Pythonic way to create a dictionary. See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/dict-literal/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@a3baa39e Refactoring: use list comprehensions A list comprehension can create the list on one line, cutting out the clutter of declaring an empty list and then appending values. See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/list-comprehension/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@52de8d7c Refactoring: use dictionary comprehensions A dictionary comprehension can create the dictionary on one line, cutting out the clutter of declaring an empty dict and then adding items. See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/dict-comprehension/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@5d09b9de Refactoring: simplify length comparisons Something we often do is check whether a list or sequence has elements before we try and do something with it. A Pythonic way of doing this is just to use the fact that Python lists and sequences evaluate to True if they have elements, and False otherwise. Doing it this way is a convention, set out in Python's PEP8 style guide. See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/simplify-len-comparison/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@d69521c9 Refactoring: simplify conditional logic See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/de-morgan/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@5c23592f Refactoring: merge nested if conditions See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/merge-nested-ifs/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@608b8347 Refactoring: remove dictionary keys See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/remove-dict-keys/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@5975bd1f Sourcery: keep remove-zero-from-range check disabled IMO explicit declaration of lower and upper limits makes code easier to read than using an implicit default value. See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/remove-zero-from-range/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@3715f022 Refactoring: use sum() instead of for loop See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/sum-comprehension/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@e355932f Refactoring: use join() instead of for loop See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/use-join/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@e57fa48a Refactoring: merge comparisons
Loading
Please register or sign in to comment