Skip to content

Commit 1b79de3

Browse files
committed
py version
1 parent 2c29c30 commit 1b79de3

File tree

4 files changed

+14
-15
lines changed

4 files changed

+14
-15
lines changed

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ jobs:
1313
- name: Set up Python
1414
uses: actions/setup-python@v5
1515
with:
16-
python-version: '3.12'
16+
python-version: '3.11'
1717
- uses: pre-commit/[email protected]

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
runs-on: windows-latest
1212
steps:
1313
- uses: actions/checkout@v4
14-
- name: Set up Python 3.12
14+
- name: Set up Python 3.11
1515
uses: actions/setup-python@v5
1616
with:
17-
python-version: 3.12
17+
python-version: 3.11
1818
- name: Install dependencies
1919
run: |
2020
python -m pip install --upgrade pip
@@ -28,10 +28,10 @@ jobs:
2828
runs-on: ubuntu-latest
2929
steps:
3030
- uses: actions/checkout@v4
31-
- name: Set up Python 3.12
31+
- name: Set up Python 3.11
3232
uses: actions/setup-python@v3
3333
with:
34-
python-version: 3.12
34+
python-version: 3.11
3535
- name: Install dependencies
3636
run: |
3737
python -m pip install --upgrade pip
@@ -46,10 +46,10 @@ jobs:
4646
runs-on: macos-latest
4747
steps:
4848
- uses: actions/checkout@v4
49-
- name: Set up Python 3.12
49+
- name: Set up Python 3.11
5050
uses: actions/setup-python@v5
5151
with:
52-
python-version: 3.12
52+
python-version: 3.11
5353
- name: Install dependencies
5454
run: |
5555
python -m pip install --upgrade pip

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# InterpolatePy
22

3-
![Python](https://img.shields.io/badge/python-3.10+-blue)
3+
![Python](https://img.shields.io/badge/python-3.11+-blue)
44
[![pre-commit](https://github.com/GiorgioMedico/InterpolatePy/actions/workflows/pre-commit.yml/badge.svg)](https://github.com/GiorgioMedico/InterpolatePy/actions/workflows/pre-commit.yml)
55
[![ci-test](https://github.com/GiorgioMedico/InterpolatePy/actions/workflows/test.yml/badge.svg)](https://github.com/GiorgioMedico/InterpolatePy/actions/workflows/test.yml)
66
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

pyproject.toml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ authors = [{ name = "Giorgio Medico", email = "[email protected]" }]
88
description = "This is a lib on interpolations in python."
99
readme = "README.md"
1010
license = { file = "LICENSE" }
11-
requires-python = ">=3.10"
11+
requires-python = ">=3.11"
1212
classifiers = [
1313
"Programming Language :: Python :: 3",
14-
"Programming Language :: Python :: 3.10",
1514
"Programming Language :: Python :: 3.11",
1615
"Programming Language :: Python :: 3.12",
1716
"Operating System :: Microsoft :: Windows",
@@ -71,7 +70,7 @@ directory = "reports"
7170

7271
######## Tools
7372
[tool.black]
74-
target-version = ['py310']
73+
target-version = ['py311']
7574
line-length = 100
7675
skip-string-normalization = false
7776
skip-magic-trailing-comma = false
@@ -83,7 +82,7 @@ force-exclude = '''
8382
'''
8483

8584
[tool.isort]
86-
py_version = 310
85+
py_version = 311
8786
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
8887
default_section = "FIRSTPARTY"
8988
known_third_party = [
@@ -124,7 +123,7 @@ skip_glob = ["docs/*", "setup.py"]
124123
filter_files = true
125124

126125
[tool.ruff]
127-
target-version = "py310"
126+
target-version = "py311"
128127
line-length = 100
129128
extend-exclude = ["docs", "test", "tests"]
130129

@@ -263,7 +262,7 @@ line-ending = "auto"
263262

264263
[tool.mypy]
265264
# Platform configuration
266-
python_version = "3.10"
265+
python_version = "3.11"
267266
# imports related
268267
ignore_missing_imports = true
269268
follow_imports = "silent"
@@ -303,7 +302,7 @@ show_error_codes = true
303302
exclude = ["docs"]
304303

305304
[tool.pyright]
306-
pythonVersion = "3.10"
305+
pythonVersion = "3.11"
307306
typeCheckingMode = "basic"
308307
# enable subset of "strict"
309308
reportDuplicateImport = true

0 commit comments

Comments
 (0)