From 729ce188a89fcf3e426a76177d79685ecd4209f3 Mon Sep 17 00:00:00 2001 From: raimon Date: Sun, 4 Dec 2022 13:03:02 +0900 Subject: [PATCH 1/2] Add 'black' in dev dependencies --- dev-requirements.in | 1 + dev-requirements.txt | 40 ++++++++++++++++++++++++++-------------- 2 files changed, 27 insertions(+), 14 deletions(-) diff --git a/dev-requirements.in b/dev-requirements.in index 21a9b1e..e1edcda 100644 --- a/dev-requirements.in +++ b/dev-requirements.in @@ -1,6 +1,7 @@ -r requirements.in autopep8 +black codecov docutils isort diff --git a/dev-requirements.txt b/dev-requirements.txt index f1548f6..c068195 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -8,6 +8,8 @@ attrs==22.1.0 # via pytest autopep8==2.0.0 # via -r dev-requirements.in +black==22.10.0 + # via -r dev-requirements.in bleach==5.0.1 # via readme-renderer build==0.9.0 @@ -19,7 +21,9 @@ cffi==1.15.1 charset-normalizer==2.1.1 # via requests click==8.1.3 - # via pip-tools + # via + # black + # pip-tools codecov==2.1.12 # via -r dev-requirements.in commonmark==0.9.1 @@ -28,17 +32,17 @@ coverage[toml]==6.5.0 # via # codecov # pytest-cov -cryptography==38.0.3 +cryptography==38.0.4 # via secretstorage docutils==0.19 # via # -r dev-requirements.in # readme-renderer -exceptiongroup==1.0.0 +exceptiongroup==1.0.4 # via pytest idna==3.4 # via requests -importlib-metadata==5.0.0 +importlib-metadata==5.1.0 # via # keyring # twine @@ -52,31 +56,37 @@ jeepney==0.8.0 # via # keyring # secretstorage -keyring==23.9.3 +keyring==23.11.0 # via twine more-itertools==9.0.0 # via jaraco-classes -mypy==0.982 +mypy==0.991 # via -r dev-requirements.in mypy-extensions==0.4.3 - # via mypy + # via + # black + # mypy packaging==21.3 # via # build # pytest +pathspec==0.10.2 + # via black pep517==0.13.0 # via build -pip-tools==6.9.0 +pip-tools==6.11.0 # via -r dev-requirements.in -pkginfo==1.8.3 +pkginfo==1.9.2 # via twine +platformdirs==2.5.4 + # via black pluggy==1.0.0 # via pytest prettytable==3.5.0 # via -r requirements.in py==1.11.0 # via pytest-pycodestyle -pycodestyle==2.9.1 +pycodestyle==2.10.0 # via # autopep8 # pytest-pycodestyle @@ -120,18 +130,20 @@ six==1.16.0 tomli==2.0.1 # via # autopep8 + # black # build # coverage # mypy # pep517 # pytest -twine==4.0.1 +twine==4.0.2 # via -r dev-requirements.in typing-extensions==4.4.0 # via + # black # mypy # rich -urllib3==1.26.12 +urllib3==1.26.13 # via # requests # twine @@ -139,11 +151,11 @@ wcwidth==0.2.5 # via prettytable webencodings==0.5.1 # via bleach -wheel==0.37.1 +wheel==0.38.4 # via # -r dev-requirements.in # pip-tools -zipp==3.10.0 +zipp==3.11.0 # via importlib-metadata # The following packages are considered to be unsafe in a requirements file: From 062fdec32175508c1d31799c368be01068742799 Mon Sep 17 00:00:00 2001 From: raimon Date: Sun, 4 Dec 2022 13:03:53 +0900 Subject: [PATCH 2/2] Bump version to 4.0.2 --- CHANGELOG.md | 4 ++++ piplicenses.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e37237..0136fdd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## CHANGELOG +### 4.0.2 + +* Add type annotations and code formatter + ### 4.0.1 * Fix "pip-licenses" is missing in output of `pip-licenses --with-system` option diff --git a/piplicenses.py b/piplicenses.py index e4a2300..32f9bea 100644 --- a/piplicenses.py +++ b/piplicenses.py @@ -53,7 +53,7 @@ open = open # allow monkey patching __pkgname__ = "pip-licenses" -__version__ = "4.0.1" +__version__ = "4.0.2" __author__ = "raimon" __license__ = "MIT" __summary__ = (