Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

[flake8]

# TODO(phlax): ignore less
ignore = W503,W504,E121,E126,E241,E125,E127,E129,E251,E265,E303,E306,E402,E501,E502,E711,E713,E722,E741,F523,F541,F841,N803,N806,N817,W605

# TODO(phlax): exclude less
exclude = build_docs,.git,generated,test,examples,venv,tools/dev
31 changes: 31 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
extends: default

rules:
document-start: false
indentation:
spaces: consistent
indent-sequences: false
line-length:
# This can be adjusted if there is a very good reason.
max: 140
level: error
allow-non-breakable-words: true
truthy:
allowed-values:
- "yes"
- "no"
- "true"
- "false"
# https://github.com/adrienverge/yamllint/issues/430
- "on"
- "off"

yaml-files:
- .clang-format
- "*.yml"
- "*.yaml"

ignore:
- "**/*template.yaml"
- examples/single-page-app/_github-clusters.yml
- test/config/integration/server_xds.cds.with_unknown_field.yaml