On Fri, Feb 23, 2018 at 11:13 AM, Andrew Lunn <[email protected]> wrote: > On Fri, Feb 23, 2018 at 10:51:32AM -0500, Brenda J. Butler wrote: >> Fix indentation and add editor backup files to .gitignore >> >> Signed-off-by: Brenda J. Butler <[email protected]> >> --- >> tools/testing/selftests/tc-testing/.gitignore | 1 + >> tools/testing/selftests/tc-testing/tdc.py | 4 ++-- >> 2 files changed, 3 insertions(+), 2 deletions(-) >> >> diff --git a/tools/testing/selftests/tc-testing/.gitignore >> b/tools/testing/selftests/tc-testing/.gitignore >> index 7a60b85e148f..d668a0fdea39 100644 >> --- a/tools/testing/selftests/tc-testing/.gitignore >> +++ b/tools/testing/selftests/tc-testing/.gitignore >> @@ -1,2 +1,3 @@ >> __pycache__/ >> *.pyc >> +*.py~ > > Hi Brenda > > Isn't this something which can be done once at the top level?
You mean, the very top level? Yes it can. If we did that, the .pyc and __pycache__ could be removed from other directories like Documentation scripts/gdb/linux tools/perf Oops, there is already *~ in the top-level .gitignore. Sorry about that. I will make a v2 to remove *.py~. Thanks. bjb
