diff --git a/azure/azure_style.yaml b/azure/azure_style.yaml index 5ccf121..96b5eb3 100644 --- a/azure/azure_style.yaml +++ b/azure/azure_style.yaml @@ -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 @@ -59,21 +59,21 @@ 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: @@ -81,7 +81,7 @@ jobs: - checkout: azure_template - task: UsePythonVersion@0 inputs: - versionSpec: "3.9" + versionSpec: "3.11" - script: | cd ${{ parameters.REPO_NAME }} @@ -96,7 +96,7 @@ jobs: - job: pylint pool: - vmImage: "ubuntu-22.04" + vmImage: "ubuntu-24.04" timeoutInMinutes: ${{ parameters.TIMEOUT }} condition: ${{ parameters.PYLINT }} steps: @@ -104,7 +104,7 @@ jobs: - checkout: azure_template - task: UsePythonVersion@0 inputs: - versionSpec: "3.9" + versionSpec: "3.11" - script: | cd ${{ parameters.REPO_NAME }} @@ -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: @@ -139,7 +139,7 @@ jobs: - job: fprettify pool: - vmImage: "ubuntu-22.04" + vmImage: "ubuntu-24.04" timeoutInMinutes: ${{ parameters.TIMEOUT }} condition: ${{ parameters.FPRETTIFY }} steps: @@ -147,7 +147,7 @@ jobs: - checkout: azure_template - task: UsePythonVersion@0 inputs: - versionSpec: "3.9" + versionSpec: "3.11" - script: | cd ${{ parameters.REPO_NAME }} diff --git a/flake8-requirements.txt b/flake8-requirements.txt index 6be24e5..39b8987 100644 --- a/flake8-requirements.txt +++ b/flake8-requirements.txt @@ -1,4 +1,4 @@ -flake8==5.0.4 +flake8==7.3.0 flake8-bugbear flake8-builtins flake8-docstrings