Skip to content

Commit b13a383

Browse files
committed
Update copier template, bump minimum required Python version
1 parent ab2b52e commit b13a383

File tree

8 files changed

+117
-105
lines changed

8 files changed

+117
-105
lines changed

.copier-answers.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
2-
_commit: v1.1.2
2+
_commit: v1.1.3-3-g578e71d
33
_src_path: git+https://git.sr.ht/~dmerej/copier-python
44
author_email: [email protected]
55
author_name: Dimitri Merejkowsky

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
16+
python-version: ["3.7", "3.8", "3.9", "3.10"]
1717
os: [ubuntu-latest, macos-latest, windows-latest]
1818

1919
steps:

Changelog.rst

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Changelog
22
=========
33

4+
6.7.0 (2021-12-22)
5+
------------------
6+
7+
* Drop support for Python 3.6
8+
49
6.6.1 (2021-12-17)
510
------------------
611

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Installation
3838

3939
The recommended way to install ``tbump`` is to use `pipx <https://pipxproject.github.io/pipx/>`_
4040

41-
* Make sure to have Python **3.6** or later installed.
41+
* Make sure to have Python **3.7** or later installed.
4242
* Install ``pipx``
4343
* Run ``pipx install tbump``.
4444

mypy.ini

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ check_untyped_defs = true
1010
ignore_missing_imports = false
1111
no_implicit_optional = true
1212
pretty = true
13+
show_error_codes = true
1314
warn_redundant_casts = true
1415
warn_return_any = true
1516
warn_unused_configs = true

poetry.lock

+104-98
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Issues = "https://github.com/dmerejkowsky/tbump/issues"
1616

1717
[tool.poetry.dependencies]
1818
# Note: keep this in sync with .github/workflows/tests.yml
19-
python = "^3.6.2"
19+
python = "^3.7"
2020

2121
attrs = ">= 20.0.0"
2222
docopt = "^0.6.2"
@@ -35,13 +35,13 @@ pytest-cov = "^2.10"
3535
pytest-mock = "^2.0.0"
3636

3737
# Linters
38-
black = { version = "21.6b0", python = ">= 3.7" }
38+
black = "21.10b0"
3939
flake8 = "3.9.2"
4040
flake8-bugbear = "^21.4.3"
4141
flake8-comprehensions = "^3.4.0"
4242
pep8-naming = "^0.11.1"
4343
isort = "^5.7.0"
44-
mypy = "0.900"
44+
mypy = "0.930"
4545

4646
# Deps scanning
4747
safety = "^1.9.0"

tasks.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def mypy(c, machine_readable=False):
4242
@task
4343
def test(c):
4444
print("Running pytest")
45-
c.run("pytest")
45+
c.run("pytest", pty=True)
4646

4747

4848
@task(

0 commit comments

Comments
 (0)