diff --git a/.github/workflows/pr_ut_py37.yaml b/.github/workflows/pr_ut_py311.yaml similarity index 76% rename from .github/workflows/pr_ut_py37.yaml rename to .github/workflows/pr_ut_py311.yaml index 224de5971..997a80c4e 100644 --- a/.github/workflows/pr_ut_py37.yaml +++ b/.github/workflows/pr_ut_py311.yaml @@ -4,17 +4,17 @@ on: branches: [ master ] jobs: python: - name: python checks ${{ matrix.python }} ${{ matrix.os }} + name: python checks ${{ matrix.python-version }} ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest] - python-version: [3.7] + python-version: ['3.11'] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -24,4 +24,4 @@ jobs: - name: PEP8 run: tox -e pep8 - name: unit test - run: tox -e py37 + run: tox -e py311 diff --git a/tox.ini b/tox.ini index bc4c3ed12..af12924b0 100644 --- a/tox.ini +++ b/tox.ini @@ -21,7 +21,7 @@ commands = flake8 [flake8] max-line-length = 120 -ignore = E121,E122,E123,E124,E125,E126,E127,E128,E129,E131,E251,H405,W504,W605 +ignore = E121,E122,E123,E124,E125,E126,E127,E128,E129,E131,E251,E721,H405,W504,W605 exclude = .venv,.git,.tox,dist,doc,*openstack/common*,sample,*lib/python*,*egg,build,tools,*.py.*.py [testenv:docs]