<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pyflakes.git/pyflakes/test, branch python37</title>
<subtitle>github.com: pyflakes/pyflakes.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pyflakes.git/'/>
<entry>
<title>Don't test against file perms when running as root (#86)</title>
<updated>2017-02-04T17:50:30+00:00</updated>
<author>
<name>cfs-pure</name>
<email>cfs-pure@users.noreply.github.com</email>
</author>
<published>2017-02-04T17:50:30+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pyflakes.git/commit/?id=41148b45f797951057dc782682dd4055a4a3c1b6'/>
<id>41148b45f797951057dc782682dd4055a4a3c1b6</id>
<content type='text'>
* Don't test against file perms when running as root

test_permissionDenied tests file modes by creating a temporary file, then sets the mode to 0000 and attempts to process it and see if and permission denied error is generated.  This never happens when the unit tests are run as root since it can open files regardless of file permissions.

* Fix up UID skip in tests for Windows
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Don't test against file perms when running as root

test_permissionDenied tests file modes by creating a temporary file, then sets the mode to 0000 and attempts to process it and see if and permission denied error is generated.  This never happens when the unit tests are run as root since it can open files regardless of file permissions.

* Fix up UID skip in tests for Windows
</pre>
</div>
</content>
</entry>
<entry>
<title>Process function scope variable annotations (#88)</title>
<updated>2017-01-22T20:01:45+00:00</updated>
<author>
<name>Jakub Stasiak</name>
<email>jakub@stasiak.at</email>
</author>
<published>2017-01-22T20:01:45+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pyflakes.git/commit/?id=a007c3d7f05b42647ef7d07be7c3afb3bb36ccdb'/>
<id>a007c3d7f05b42647ef7d07be7c3afb3bb36ccdb</id>
<content type='text'>
Even though variable annotations in function scope aren't evaluated at
runtime it's still useful for static analysis tools to process them and
catch some issues (and not report some things that aren't issues).

Let's take the following code:

     from typing import Any

     def fun():
          a: Any

Previously pyflakes would report Any to be unused:

     test.py:1: 'typing.Any' imported but unused

With this patch it's no longer the case.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Even though variable annotations in function scope aren't evaluated at
runtime it's still useful for static analysis tools to process them and
catch some issues (and not report some things that aren't issues).

Let's take the following code:

     from typing import Any

     def fun():
          a: Any

Previously pyflakes would report Any to be unused:

     test.py:1: 'typing.Any' imported but unused

With this patch it's no longer the case.</pre>
</div>
</content>
</entry>
<entry>
<title>Enable support for PEP 526 annotated assignments (#84)</title>
<updated>2017-01-07T01:36:27+00:00</updated>
<author>
<name>Łukasz Langa</name>
<email>lukasz@langa.pl</email>
</author>
<published>2017-01-07T01:36:27+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pyflakes.git/commit/?id=dae4fa70d8d5fd98e81ceb72c007c0c60725dfec'/>
<id>dae4fa70d8d5fd98e81ceb72c007c0c60725dfec</id>
<content type='text'>
Without this change, code with annotated assignments is crashing pyflakes with
an attribute error (`object has no attribute 'ANNASSIGN'`).

Test plan: new tests introduced conforming to behavior described in the PEP.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Without this change, code with annotated assignments is crashing pyflakes with
an attribute error (`object has no attribute 'ANNASSIGN'`).

Test plan: new tests introduced conforming to behavior described in the PEP.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix format string checking (#80)</title>
<updated>2016-09-08T02:23:51+00:00</updated>
<author>
<name>Jared Garst</name>
<email>jgarst@users.noreply.github.com</email>
</author>
<published>2016-09-08T02:23:51+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pyflakes.git/commit/?id=434bbb06d4dc38ab09eb9405be6fc1279286f69d'/>
<id>434bbb06d4dc38ab09eb9405be6fc1279286f69d</id>
<content type='text'>
format strings (PEP 498) defines a new AST node, JOINEDSTR which
contains a list of string expressions.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
format strings (PEP 498) defines a new AST node, JOINEDSTR which
contains a list of string expressions.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix PyPy2 Windows IntegrationTests (#76)</title>
<updated>2016-08-04T12:57:03+00:00</updated>
<author>
<name>John Vandenberg</name>
<email>jayvdb@gmail.com</email>
</author>
<published>2016-08-04T12:57:03+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pyflakes.git/commit/?id=cce2e51c404d670b3d8590f8107820642c64696e'/>
<id>cce2e51c404d670b3d8590f8107820642c64696e</id>
<content type='text'>
IntegrationTests.test_errors is failing on Windows under PyPy2
as its stderr emits \r\r\n as the line separator.

Add AppVeyor testing for three PyPy releases.

Also add a test for the other more complex stderr message emitted
by the Reporter.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
IntegrationTests.test_errors is failing on Windows under PyPy2
as its stderr emits \r\r\n as the line separator.

Add AppVeyor testing for three PyPy releases.

Also add a test for the other more complex stderr message emitted
by the Reporter.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typos (#77)</title>
<updated>2016-07-27T19:54:06+00:00</updated>
<author>
<name>Jakub Wilk</name>
<email>jwilk@jwilk.net</email>
</author>
<published>2016-07-27T19:54:06+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pyflakes.git/commit/?id=9883d104e5559fb20a96fa68e537b702a09ec8f2'/>
<id>9883d104e5559fb20a96fa68e537b702a09ec8f2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Check for duplicate dictionary keys (#72)</title>
<updated>2016-07-24T23:15:29+00:00</updated>
<author>
<name>geokala</name>
<email>walker_s@hotmail.co.uk</email>
</author>
<published>2016-07-24T23:15:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pyflakes.git/commit/?id=152ca182a603d7327925873db9a795797812968d'/>
<id>152ca182a603d7327925873db9a795797812968d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix TestMain tests on Windows (#75)</title>
<updated>2016-07-21T18:34:42+00:00</updated>
<author>
<name>John Vandenberg</name>
<email>jayvdb@gmail.com</email>
</author>
<published>2016-07-21T18:34:42+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pyflakes.git/commit/?id=2ab47d7628396d3b23d2dda5d163e0c2089666b4'/>
<id>2ab47d7628396d3b23d2dda5d163e0c2089666b4</id>
<content type='text'>
Currently the API test module has failures for TestMain class,
added in f0084592, on Windows as SysStreamCapturing is in
universal newlines mode while its super class IntegrationTests
is using a native console stream with newline=os.linesep.

Add Appveyor CI script as .appveyor.yml,
which can be selected in the Appveyor settings.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently the API test module has failures for TestMain class,
added in f0084592, on Windows as SysStreamCapturing is in
universal newlines mode while its super class IntegrationTests
is using a native console stream with newline=os.linesep.

Add Appveyor CI script as .appveyor.yml,
which can be selected in the Appveyor settings.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix "continue" and "break" checks ignoring py3.5's "async for" loop (#71)</title>
<updated>2016-07-04T14:24:49+00:00</updated>
<author>
<name>Yann Kaiser</name>
<email>kaiser.yann@gmail.com</email>
</author>
<published>2016-07-04T14:24:49+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pyflakes.git/commit/?id=72acff0029ba7c98b6b1345c51a3db023409e853'/>
<id>72acff0029ba7c98b6b1345c51a3db023409e853</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix TypeError when processing relative imports (#61)</title>
<updated>2016-05-12T18:28:52+00:00</updated>
<author>
<name>John Vandenberg</name>
<email>jayvdb@gmail.com</email>
</author>
<published>2016-05-12T18:28:52+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pyflakes.git/commit/?id=d8591997d9718f482f7f1d39f2bf1aa0e4a5ab92'/>
<id>d8591997d9718f482f7f1d39f2bf1aa0e4a5ab92</id>
<content type='text'>
Fixes lp:1560134

aec68a784 added module names to error messages,
however it caused a TypeError for relative imports
that do not specify a module such as:

   from . import x

This fixes the TypeError, and also adds the necessary
leading dots for relative import error messages.

Add tests for various types of relative imports.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes lp:1560134

aec68a784 added module names to error messages,
however it caused a TypeError for relative imports
that do not specify a module such as:

   from . import x

This fixes the TypeError, and also adds the necessary
leading dots for relative import error messages.

Add tests for various types of relative imports.</pre>
</div>
</content>
</entry>
</feed>
