History log of /seL4-test-master/tools/seL4/misc/style.py
Revision Date Author Comments
# 9f904ed2 06-Mar-2020 Gerwin Klein <gerwin.klein@data61.csiro.au>

convert license headers to SPDX

Includes license review of 3rd-party files, adding missing upstream
headers, and moving the UNSW OZPLB license into its own file rather
than replicating it in the header.


# 29af8acc 25-Jun-2019 Siwei Zhuang <siwei.zhuang@data61.csiro.au>

style: Filter out non-existing files

The style tool would fail if applying check against non-existing files.


# b5951e55 17-Jun-2019 Kent McLeod <Kent.Mcleod@data61.csiro.au>

trivial: style.py: Return error code


# 41add1fa 04-Jun-2019 Simon Shields <simon.shields@data61.csiro.au>

style: split filter logic into separate file

Soon we'll want to use this from shell scripts to exclude files from any
checks run by them.


# 9fbb32aa 26-Mar-2019 Anna Lyons <Anna.Lyons@data61.csiro.au>

Style: run style.py on python scripts


# 630b7ac5 25-Mar-2019 Anna Lyons <Anna.Lyons@data61.csiro.au>

misc: add style-py.sh and use in style.py

This auto formats python code to pep-8 standards.


# 2bed8207 20-Mar-2019 Anna Lyons <Anna.Lyons@data61.csiro.au>

misc: increase functionality of style.sh

- split style.sh into style-c.sh and style-cmake.sh
- add style.py, which passes files based on extension to the correct
style tools and ignores files specified in a .stylefilter file (only at
the top level)
- style.sh now calls style.py and expects a list of files
- add style-changed.sh, which styles all changed files in a git repo.
- add style-all.sh, which styles all files in directories passed to it