Skip to content

Commit

Permalink
Add yamllint config file
Browse files Browse the repository at this point in the history
  • Loading branch information
mhucka committed Feb 27, 2025
1 parent e1d31cf commit 581efba
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .yamllint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Summary: yamllint configuration.
# See https://yamllint.readthedocs.io/ for info about configuration options.

rules:
line-length:
# YAML files (especially GitHub Actions workflows) tend to end up with
# long lines. The default of 80 is pretty limiting, and besides, in Python
# code linting, we set line lengths to 100. May as well follow suit here.
max: 100
# Another common occurrence in YAML files is long URLs. The next two
# settings are not specific to URLs, but help. It saves developer time by
# not requiring comment directives to disable warnings at every occurrence.
allow-non-breakable-words: true
allow-non-breakable-inline-mappings: true

0 comments on commit 581efba

Please sign in to comment.