Skip to content

Commit

Permalink
chore: support python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
bellini666 committed Jun 25, 2023
1 parent 2bab774 commit 719ab14
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ repos:
hooks:
- id: pyupgrade
args:
- --py38-plus
- --py37-plus
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.274
hooks:
Expand Down
11 changes: 6 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "django-choices-field"
version = "2.2.1"
version = "2.2.2"
description = "Django field that set/get django's new TextChoices/IntegerChoices enum."
authors = ["Thiago Bellini Ribeiro <[email protected]>"]
license = "MIT"
Expand All @@ -17,6 +17,7 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand All @@ -30,7 +31,7 @@ classifiers = [
packages = [{ include = "django_choices_field" }]

[tool.poetry.dependencies]
python = "^3.8"
python = ">=3.7"
django = ">=3.2"
typing_extensions = ">=4.0.0"

Expand All @@ -46,7 +47,7 @@ ruff = "^0.0.274"

[tool.black]
line-length = 100
target-version = ['py38']
target-version = ['py37']
preview = true
exclude = '''
/(
Expand Down Expand Up @@ -121,7 +122,7 @@ ignore = [
"SLF001",
"TRY003",
]
target-version = "py38"
target-version = "py37"
exclude = [
".eggs",
".git",
Expand All @@ -142,7 +143,7 @@ exclude = [
convention = "google"

[tool.pyright]
pythonVersion = "3.8"
pythonVersion = "3.7"
useLibraryCodeForTypes = true
venvPath = "."
venv = ".venv"
Expand Down

0 comments on commit 719ab14

Please sign in to comment.