[v1,1/2] git: ignore standard python files
Checks
Commit Message
These are python byte-compiled/optimized/dll files and IDE files.
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
---
.gitignore | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Comments
Adding folks I forgot to add
> -----Original Message-----
> From: Juraj Linkeš <juraj.linkes@pantheon.tech>
> Sent: Thursday, November 3, 2022 2:29 PM
> Cc: dev@dpdk.org; Juraj Linkeš <juraj.linkes@pantheon.tech>
> Subject: [PATCH v1 1/2] git: ignore standard python files
>
> These are python byte-compiled/optimized/dll files and IDE files.
>
> Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
> ---
> .gitignore | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/.gitignore b/.gitignore
> index 212c7aa28e..fbec0ce441 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -33,8 +33,10 @@ GRTAGS
> tags
> TAGS
>
> -# ignore python bytecode files
> -*.pyc
> +# python byte-compiled/optimized/dll files __pycache__/ *.py[cod]
> +*$py.class
>
> # ignore default build directory, and directories from test-meson-builds.sh
> build
> --
> 2.30.2
On Thu, Nov 03, 2022 at 01:29:25PM +0000, Juraj Linkeš wrote:
> These are python byte-compiled/optimized/dll files and IDE files.
>
> Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
> ---
> .gitignore | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/.gitignore b/.gitignore
> index 212c7aa28e..fbec0ce441 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -33,8 +33,10 @@ GRTAGS
> tags
> TAGS
>
> -# ignore python bytecode files
> -*.pyc
> +# python byte-compiled/optimized/dll files
> +__pycache__/
> +*.py[cod]
> +*$py.class
>
Looks harmless :-)
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
@@ -33,8 +33,10 @@ GRTAGS
tags
TAGS
-# ignore python bytecode files
-*.pyc
+# python byte-compiled/optimized/dll files
+__pycache__/
+*.py[cod]
+*$py.class
# ignore default build directory, and directories from test-meson-builds.sh
build