Add .pyo to the Python temporary file ignore

Python, when invoked with the -O option, writes compiled code to .pyo
files instead of .pyc. Add this to the default ignores list.
This commit is contained in:
Bruce Guenter 2018-02-08 12:39:43 -06:00
parent 422546b175
commit 1d8d6595e0
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ pub fn get_args() -> Args {
let mut ignores = vec![];
let default_ignores = vec![format!("**{}.DS_Store", MAIN_SEPARATOR),
String::from("*.pyc"),
String::from("*.py[co]"),
String::from("#*#"),
String::from(".#*"),
String::from(".*.sw?"),