Skip to content
Snippets Groups Projects
Verified Commit d9066397 authored by Romain Deville's avatar Romain Deville
Browse files

:wrench: Add project configuration files

Add following syntax and test config files :
  - pyproject.toml
  - .editorconfig
  - .yamllint
parent ea312832
No related branches found
No related tags found
No related merge requests found
# Config is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style for every file
[*]
# Set default charset
charset = utf-8
end_of_line = lf
# Do not insert final new line at the end of file
insert_final_newline = false
# Automatically remove trailing space at end of line
trim_trailing_whitespace = true
# Size of indentation (either tabs or space)
indent_size = 2
# Python specific syntax
[*.py]
# Type of indentation (either tabs or space)
indent_style = space
# Size of indentation (either tabs or space)
indent_size = 4
# Maximum length (in number of chars) for a line
max_line_length = 80
# Yaml specific syntax
[*.{yaml,yml}]
# Type of indentation (either tabs or space)
indent_style = space
# Size of indentation (either tabs or space)
indent_size = 2
# Maximum length (in number of chars) for a line
max_line_length = 120
---
# Based on ansible-lint config
extends: default
ignore: |
.*
rules:
braces:
max-spaces-inside: 1
level: error
brackets:
max-spaces-inside: 1
level: error
colons:
max-spaces-after: -1
level: error
commas:
max-spaces-after: -1
level: error
comments: disable
comments-indentation: disable
document-start: disable
empty-lines:
max: 3
level: error
hyphens:
level: error
indentation: disable
key-duplicates: enable
line-length: disable
new-line-at-end-of-file: disable
new-lines:
type: unix
trailing-spaces: disable
truthy: disable
# *****************************************************************************
# VIM MODELINE
# vim: ft=yaml: fdm=indent:
# *****************************************************************************
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment