Skip to content

Commit 32101f2

Browse files
authored
Merge pull request #37 from rosstitmarsh/main
Fixed Ruff linter defaulting to python3.8
2 parents 3cf67c9 + 704cb66 commit 32101f2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

{{cookiecutter.project_name}}/app/core/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
Note, complex types like lists are read as json-encoded strings.
2222
"""
2323

24+
import tomllib
2425
from functools import cached_property
2526
from pathlib import Path
2627
from typing import Literal
2728

28-
import tomllib
2929
from pydantic import AnyHttpUrl, EmailStr, PostgresDsn, computed_field
3030
from pydantic_settings import BaseSettings, SettingsConfigDict
3131

{{cookiecutter.project_name}}/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ minversion = "6.0"
4444
testpaths = ["app/tests"]
4545

4646
[tool.ruff]
47+
target-version = "py312"
4748
# pycodestyle, pyflakes, isort, pylint, pyupgrade
4849
select = ["E", "W", "F", "I", "PL", "UP"]
4950
ignore = ["E501"]

0 commit comments

Comments
 (0)