diff --git a/.github/linters/.ruff.toml b/.github/linters/.ruff.toml index efdcf0c1..5f6f9f08 100644 --- a/.github/linters/.ruff.toml +++ b/.github/linters/.ruff.toml @@ -1,6 +1,6 @@ ignore-init-module-imports = true line-length = 120 -target-version = "py310" +target-version = "py311" select = [ "F", diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cf9b82cf..dbf4a289 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,13 +10,13 @@ jobs: fail-fast: false matrix: python-version: - - "3.10" - "3.11" + - "3.12" uses: lars-reimann/.github/.github/workflows/poetry-codecov-reusable.yml@main with: working-directory: . python-version: ${{ matrix.python-version }} module-name: library_analyzer - coverage: ${{ matrix.python-version == '3.10' }} + coverage: ${{ matrix.python-version == '3.11' }} secrets: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 7d0ac2c3..c8964448 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -14,13 +14,13 @@ jobs: fail-fast: false matrix: python-version: - - "3.10" - "3.11" + - "3.12" uses: lars-reimann/.github/.github/workflows/poetry-codecov-reusable.yml@main with: working-directory: . python-version: ${{ matrix.python-version }} module-name: library_analyzer - coverage: ${{ matrix.python-version == '3.10' }} + coverage: ${{ matrix.python-version == '3.11' }} secrets: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c06ca620..a3ac2513 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,7 @@ jobs: uses: lars-reimann/.github/.github/workflows/poetry-pypi-reusable.yml@main with: working-directory: . - python-version: "3.10" + python-version: "3.11" secrets: GITHUB_PAT: ${{ secrets.PAT }} PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} diff --git a/pyproject.toml b/pyproject.toml index c8fb7acf..792dcb34 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ packages = [ analyze-library = "library_analyzer.main:main" [tool.poetry.dependencies] -python = "^3.10,<3.12" +python = "^3.11,<3.13" astroid = "^2.14.2" black = ">=23.1,<25.0" levenshtein = ">=0.20.9,<0.26.0" diff --git a/readthedocs.yml b/readthedocs.yml index cd0e3de4..60a515ad 100644 --- a/readthedocs.yml +++ b/readthedocs.yml @@ -3,7 +3,7 @@ version: 2 build: os: ubuntu-22.04 tools: - python: '3.10' + python: '3.11' commands: - pip install poetry - poetry config virtualenvs.create false