Skip to content

Commit

Permalink
Add yamllint settings
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-ratushnyy committed Sep 20, 2023
1 parent c64c26d commit cb000ac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
extends: default

rules:
line-length:
max: 160
allow-non-breakable-words: true
5 changes: 1 addition & 4 deletions rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,7 @@ parts:
rocks=usr/share/rocks/
mkdir -p ${rocks}
## for deb packages
dpkg-query \
-f '${db:Status-Abbrev},${binary:Package},${Version}, \
${source:Package},${Source:Version}\n' \
-W > ${rocks}/dpkg.query
dpkg-query -f '${db:Status-Abbrev},${binary:Package},${Version}, ${source:Package},${Source:Version}\n' -W > ${rocks}/dpkg.query
## for snap packages
cp snap.charmed-mongodb/manifest.yaml ${rocks}
cp snap.charmed-mongodb/snapcraft.yaml ${rocks}
Expand Down

0 comments on commit cb000ac

Please sign in to comment.