Skip to content

Commit 5567a50

Browse files
author
Brian Kohan
committed
run black, prep 1.1.1 release
1 parent 2bafb5b commit 5567a50

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

django_typer/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
from typing import ParamSpec
115115

116116

117-
VERSION = (1, 1, 0)
117+
VERSION = (1, 1, 1)
118118

119119
__title__ = "Django Typer"
120120
__version__ = ".".join(str(i) for i in VERSION)

django_typer/apps.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,15 @@
3131
from typer import main as typer_main
3232

3333
tb_config = traceback_config()
34-
if rich and isinstance(tb_config, dict) and not tb_config.get("no_install", False):
34+
if (
35+
rich
36+
and traceback
37+
and isinstance(tb_config, dict)
38+
and not tb_config.get("no_install", False)
39+
):
3540
# install rich tracebacks if we've been configured to do so (default)
3641
no_color = "NO_COLOR" in os.environ
3742
force_color = "FORCE_COLOR" in os.environ
38-
traceback = t.cast(ModuleType, traceback)
3943
traceback.install(
4044
console=tb_config.pop(
4145
"console",

doc/source/changelog.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
Change Log
33
==========
44

5+
v1.1.1
6+
======
7+
8+
* Implemented `Fix pyright type checking and add to CI <https://github.com/bckohan/django-typer/issues/51>`_
9+
* Implemented `Convert CONTRIBUTING.rst to markdown <https://github.com/bckohan/django-typer/issues/50>`_
10+
511
v1.1.0
612
======
713

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "django-typer"
3-
version = "1.1.0"
3+
version = "1.1.1"
44
description = "Use Typer to define the CLI for your Django management commands."
55
authors = ["Brian Kohan <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)