You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*#103 add `--allow-untyped-nested` to suppress all errors from dynamically typted nested functions. A function is considered dynamically typed if it does not contain any type hints.
7
+
4
8
## [v2.4.1]
5
9
### Fixed
6
10
*#100 Fix incorrect positioning of posonlyargs in the `Function` argument list, causing incorrect classification of the type of missing argument.
Copy file name to clipboardExpand all lines: README.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ You can verify it's being picked up by invoking the following in your shell:
19
19
20
20
```bash
21
21
$ flake8 --version
22
-
3.8.3 (flake8-annotations: 2.4.1, mccabe: 0.6.1, pycodestyle: 2.6.0, pyflakes: 2.2.0) CPython 3.8.2 on Darwin
22
+
3.8.4 (flake8-annotations: 2.5.0, mccabe: 0.6.1, pycodestyle: 2.6.0, pyflakes: 2.2.0) CPython 3.9.0 on Darwin
23
23
```
24
24
25
25
## Table of Warnings
@@ -76,6 +76,11 @@ Suppress all errors for dynamically typed functions. A function is considered dy
76
76
77
77
Default: `False`
78
78
79
+
### `--allow-untyped-nested`: `bool`
80
+
Suppress all errors for dynamically typed nested functions. A function is considered dynamically typed if it does not contain any type hints.
81
+
82
+
Default: `False`
83
+
79
84
### `--mypy-init-return`: `bool`
80
85
Allow omission of a return type hint for `__init__` if at least one argument is annotated. See [mypy's documentation](https://mypy.readthedocs.io/en/stable/class_basics.html?#annotating-init-methods) for additional details.
0 commit comments