<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/flake8.git/src, branch bug/output-file</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>Set-up and stop our formatter</title>
<updated>2016-07-25T19:11:53+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-07-25T19:11:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/commit/?id=559e08a09f6753a5d2c3630bd5e60294afee5815'/>
<id>559e08a09f6753a5d2c3630bd5e60294afee5815</id>
<content type='text'>
Without calling start and stop, our output file is not used by our
Formatters and any formatting plugins.

Related #180
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Without calling start and stop, our output file is not used by our
Formatters and any formatting plugins.

Related #180
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle multiline strings with '# noqa'</title>
<updated>2016-07-25T16:00:18+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-07-25T15:40:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/commit/?id=299e200cb981f4c0823a1fe9cd3baecc00a79203'/>
<id>299e200cb981f4c0823a1fe9cd3baecc00a79203</id>
<content type='text'>
In Flake8 2.x we allowed people to use # noqa at the end of a multiline
string to ignore errors inside the string (e.g., E501). Being blissfully
ignorant of this, I never accounted for it in Flake8 3. This fixes the
oversight and allows multiline statements to have the # noqa at the end.

Closes #177
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In Flake8 2.x we allowed people to use # noqa at the end of a multiline
string to ignore errors inside the string (e.g., E501). Being blissfully
ignorant of this, I never accounted for it in Flake8 3. This fixes the
oversight and allows multiline statements to have the # noqa at the end.

Closes #177
</pre>
</div>
</content>
</entry>
<entry>
<title>Update release notes and version string for 3.0</title>
<updated>2016-07-25T01:11:48+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-07-25T01:11:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/commit/?id=ff0bf5f0f91b69bfd677822e0d26f47e7def86c5'/>
<id>ff0bf5f0f91b69bfd677822e0d26f47e7def86c5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Support functions as file plugins too</title>
<updated>2016-07-24T14:27:05+00:00</updated>
<author>
<name>Fabian Neundorf</name>
<email>CommodoreFabianus@gmx.de</email>
</author>
<published>2016-07-24T14:27:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/commit/?id=373eb15573bb320597c5c21a2dc0f2e47266bdd1'/>
<id>373eb15573bb320597c5c21a2dc0f2e47266bdd1</id>
<content type='text'>
It is possible to write plugins which are only a function. At the moment they
are called on each line manually. This allows the function also to be called
on each file once. It works similar to creating the class and calling `run` on
it immediately. The plugin function needs to return a generator.

This is based on the original comment in the `FileChecker.run_ast_checks`
method, but slightly modified as the original comment would've called the
return of the function. But the function could return the reports directly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It is possible to write plugins which are only a function. At the moment they
are called on each line manually. This allows the function also to be called
on each file once. It works similar to creating the class and calling `run` on
it immediately. The plugin function needs to return a generator.

This is based on the original comment in the `FileChecker.run_ast_checks`
method, but slightly modified as the original comment would've called the
return of the function. But the function could return the reports directly.
</pre>
</div>
</content>
</entry>
<entry>
<title>Check for alternate_separator only when truthy</title>
<updated>2016-07-22T22:12:49+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-07-22T22:12:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/commit/?id=4a46412bf6007356775657e4f0bc452564dec2d1'/>
<id>4a46412bf6007356775657e4f0bc452564dec2d1</id>
<content type='text'>
In the case where alternate separator is None, we use '' which will
always be in any string. We want to skip that case.

Also we only run our tests on AppVeyor, not all of our testenvs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the case where alternate separator is None, we use '' which will
always be in any string. We want to skip that case.

Also we only run our tests on AppVeyor, not all of our testenvs.
</pre>
</div>
</content>
</entry>
<entry>
<title>Check for both os.path.sep and os.path.altsep</title>
<updated>2016-07-22T22:07:52+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-07-22T22:02:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/commit/?id=473106fee1ec4fcc9e2dde55c821effcd34e8a97'/>
<id>473106fee1ec4fcc9e2dde55c821effcd34e8a97</id>
<content type='text'>
When normalizing paths, we want to handle the following cases:

- Someone is using a Windows-style path on Windows
- Someone is using a Unix style path on Unix
- Someone is using a Unix style path on Windows

os.path.sep will handle the native directory separator character while
os.path.altsep (when set) will handle alternate separators. Further,
os.path.abspath does the right thing on Windows when handed a Unix-style
path.

Related to #175
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When normalizing paths, we want to handle the following cases:

- Someone is using a Windows-style path on Windows
- Someone is using a Unix style path on Unix
- Someone is using a Unix style path on Windows

os.path.sep will handle the native directory separator character while
os.path.altsep (when set) will handle alternate separators. Further,
os.path.abspath does the right thing on Windows when handed a Unix-style
path.

Related to #175
</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>Allow stdin and directly named files to be excluded from check</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-20T19:43:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/commit/?id=b2b4cae8e3ef27b8545a8d98a35dc7b07b1b132f'/>
<id>b2b4cae8e3ef27b8545a8d98a35dc7b07b1b132f</id>
<content type='text'>
For the sake of IDEs, check filename for exclusion even if the file is directly
named in the command line.

Also, if the filename is "-" (stdin) check the provided display name for
exclusion.

Also, avoid calling path checking functions on the "-" filename:

 * fnmatch.fnmatch()
 * os.path.isdir()
 * os.path.exists()
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For the sake of IDEs, check filename for exclusion even if the file is directly
named in the command line.

Also, if the filename is "-" (stdin) check the provided display name for
exclusion.

Also, avoid calling path checking functions on the "-" filename:

 * fnmatch.fnmatch()
 * os.path.isdir()
 * os.path.exists()
</pre>
</div>
</content>
</entry>
</feed>
