Skip to content

Commit 54063d1

Browse files
committed
from __future__ import annotations
1 parent fea5988 commit 54063d1

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

DOCS/licensecheck/types.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ PackageCompat type.
1111

1212
## License
1313

14-
[[find in source code]](../../licensecheck/types.py#L25)
14+
[[find in source code]](../../licensecheck/types.py#L27)
1515

1616
```python
1717
class License(Enum):
@@ -33,7 +33,7 @@ License Enum to hold a set of potential licenses.
3333

3434
## PackageCompat
3535

36-
[[find in source code]](../../licensecheck/types.py#L19)
36+
[[find in source code]](../../licensecheck/types.py#L21)
3737

3838
```python
3939
class PackageCompat(PackageInfo):
@@ -47,7 +47,7 @@ PackageCompat type.
4747

4848
## PackageInfo
4949

50-
[[find in source code]](../../licensecheck/types.py#L7)
50+
[[find in source code]](../../licensecheck/types.py#L9)
5151

5252
```python
5353
class PackageInfo(typing.TypedDict):

licensecheck/__main__.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
"""Entry point for python -m licensecheck."""
2+
from __future__ import annotations
3+
24
from . import cli
35

46
cli()

licensecheck/types.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
"""PackageCompat type.
22
"""
3+
from __future__ import annotations
4+
35
import typing
46
from enum import Enum
57

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "licensecheck"
3-
version = "2021.5.1"
3+
version = "2021.5.2"
44
license = "mit"
55
description = "Output the licenses used by dependencies and check if these are compatible with the project license"
66
authors = ["FredHappyface"]

0 commit comments

Comments
 (0)