<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/flake8.git/tests/unit, branch legacy-api-tests</title>
<subtitle>gitlab.com: pycqa/flake8.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/'/>
<entry>
<title>Add more simple tests for the legacy api</title>
<updated>2016-07-17T02:06:27+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-07-17T02:06:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=8b4f12872e871c287864ee4563c18b4499b8b652'/>
<id>8b4f12872e871c287864ee4563c18b4499b8b652</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Begin adding tests for the Legacy API</title>
<updated>2016-07-17T01:27:07+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-07-17T01:27:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=6e3107001f32aaea67e9e72fb0dd8b0beb80c54b'/>
<id>6e3107001f32aaea67e9e72fb0dd8b0beb80c54b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add OptionManager#parse_known_args</title>
<updated>2016-07-16T15:07:19+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-07-16T15:07:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=73be9b0e90b187dd7e9533cdd0c287a3d40cb1ec'/>
<id>73be9b0e90b187dd7e9533cdd0c287a3d40cb1ec</id>
<content type='text'>
If a user specified `--max-complexity` on the command-line, they
would be told that it did not exist. The same would be true of any
option provided by a plugin. This is because we parse the command-line
arguments twice in Flake8 -- the first time to specify the verbosity
and destination for logging, the second time to actually execute Flake8.
Since plugin options are not registered to start with the first time,
they are not valid options. So when we first parse the options, we should
only attempt to parse the ones which we know about.

Closes #168
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a user specified `--max-complexity` on the command-line, they
would be told that it did not exist. The same would be true of any
option provided by a plugin. This is because we parse the command-line
arguments twice in Flake8 -- the first time to specify the verbosity
and destination for logging, the second time to actually execute Flake8.
Since plugin options are not registered to start with the first time,
they are not valid options. So when we first parse the options, we should
only attempt to parse the ones which we know about.

Closes #168
</pre>
</div>
</content>
</entry>
<entry>
<title>Add more tests around our Statistics class</title>
<updated>2016-07-13T00:58:44+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-07-13T00:58:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=61430951ec13753aa49200222971ec646846b9b6'/>
<id>61430951ec13753aa49200222971ec646846b9b6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add actual tests around statistics module</title>
<updated>2016-07-12T13:21:57+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-07-12T13:21:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=2d3f06219199a4a7307a3c9a5c14b69be8608dca'/>
<id>2d3f06219199a4a7307a3c9a5c14b69be8608dca</id>
<content type='text'>
Also refactor our statistics module to be a bit smarter and less
namedtuple happy. The Statistic class had no reason to be a tuple,
I have no clue why I wrote it that way last night.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also refactor our statistics module to be a bit smarter and less
namedtuple happy. The Statistic class had no reason to be a tuple,
I have no clue why I wrote it that way last night.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add empty test file for our statistics module</title>
<updated>2016-07-12T01:24:38+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-07-12T01:24:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=1a722bbe7bb1918d26a073108ae362e731296a3e'/>
<id>1a722bbe7bb1918d26a073108ae362e731296a3e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update tests for errors with no physical line</title>
<updated>2016-07-10T01:26:08+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-07-10T01:26:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=e977c6671a470d431ffe869069d95692e846d261'/>
<id>e977c6671a470d431ffe869069d95692e846d261</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Prefer `.flake8` if present for options."</title>
<updated>2016-06-29T01:47:16+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-06-29T01:47:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=75e1c1efbf00af78818a1f69d2b2fa5d5a3ffff9'/>
<id>75e1c1efbf00af78818a1f69d2b2fa5d5a3ffff9</id>
<content type='text'>
The intended behaviour already existed.

This reverts commit db9d4ad8b4cc2aab1ef8349dc969faa8f589e9cc.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The intended behaviour already existed.

This reverts commit db9d4ad8b4cc2aab1ef8349dc969faa8f589e9cc.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add python and platform details to --version</title>
<updated>2016-06-28T18:02:50+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-06-28T18:02:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=c9fb680dffa37517bbda76cc2b572d6f192508bd'/>
<id>c9fb680dffa37517bbda76cc2b572d6f192508bd</id>
<content type='text'>
On Flake8 2.x we added the information about the implementation,
version, and operating system to the --version output to make helping
users easier. In short they can pretty simply just give us the output
from

    flake8 --version

And we can get a lot of the information that we need.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On Flake8 2.x we added the information about the implementation,
version, and operating system to the --version output to make helping
users easier. In short they can pretty simply just give us the output
from

    flake8 --version

And we can get a lot of the information that we need.
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle optional parameters that were never supported</title>
<updated>2016-06-28T14:36:24+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-06-28T14:36:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=2d3e277b1e0c0a24c30c611558692f95d14a8470'/>
<id>2d3e277b1e0c0a24c30c611558692f95d14a8470</id>
<content type='text'>
Previously, pycodestyle never introspected the argument names for
classes except to require that ``tree`` be an argument it could pass.
For Flake8 3.0, we lifted that restriction, but old plugins seem to
have cargo-culted their __init__ signature to be

    def __init__(self, tree, builtins=None):

For some yet unknown reason. This was causing an AttributeError. By
updating flake8.utils.parameters_for to return a dictionary that
indicates whether the parameter is required or not, we can side-step
this by simply ignoring the parameter if it has a default value and
we cannot provide it.

Closes #151
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, pycodestyle never introspected the argument names for
classes except to require that ``tree`` be an argument it could pass.
For Flake8 3.0, we lifted that restriction, but old plugins seem to
have cargo-culted their __init__ signature to be

    def __init__(self, tree, builtins=None):

For some yet unknown reason. This was causing an AttributeError. By
updating flake8.utils.parameters_for to return a dictionary that
indicates whether the parameter is required or not, we can side-step
this by simply ignoring the parameter if it has a default value and
we cannot provide it.

Closes #151
</pre>
</div>
</content>
</entry>
</feed>
