[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v6 23/25] python: add .gitignore
From: |
John Snow |
Subject: |
[PATCH v6 23/25] python: add .gitignore |
Date: |
Wed, 12 May 2021 19:12:39 -0400 |
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 <jsnow@redhat.com>
---
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
+__pycache__/
+
+# linter/tooling cache
+.mypy_cache/
+.cache/
+
+# python packaging
+build/
+dist/
+qemu.egg-info/
+
+# editor config
+.idea/
+.vscode/
+
+# virtual environments (pipenv et al)
+.venv/
--
2.30.2
[PATCH v6 23/25] python: add .gitignore,
John Snow <=
[PATCH v6 24/25] gitlab: add python linters to CI, John Snow, 2021/05/12
[PATCH v6 25/25] python: add tox support, John Snow, 2021/05/12