code_relocation: fix ruff I001 warning
The ruff python linter produces a I001 warning when the imports of a Python script are not sorted. This patch corrects the issue by sorting them. Signed-off-by: Joel Holdsworth <jholdsworth@nvidia.com>
This commit is contained in:
parent
8a8b42be8c
commit
3db20541de
2 changed files with 1 additions and 2 deletions
|
@ -234,7 +234,6 @@
|
|||
]
|
||||
"./scripts/build/gen_relocate_app.py" = [
|
||||
"E101", # https://docs.astral.sh/ruff/rules/mixed-spaces-and-tabs
|
||||
"I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
|
||||
"SIM102", # https://docs.astral.sh/ruff/rules/collapsible-if
|
||||
"SIM401", # https://docs.astral.sh/ruff/rules/if-else-block-instead-of-dict-get
|
||||
"UP006", # https://docs.astral.sh/ruff/rules/non-pep585-annotation
|
||||
|
|
|
@ -41,10 +41,10 @@ Multiple regions can be appended together like SRAM2_DATA_BSS
|
|||
this will place data and bss inside SRAM2.
|
||||
"""
|
||||
|
||||
import sys
|
||||
import argparse
|
||||
import glob
|
||||
import re
|
||||
import sys
|
||||
import warnings
|
||||
from collections import defaultdict
|
||||
from enum import Enum
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue