Skip to content

Commit

Permalink
fix(0.2.2): use correct "List" typing
Browse files Browse the repository at this point in the history
  • Loading branch information
guilatrova committed Jun 30, 2021
1 parent cd2108c commit dabba76
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ If you wish to use pre-commit, add this:

```yaml
- repo: https://github.com/guilatrova/tryceratops
rev: v0.2.1
rev: v0.2.2
hooks:
- id: tryceratops
```
Expand Down
2 changes: 1 addition & 1 deletion src/tryceratops/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""A linter to manage your exception like a PRO!"""

__version__ = "0.2.1"
__version__ = "0.2.2"
6 changes: 3 additions & 3 deletions src/tryceratops/types.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import ast
from typing import Iterable, Tuple, TypedDict
from typing import Iterable, List, Tuple, TypedDict

from tryceratops.filters import FileFilter

Expand All @@ -15,6 +15,6 @@ class PyprojectConfig(TypedDict):
experimental: whether to enable experimental analyzers
"""

exclude: list[str]
ignore: list[str]
exclude: List[str]
ignore: List[str]
experimental: bool

0 comments on commit dabba76

Please sign in to comment.