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:
parent
422546b175
commit
1d8d6595e0
|
@ -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?"),
|
||||
|
|
Loading…
Reference in New Issue