24.04
|
Data Structures | |
class | FormatCodeRun |
class | GenerateAndroidBP |
class | OtherChecksRun |
Functions | |
def | adjust_copyright_year (copyright_years, curr_year) |
def | check_copyright (filename) |
def | check_license (filename) |
def | run_fix_code_formatting (files="git-head", folder=".", num_threads=1, error_on_diff=True) |
Variables | |
logger = logging.getLogger("format_code") | |
list | exceptions |
parser | |
list | file_sources = ["git-diff","git-head","all"] |
action | |
help | |
nargs | |
metavar | |
choices | |
default | |
args = parser.parse_args() | |
logging_level = logging.INFO | |
level | |
def format_code.adjust_copyright_year | ( | copyright_years, | |
curr_year | |||
) |
Definition at line 51 of file format_code.py.
References caffe_mnist_image_extractor.str.
Referenced by check_copyright(), and check_license().
def format_code.check_copyright | ( | filename | ) |
Definition at line 69 of file format_code.py.
References adjust_copyright_year(), arm_compute.join(), arm_compute::test::validation::reference.range(), and caffe_mnist_image_extractor.str.
def format_code.check_license | ( | filename | ) |
Check that the license file is up-to-date
Definition at line 136 of file format_code.py.
References adjust_copyright_year(), update_supported_ops.format, and arm_compute.join().
def format_code.run_fix_code_formatting | ( | files = "git-head" , |
|
folder = "." , |
|||
num_threads = 1 , |
|||
error_on_diff = True |
|||
) |
Definition at line 370 of file format_code.py.
References arm_compute.join(), and arm_compute::test::validation::reference.range().
action |
Definition at line 411 of file format_code.py.
args = parser.parse_args() |
Definition at line 416 of file format_code.py.
choices |
Definition at line 413 of file format_code.py.
default |
Definition at line 413 of file format_code.py.
list exceptions |
Definition at line 40 of file format_code.py.
file_sources = ["git-diff","git-head","all"] |
Definition at line 410 of file format_code.py.
help |
Definition at line 411 of file format_code.py.
level |
Definition at line 422 of file format_code.py.
logger = logging.getLogger("format_code") |
Definition at line 37 of file format_code.py.
logging_level = logging.INFO |
Definition at line 418 of file format_code.py.
metavar |
Definition at line 413 of file format_code.py.
nargs |
Definition at line 413 of file format_code.py.
parser |
Definition at line 405 of file format_code.py.