We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b3dd6e commit b53c95cCopy full SHA for b53c95c
azure-pipelines.yml
@@ -30,7 +30,21 @@ steps:
30
pip install -r requirements.txt
31
displayName: 'Install dependencies'
32
33
+- task: PythonScript@0
34
+ inputs:
35
+ scriptSource: inline
36
+ script: |
37
+ import sys
38
+ print ('Executing script file is:', str(sys.argv[0]))
39
+ print ('The arguments are:', str(sys.argv))
40
+ import argparse
41
+ parser = argparse.ArgumentParser()
42
+ parser.add_argument("--world", help="Provide the name of the world to greet.")
43
+ args = parser.parse_args()
44
+ print ('Hello ', args.world)
45
+ arguments: --world Venus
46
+
47
- script: |
- pip install pytest pytest-azurepipelines
- pytest
- displayName: 'pytest'
48
+ python -m pip install flake8
49
+ flake8 .
50
+ displayName: 'Run lint tests'
0 commit comments