Skip to content

Commit 277de3b

Browse files
authored
Merge pull request #8 from orsinium-labs/drop-3.8
Drop Python 3.8
2 parents c239923 + 520abdd commit 277de3b

File tree

3 files changed

+11
-39
lines changed

3 files changed

+11
-39
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/checkout@v3
1919
- uses: actions/setup-python@v4
2020
with:
21-
python-version: "3.8"
21+
python-version: "3.9"
2222
- uses: arduino/setup-task@v1
2323
with:
2424
repo-token: ${{ github.token }}
@@ -29,7 +29,7 @@ jobs:
2929
strategy:
3030
fail-fast: false
3131
matrix:
32-
python-version: ["3.8", "3.9", "3.10", "3.11"]
32+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
3333
steps:
3434
- uses: actions/checkout@v3
3535
- uses: actions/setup-python@v4

Taskfile.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,6 @@ tasks:
112112
- install:lint
113113
cmds:
114114
- "{{.LINT_PYTHON}} -m mypy {{.CLI_ARGS}}"
115-
unify:
116-
desc: "convert double quotes to single ones"
117-
deps:
118-
- install:lint
119-
cmds:
120-
- "{{.LINT_PYTHON}} -m unify -r -i --quote=\\' {{.CLI_ARGS}} pydantic_translations tests"
121115
isort:
122116
desc: "sort imports"
123117
deps:
@@ -159,7 +153,6 @@ tasks:
159153
desc: "run all code formatters"
160154
cmds:
161155
- task: isort
162-
- task: unify
163156
lint:
164157
desc: "run all linters"
165158
cmds:

pyproject.toml

Lines changed: 9 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@ build-backend = "flit_core.buildapi"
44

55
[project]
66
name = "pydantic-translations"
7-
authors = [
8-
{name = "Gram", email = "git@orsinium.dev"},
9-
]
10-
license = {file = "LICENSE"}
7+
authors = [{ name = "Gram", email = "git@orsinium.dev" }]
8+
license = { file = "LICENSE" }
119
readme = "README.md"
12-
requires-python = ">=3.8"
10+
requires-python = ">=3.9"
1311
dynamic = ["version", "description"]
1412
classifiers = [
1513
"Development Status :: 5 - Production/Stable",
@@ -18,32 +16,13 @@ classifiers = [
1816
"Programming Language :: Python",
1917
"Typing :: Typed",
2018
]
21-
keywords = [
22-
"mypy",
23-
"typing",
24-
"annotations",
25-
"type annotations",
26-
]
27-
dependencies = [
28-
"l10n",
29-
"pydantic >=1.0.0,<2.0.0",
30-
]
19+
keywords = ["mypy", "typing", "annotations", "type annotations"]
20+
dependencies = ["l10n", "pydantic >=1.0.0,<2.0.0"]
3121

3222
[project.optional-dependencies]
33-
test = [
34-
"pytest",
35-
"pytest-cov",
36-
]
37-
lint = [
38-
"flake8",
39-
"isort",
40-
"mypy",
41-
"unify",
42-
]
43-
l10n = [
44-
"l10n[cli]",
45-
"mypy",
46-
]
23+
test = ["pytest", "pytest-cov"]
24+
lint = ["flake8", "isort", "mypy"]
25+
l10n = ["l10n[cli]", "mypy"]
4726

4827
[project.urls]
4928
Source = "https://github.com/orsinium-labs/pydantic-translations"
@@ -53,7 +32,7 @@ name = "pydantic_translations"
5332

5433
[tool.mypy]
5534
files = ["pydantic_translations"]
56-
python_version = 3.8
35+
python_version = "3.9"
5736
ignore_missing_imports = true
5837
# follow_imports = "silent"
5938
show_error_codes = true

0 commit comments

Comments
 (0)