<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/flake8.git/src/flake8/processor.py, branch bug/193</title>
<subtitle>gitlab.com: pycqa/flake8.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/'/>
<entry>
<title>Fix handling of logical lines with noqa</title>
<updated>2016-07-27T00:45:05+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-07-27T00:41:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/commit/?id=e51fc5458b81b6c56c359c79b13ce88b70e476ec'/>
<id>e51fc5458b81b6c56c359c79b13ce88b70e476ec</id>
<content type='text'>
When attempting to centralize all inline NoQA handling in the StyleGuide
we inadvertently broke plugins relying on it in combination with checker
state. For example, the check for E402 relies both on NoQA and the state
to determine if it has seen a non-import line. Placing NoQA on the sole
line that is not an import is more elegant than placing it on each of
the following import lines.

Closes #186
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When attempting to centralize all inline NoQA handling in the StyleGuide
we inadvertently broke plugins relying on it in combination with checker
state. For example, the check for E402 relies both on NoQA and the state
to determine if it has seen a non-import line. Placing NoQA on the sole
line that is not an import is more elegant than placing it on each of
the following import lines.

Closes #186
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typo in documentation using `indect`</title>
<updated>2016-07-21T11:59:07+00:00</updated>
<author>
<name>Fabian Neundorf</name>
<email>CommodoreFabianus@gmx.de</email>
</author>
<published>2016-07-21T11:57:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/commit/?id=965d6f95095eda8de50b640ac86bdfa96bed43d2'/>
<id>965d6f95095eda8de50b640ac86bdfa96bed43d2</id>
<content type='text'>
The documentation for the `FileProcessor` class used `indect_char` while the
class itself uses the more sensible name `indent_char`. This updates both the
docstring as well as the documentation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The documentation for the `FileProcessor` class used `indect_char` while the
class itself uses the more sensible name `indent_char`. This updates both the
docstring as well as the documentation.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix up merge request 78</title>
<updated>2016-07-21T00:28:13+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-07-21T00:28:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/commit/?id=a1fdb5a2b5934ef5629df2335b2d495ba5252812'/>
<id>a1fdb5a2b5934ef5629df2335b2d495ba5252812</id>
<content type='text'>
This simplifies the changes, reduces the scope of refactors apparently
for refactoring's sake and ensures that the internals are reasonable.

It also airs on the side of preserving information rather than
discarding or overwriting it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This simplifies the changes, reduces the scope of refactors apparently
for refactoring's sake and ensures that the internals are reasonable.

It also airs on the side of preserving information rather than
discarding or overwriting it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Propagate the stdin_display_name to checker and processor</title>
<updated>2016-07-20T21:45:01+00:00</updated>
<author>
<name>Leonardo Rochael Almeida</name>
<email>leorochael@gmail.com</email>
</author>
<published>2016-07-20T20:22:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/commit/?id=7934f8dce2fc1c5d8da374a3c7435d36f9526b0b'/>
<id>7934f8dce2fc1c5d8da374a3c7435d36f9526b0b</id>
<content type='text'>
This way plugins like flake8-putty can have access to the correct filename.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This way plugins like flake8-putty can have access to the correct filename.
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle errors reported in empty files</title>
<updated>2016-07-10T01:21:26+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-07-10T01:21:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/commit/?id=57e82688df3f36d023352e3d12435f36f51ee9ac'/>
<id>57e82688df3f36d023352e3d12435f36f51ee9ac</id>
<content type='text'>
Some plugins (e.g., flake8-future-import) report errors for empty
files. Those plugins default to reporting the line number as 1 which
caused earlier versions of Flake8 3.0 beta to crash on an IndexError

Closes #157
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some plugins (e.g., flake8-future-import) report errors for empty
files. Those plugins default to reporting the line number as 1 which
caused earlier versions of Flake8 3.0 beta to crash on an IndexError

Closes #157
</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://git.baserock.org/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>
<entry>
<title>Move flake8 into src</title>
<updated>2016-06-25T15:12:13+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-06-25T15:12:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/commit/?id=1a2c68f5da8ae95b8a156ef6f6a772bf82cf0f88'/>
<id>1a2c68f5da8ae95b8a156ef6f6a772bf82cf0f88</id>
<content type='text'>
This is an emerging best practice and there is little reason to not
follow it
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is an emerging best practice and there is little reason to not
follow it
</pre>
</div>
</content>
</entry>
</feed>
