We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b65bfe commit f842980Copy full SHA for f842980
azure/azure-build-pipeline.yml
@@ -7,6 +7,28 @@ trigger:
7
tags:
8
include:
9
- v*
10
+trigger:
11
+- main
12
+
13
+pool:
14
+ vmImage: 'ubuntu-latest'
15
16
+steps:
17
+- task: UsePythonVersion@0
18
+ inputs:
19
+ versionSpec: '3.x'
20
+ addToPath: true
21
22
+- script: |
23
+ pip install poetry
24
+ poetry install
25
+ poetry add --dev flake8
26
+ displayName: 'Install Poetry and flake8'
27
28
29
+ find . -name '*.py' -not -path '**/.venv/*' -not -path '**/.direnv/*' | xargs poetry run flake8
30
+ displayName: 'Run flake8 linting'
31
32
33
pr:
34
branches:
0 commit comments