29 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION |
29 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION |
30 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
30 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
31 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
31 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
32 """ |
32 """ |
33 |
33 |
34 __version__ = '2.1.1+' |
34 __version__ = '2.2.0' |
35 |
35 |
36 """ |
36 """ |
37 pyflakes repository date: 2020-02-03. |
37 pyflakes repository date: 2020-02-03. |
38 """ |
38 """ |
39 |
39 |
40 """ Changes |
40 """ Changes |
|
41 2.2.0 (2020-04-08) |
|
42 |
|
43 - Include column information in error messages |
|
44 - Fix ``@overload`` detection with other decorators and in non-global scopes |
|
45 - Fix return-type annotation being a class member |
|
46 - Fix assignment to ``_`` in doctests with existing ``_`` name |
|
47 - Namespace attributes which are attached to ast nodes with ``_pyflakes_`` to |
|
48 avoid conflicts with other libraries (notably bandit) |
|
49 - Add check for f-strings without placeholders |
|
50 - Add check for unused/extra/invalid ``'string literal'.format(...)`` |
|
51 - Add check for unused/extra/invalid ``'string literal % ...`` |
|
52 - Improve python shebang detection |
|
53 - Allow type ignore to be followed by a code ``# type: ignore[attr-defined]`` |
|
54 - Add support for assignment expressions (PEP 572) |
|
55 - Support ``@overload`` detection from ``typing_extensions`` as well |
|
56 - Fix ``@overload`` detection for async functions |
|
57 - Allow ``continue`` inside ``finally`` in python 3.8+ |
|
58 - Fix handling of annotations in positional-only arguments |
|
59 - Make pyflakes more resistant to future syntax additions |
|
60 - Fix false positives in partially quoted type annotations |
|
61 - Warn about ``is`` comparison to tuples |
|
62 - Fix ``Checker`` usage with async function subtrees |
|
63 - Add check for ``if`` of non-empty tuple |
|
64 - Switch from ``optparse`` to ``argparse`` |
|
65 - Fix false positives in partially quoted type annotations in unusual contexts |
|
66 - Be more cautious when identifying ``Literal`` type expressions |
|
67 |
41 2.1.1 (2019-02-28) |
68 2.1.1 (2019-02-28) |
42 - Fix reported line number for type comment errors |
69 - Fix reported line number for type comment errors |
43 - Fix typing.overload check to only check imported names |
70 - Fix typing.overload check to only check imported names |
44 |
71 |
45 2.1.0 (2019-01-23) |
72 2.1.0 (2019-01-23) |