Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions azure/azure_style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ parameters:
jobs:
- job: flake8
pool:
vmImage: "ubuntu-22.04"
vmImage: "ubuntu-24.04"
timeoutInMinutes: ${{ parameters.TIMEOUT }}
continueOnError: ${{ parameters.IGNORE_STYLE }}
strategy:
matrix:
"py39":
PYTHON_VERSION: "3.9"
"py311":
PYTHON_VERSION: "3.11"
"py313":
PYTHON_VERSION: "3.13"
steps:
- checkout: self
- checkout: azure_template
Expand All @@ -59,29 +59,29 @@ jobs:

- job: black
pool:
vmImage: "ubuntu-22.04"
vmImage: "ubuntu-24.04"
timeoutInMinutes: ${{ parameters.TIMEOUT }}
continueOnError: ${{ parameters.IGNORE_STYLE }}
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: "3.9"
versionSpec: "3.11"
- script: |
pip install wheel
pip install black==23.1.0
black . --check --diff -l 120 --target-version py39 --target-version py311
pip install black==25.1.0
black . --check --diff -l 120 --target-version py31 --target-version py313

- job: isort
pool:
vmImage: "ubuntu-22.04"
vmImage: "ubuntu-24.04"
timeoutInMinutes: ${{ parameters.TIMEOUT }}
condition: ${{ parameters.ISORT }}
steps:
- checkout: self
- checkout: azure_template
- task: UsePythonVersion@0
inputs:
versionSpec: "3.9"
versionSpec: "3.11"
- script: |
cd ${{ parameters.REPO_NAME }}

Expand All @@ -96,15 +96,15 @@ jobs:

- job: pylint
pool:
vmImage: "ubuntu-22.04"
vmImage: "ubuntu-24.04"
timeoutInMinutes: ${{ parameters.TIMEOUT }}
condition: ${{ parameters.PYLINT }}
steps:
- checkout: self
- checkout: azure_template
- task: UsePythonVersion@0
inputs:
versionSpec: "3.9"
versionSpec: "3.11"
- script: |
cd ${{ parameters.REPO_NAME }}

Expand All @@ -116,7 +116,7 @@ jobs:

- job: clang_format
pool:
vmImage: "ubuntu-22.04"
vmImage: "ubuntu-24.04"
timeoutInMinutes: ${{ parameters.TIMEOUT }}
condition: ${{ parameters.CLANG_FORMAT }}
steps:
Expand All @@ -139,15 +139,15 @@ jobs:

- job: fprettify
pool:
vmImage: "ubuntu-22.04"
vmImage: "ubuntu-24.04"
timeoutInMinutes: ${{ parameters.TIMEOUT }}
condition: ${{ parameters.FPRETTIFY }}
steps:
- checkout: self
- checkout: azure_template
- task: UsePythonVersion@0
inputs:
versionSpec: "3.9"
versionSpec: "3.11"
- script: |
cd ${{ parameters.REPO_NAME }}

Expand Down
2 changes: 1 addition & 1 deletion flake8-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
flake8==5.0.4
flake8==7.3.0
flake8-bugbear
flake8-builtins
flake8-docstrings
Expand Down