On Wed, May 12, 2021 at 07:12:39PM -0400, John Snow wrote: > Ignore *Python* build and package output (build, dist, qemu.egg-info); > these files are not created as part of a QEMU build. > > Ignore miscellaneous cached python confetti (__pycache__, *.pyc, > .mypy_cache). > > Ignore .idea (pycharm) .vscode, and .venv (pipenv et al). > > Signed-off-by: John Snow > --- > python/.gitignore | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > create mode 100644 python/.gitignore > > diff --git a/python/.gitignore b/python/.gitignore > new file mode 100644 > index 00000000000..e27c99e009c > --- /dev/null > +++ b/python/.gitignore > @@ -0,0 +1,19 @@ > +# python bytecode cache > +*.pyc This is a duplicate from the parent .gitignore, so I would avoid it. > +__pycache__/ And this one is interesting because, the only thing that *should* be in __pycache__ dirs is .pyc files (covered by the parent .gitignore file). So, I get the same behavior without these two entries here, so I would skip them. Let me know if you have any reason for explicitly including them. - Cleber.