From 2c1600cc43669672c7c9ff3251aa90be973a7bf8 Mon Sep 17 00:00:00 2001 From: Martin Strobel Date: Tue, 21 May 2019 14:46:55 -0700 Subject: [PATCH] Add Linting Job --- azure-pipelines.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b665bbf..1ee10b6 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -6,3 +6,24 @@ trigger: branches: include: - '*' + +jobs: + - job: Lint + diplayName: Run Linter + + pool: + vmImage: 'ubuntu-16.04' + + steps: + - task: UsePythonVersion@0 + displayName: 'Use Python 3.x' + inputs: + versionSpec: 3.x + + - bash: | + pip install pylint + displayName: 'Install pylint' + + - bash: | + pylint msal_extensions + displayName: 'Run pylint'