[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 42/44] python: add .gitignore
From: |
John Snow |
Subject: |
[PULL 42/44] python: add .gitignore |
Date: |
Thu, 27 May 2021 22:32:18 -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>
Message-id: 20210527211715.394144-30-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@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
- [PULL 32/44] python: add excluded dirs to flake8 config, (continued)
- [PULL 32/44] python: add excluded dirs to flake8 config, John Snow, 2021/05/27
- [PULL 31/44] python: move flake8 config to setup.cfg, John Snow, 2021/05/27
- [PULL 34/44] python: move mypy.ini into setup.cfg, John Snow, 2021/05/27
- [PULL 33/44] python: Add flake8 to pipenv, John Snow, 2021/05/27
- [PULL 35/44] python: add mypy to pipenv, John Snow, 2021/05/27
- [PULL 36/44] python: move .isort.cfg into setup.cfg, John Snow, 2021/05/27
- [PULL 37/44] python/qemu: add isort to pipenv, John Snow, 2021/05/27
- [PULL 38/44] python/qemu: add qemu package itself to pipenv, John Snow, 2021/05/27
- [PULL 39/44] python: add devel package requirements to setuptools, John Snow, 2021/05/27
- [PULL 40/44] python: add avocado-framework and tests, John Snow, 2021/05/27
- [PULL 42/44] python: add .gitignore,
John Snow <=
- [PULL 41/44] python: add Makefile for some common tasks, John Snow, 2021/05/27
- [PULL 43/44] python: add tox support, John Snow, 2021/05/27
- [PULL 44/44] gitlab: add python linters to CI, John Snow, 2021/05/27
- Re: [PULL 00/44] Python patches, Peter Maydell, 2021/05/30