]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
workflow/ci: Install flake8-quote under pylint job
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Wed, 14 Aug 2024 05:35:59 +0000 (11:05 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Tue, 20 Aug 2024 20:42:50 +0000 (14:42 -0600)
In the Github workflow continuous integration::flake8-lint job, add
new checks for standardizing Python quotes usage. This will help
maintain the recommended quotes style in all new PR's.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
.github/workflows/continuous-integration.yml

index 44bfa8b9414ad946aa0099c110df476e33f25848..5d539cffb46e207aca9b657ab26b6704882ba9a4 100644 (file)
@@ -35,6 +35,10 @@ jobs:
     name: Lint
     runs-on: ubuntu-latest
     steps:
+      - name: Install flake8 dependencies
+        run: |
+          sudo apt-get update
+          sudo apt-get install python3-flake8-quotes
       - name: Check out source repository
         uses: actions/checkout@v4
       - name: Set up Python environment