Skip to content

Commit

Permalink
Update copier template, bump minimum required Python version
Browse files Browse the repository at this point in the history
  • Loading branch information
dmerejkowsky committed Dec 22, 2021
1 parent ab2b52e commit b13a383
Show file tree
Hide file tree
Showing 8 changed files with 117 additions and 105 deletions.
2 changes: 1 addition & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
_commit: v1.1.2
_commit: v1.1.3-3-g578e71d
_src_path: git+https://git.sr.ht/~dmerej/copier-python
author_email: dimitri@dmerej.info
author_name: Dimitri Merejkowsky
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
python-version: ["3.7", "3.8", "3.9", "3.10"]
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
Expand Down
5 changes: 5 additions & 0 deletions Changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========

6.7.0 (2021-12-22)
------------------

* Drop support for Python 3.6

6.6.1 (2021-12-17)
------------------

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Installation

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

* Make sure to have Python **3.6** or later installed.
* Make sure to have Python **3.7** or later installed.
* Install ``pipx``
* Run ``pipx install tbump``.

Expand Down
1 change: 1 addition & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ check_untyped_defs = true
ignore_missing_imports = false
no_implicit_optional = true
pretty = true
show_error_codes = true
warn_redundant_casts = true
warn_return_any = true
warn_unused_configs = true
Expand Down
202 changes: 104 additions & 98 deletions poetry.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Issues = "https://github.com/dmerejkowsky/tbump/issues"

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

attrs = ">= 20.0.0"
docopt = "^0.6.2"
Expand All @@ -35,13 +35,13 @@ pytest-cov = "^2.10"
pytest-mock = "^2.0.0"

# Linters
black = { version = "21.6b0", python = ">= 3.7" }
black = "21.10b0"
flake8 = "3.9.2"
flake8-bugbear = "^21.4.3"
flake8-comprehensions = "^3.4.0"
pep8-naming = "^0.11.1"
isort = "^5.7.0"
mypy = "0.900"
mypy = "0.930"

# Deps scanning
safety = "^1.9.0"
Expand Down
2 changes: 1 addition & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def mypy(c, machine_readable=False):
@task
def test(c):
print("Running pytest")
c.run("pytest")
c.run("pytest", pty=True)


@task(
Expand Down

0 comments on commit b13a383

Please sign in to comment.