From cb000ac73c91547e6c3b82aae9fff02dcf767e20 Mon Sep 17 00:00:00 2001 From: Dmitry Ratushnyy Date: Wed, 20 Sep 2023 11:37:44 +0200 Subject: [PATCH] Add yamllint settings --- .yamllint | 6 ++++++ rockcraft.yaml | 5 +---- 2 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 .yamllint diff --git a/.yamllint b/.yamllint new file mode 100644 index 0000000..cc80c7b --- /dev/null +++ b/.yamllint @@ -0,0 +1,6 @@ +extends: default + +rules: + line-length: + max: 160 + allow-non-breakable-words: true \ No newline at end of file diff --git a/rockcraft.yaml b/rockcraft.yaml index 348effc..d6138b7 100644 --- a/rockcraft.yaml +++ b/rockcraft.yaml @@ -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}