Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
Upgrade to py3.11
Browse files Browse the repository at this point in the history
3.11
  • Loading branch information
TurnrDev committed Oct 20, 2023
1 parent 9155f4f commit 2527795
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up Python 3.10
- name: Set up Python 3.11
uses: actions/[email protected]
with:
python-version: "3.10"
python-version: "3.11"
- name: Install Dependencies
run: pip install pipenv && pipenv install --dev
- name: Lint with flake8
Expand All @@ -23,10 +23,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up Python 3.10
- name: Set up Python 3.11
uses: actions/[email protected]
with:
python-version: "3.10"
python-version: "3.11"
- name: Install Dependencies
run: pip install pipenv && pipenv install --dev
- name: Style with Black
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:3.10-slim
FROM python:3.11-slim

RUN pip install -U pip && pip install -U requirementslib
RUN pip install -U pip && pip install -U "requirementslib==2.3.0"

WORKDIR /opt/trainerdex

Expand Down
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ flake8 = "*"
isort = {extras = ["black"], version = "*"}

[requires]
python_version = "3.10"
python_version = "3.11"
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[tool.black]
line-length = 117
target-version = ['py310']
target-version = ['py311']


[tool.isort]
profile = "black"
py_version = 310
py_version = 311
line_length = 117
combine_as_imports = true
known_first_party = ["trainerdex"]

0 comments on commit 2527795

Please sign in to comment.