1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-05 18:31:12 +01:00
workload-automation/dev_scripts
Marc Bonnici 276f146c1e pylint: Update for newer versions of pylint
In later versions of pylint the 'version' attribute has been moved,
therefore check both options while attempting to detect the installed
version number.
2022-08-18 17:19:43 +01:00
..
clean_install Initial commit of open source Workload Automation. 2015-03-10 13:09:31 +00:00
clear_env Initial commit of open source Workload Automation. 2015-03-10 13:09:31 +00:00
get_apk_versions Fixed dev_scripts/get_apk_versions. 2015-03-18 10:50:02 +00:00
pep8 pep8: Ignore line break before binary operator 2020-10-30 11:49:54 +00:00
pylint pylint: Update for newer versions of pylint 2022-08-18 17:19:43 +01:00
pylint_plugins.py dev_scripts: port pylint plugins to Python 3 2018-07-09 15:59:40 +01:00
README dev_scripts: switch from pep8 to flake8 2018-07-06 14:39:41 +01:00
rebuild_all_uiauto dev_scripts: add rebuild_all_uiauto 2017-11-24 14:30:09 +00:00
update_copyrights dev_scripts: rename copyright_updater 2018-07-04 16:33:31 +01:00

This directory contains scripts that aid the development of Workload Automation.
They were written to work as part of WA development environment and are not
guarnteed to work if moved outside their current location. They should not be
distributed as part of WA releases.

Scripts
-------

:clean_install: Performs a clean install of WA from source. This will remove any
                existing WA install (regardless of whether it was made from
                source or through a tarball with pip).

:clear_env: Clears ~/.workload_automation.

:get_apk_versions: Prints out a table of APKs and their versons found under the
                   path specified as the argument.

:pep8: Runs flake8 (formerly called "pep8") code checker (must be
       installed) over wa/ with the correct settings for WA.

:pylint: Runs pylint (must be installed) over wlauto with the correct settings
         for WA.

:rebuild_all_uiauto: Rebuild UIAutomator APKs for workloads that have them. This
                     is useful to make sure they're all using the latest
                     uiauto.arr after the latter has been updated.

:update_copyrights: Checks and updates the year of the copyright in source files,
                    adding a copyright header if it's not already there.