[dpdk-dev] [PATCH] tools: add EditorConfig file

Stephen Hemminger stephen at networkplumber.org
Fri Oct 18 17:47:48 CEST 2019


On Fri, 18 Oct 2019 09:59:54 +0200
Robin Jarry <robin.jarry at 6wind.com> wrote:

Looks good, you should add a reference to
https://editorconfig.org so others understand this

> +# SPDX-License-Identifier: BSD-3-Clause
> +# Copyright 2019 6WIND S.A.
> +
> +root = true
> +
> +[*]
> +end_of_line = lf
> +insert_final_newline = true
> +charset = utf-8
> +indent_style = tab
> +tab_width = 8
> +max_line_length = 80
> +
> +[**.py]
> +indent_style = space
> +indent_size = 4

In the example on web site, they use
[*.py] not [**.py]



More information about the dev mailing list