python: add .gitignore

Ignore *Python* build and package output (build, dist, qemu.egg-info);
these files are not created as part of a QEMU build. They are created by
running the commands 'python3 setup.py <sdist|bdist>' when preparing
tarballs to upload to e.g. PyPI.

Ignore miscellaneous cached python confetti (mypy, pylint, et al)

Ignore .idea (pycharm) .vscode, and .venv (pipenv et al).

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Message-id: 20210527211715.394144-30-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
This commit is contained in:
John Snow 2021-05-27 17:17:13 -04:00
parent 6560379fac
commit f9c0600f02
1 changed files with 15 additions and 0 deletions

15
python/.gitignore vendored Normal file
View File

@ -0,0 +1,15 @@
# linter/tooling cache
.mypy_cache/
.cache/
# python packaging
build/
dist/
qemu.egg-info/
# editor config
.idea/
.vscode/
# virtual environments (pipenv et al)
.venv/