Run isort for imports. Pylint: wrong-import-order / C0411 Solves the following linter warnings: - standard import "pathlib" should be placed before third party import "yaml" - standard import "collections.OrderedDict" should be placed before third party imports "yaml", "jsonschema" - standard import "typing.Dict" should be placed before third party imports "yaml", "jsonschema" Fix default arg values. Pylint: dangerous-default-value / W0102 - Using mutable default values ([]) for function arguments is considered dangerous. Rename format variable. Pylint: redefined-builtin / W0622 - 'format' is a built-in function. Use f-strings instead of formatting where possible. Pylint: consider-using-f-string / C0209 Remove unnecessary else after returns. Pylint: no-else-return / R1705 Remove unnecessary else after continue. Pylint: no-else-continue / R1724 Set the encoding (utf-8) for all calls to open(). Pylint: unspecified-encoding / W1514 Disable the too-many-branches and too-many-statements warnings for append_partitions() and append_filesystem(). We can refactor the functions to make them smaller later, but for now we're addressing only the simpler issues. Initialise with dict literal instead of call to function. Pylint: use-dict-literal / R1735 Use implicit truthiness for glob instead of len(). Pylint: use-implicit-booleaness-not-len / C1802 Rename ambiguous variable 'l' to 'line'. pycodestyle: ambiguous-variable-name (E741) Merge comparisons with 'in'. Pylint: consider-using-in / R1714 |
||
|---|---|---|
| .. | ||
| test | ||
| check-runners | ||
| check-snapshots | ||
| gen-stage-test-diff | ||
| inline-source.py | ||
| lorax-template-pkgs.py | ||
| osbuild | ||
| osbuild-depsolve-dnf | ||
| osbuild-dev | ||
| osbuild-image-info | ||
| osbuild-json-seq-progress-example-renderer | ||
| osbuild-mpp | ||
| set-env-variables.sh | ||
| solver-dnf.json | ||
| solver-dnf5.json | ||
| tree-diff | ||