Skip to content

Commit

Permalink
python: add .gitignore
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
jnsnow committed Jun 1, 2021
1 parent 6560379 commit f9c0600
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions python/.gitignore
@@ -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/

0 comments on commit f9c0600

Please sign in to comment.