Skip to content

Commit

Permalink
drop 3.8, add 3.11 in template pyproject
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandrofelder authored Nov 9, 2023
1 parent 7d2339f commit 171f80e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions {{cookiecutter.package_name}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "{{cookiecutter.package_name}}"
authors = [{name = "{{cookiecutter.full_name}}", email= "{{cookiecutter.email}}"}]
description = "{{cookiecutter.short_description}}"
readme = "README.md"
requires-python = ">=3.8.0"
requires-python = ">=3.9.0"
dynamic = ["version"]

{% if cookiecutter.license == "MIT" -%}
Expand All @@ -24,9 +24,9 @@ classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: OS Independent",
{% if cookiecutter.license == "MIT" -%}
"License :: OSI Approved :: MIT License",
Expand Down Expand Up @@ -92,7 +92,7 @@ exclude = ["tests*"]
addopts = "--cov={{cookiecutter.module_name}}"

[tool.black]
target-version = ['py38', 'py39', 'py310']
target-version = ['py39', 'py310', py311]
skip-string-normalization = false
line-length = 79

Expand Down Expand Up @@ -134,14 +134,14 @@ archs = ["x86_64", "arm64"]
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py{38,39,310}
envlist = py{39,310,311}
isolated_build = True
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
[testenv]
extras =
Expand Down

0 comments on commit 171f80e

Please sign in to comment.