[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v8 29/31] python: add .gitignore
From: |
John Snow |
Subject: |
[PATCH v8 29/31] python: add .gitignore |
Date: |
Thu, 27 May 2021 17:17:13 -0400 |
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>
---
python/.gitignore | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 python/.gitignore
diff --git a/python/.gitignore b/python/.gitignore
new file mode 100644
index 00000000000..4ed144ceac3
--- /dev/null
+++ b/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/
--
2.31.1
- [PATCH v8 17/31] python: add pylint to pipenv, (continued)
- [PATCH v8 17/31] python: add pylint to pipenv, John Snow, 2021/05/27
- [PATCH v8 20/31] python: Add flake8 to pipenv, John Snow, 2021/05/27
- [PATCH v8 21/31] python: move mypy.ini into setup.cfg, John Snow, 2021/05/27
- [PATCH v8 22/31] python: add mypy to pipenv, John Snow, 2021/05/27
- [PATCH v8 24/31] python/qemu: add isort to pipenv, John Snow, 2021/05/27
- [PATCH v8 23/31] python: move .isort.cfg into setup.cfg, John Snow, 2021/05/27
- [PATCH v8 25/31] python/qemu: add qemu package itself to pipenv, John Snow, 2021/05/27
- [PATCH v8 28/31] python: add Makefile for some common tasks, John Snow, 2021/05/27
- [PATCH v8 26/31] python: add devel package requirements to setuptools, John Snow, 2021/05/27
- [PATCH v8 27/31] python: add avocado-framework and tests, John Snow, 2021/05/27
- [PATCH v8 29/31] python: add .gitignore,
John Snow <=
- [PATCH v8 30/31] python: add tox support, John Snow, 2021/05/27
- [PATCH v8 31/31] gitlab: add python linters to CI, John Snow, 2021/05/27