<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/flake8.git, branch bug/180</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>Wire-up --statistics again</title>
<updated>2016-07-25T19:29:09+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-07-25T19:29:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=4dc1d11a627a571eeae4e0ae3da7b94e7de04214'/>
<id>4dc1d11a627a571eeae4e0ae3da7b94e7de04214</id>
<content type='text'>
I'm not sure where this code went or when, but it disappeared. Let's
add it back.

Related #180
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I'm not sure where this code went or when, but it disappeared. Let's
add it back.

Related #180
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'bug/177' into 'master'</title>
<updated>2016-07-25T16:08:16+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-07-25T16:08:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=fc035c4df280e1f10c2e1f73ce8c2ea2af5c99a7'/>
<id>fc035c4df280e1f10c2e1f73ce8c2ea2af5c99a7</id>
<content type='text'>

Handle multiline strings with '# noqa'

*Description of changes*

I had overlooked a usecase of Flake8 where people use `# noqa` at the end of a multi-line string. This addresses that oversight

*Related to:*  #177

See merge request !85</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

Handle multiline strings with '# noqa'

*Description of changes*

I had overlooked a usecase of Flake8 where people use `# noqa` at the end of a multi-line string. This addresses that oversight

*Related to:*  #177

See merge request !85</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://91.123.203.49/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>Merge branch 'unbreak-builds' into 'master'</title>
<updated>2016-07-25T12:26:25+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-07-25T12:26:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=217aa8185c784f6514ef2004c110e1f33d4dc6c3'/>
<id>217aa8185c784f6514ef2004c110e1f33d4dc6c3</id>
<content type='text'>

Force flake8 test to below 3.x

The current version (0.8) of `flake8-import-order` still uses `parser.config_options` and so all builds fail because it installs Flake8 3.x.

Now the repository of that plugin already accounted for that but as long as it isn't released it'll cause all new builds to fail. Alternatively I can repurpose this merge request to actually enforce a newer version of `flake8-import-order` which supports Flake8 3.x.

See merge request !84</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

Force flake8 test to below 3.x

The current version (0.8) of `flake8-import-order` still uses `parser.config_options` and so all builds fail because it installs Flake8 3.x.

Now the repository of that plugin already accounted for that but as long as it isn't released it'll cause all new builds to fail. Alternatively I can repurpose this merge request to actually enforce a newer version of `flake8-import-order` which supports Flake8 3.x.

See merge request !84</pre>
</div>
</content>
</entry>
<entry>
<title>Force flake8 test to below 3.x</title>
<updated>2016-07-25T11:53:10+00:00</updated>
<author>
<name>Fabian Neundorf</name>
<email>CommodoreFabianus@gmx.de</email>
</author>
<published>2016-07-25T11:53:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=777e7e3854c431a0965d5f1db3f01bfcae513d30'/>
<id>777e7e3854c431a0965d5f1db3f01bfcae513d30</id>
<content type='text'>
Because flake8-import-order does not support Flake8 3.x yet, we need to force
a Flake8 version that is supported.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because flake8-import-order does not support Flake8 3.x yet, we need to force
a Flake8 version that is supported.
</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://91.123.203.49/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>Merge branch 'run-functions'</title>
<updated>2016-07-25T01:04:59+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-07-25T01:04:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=455066cd52ee82957cc656d3d797a126d5a6aa02'/>
<id>455066cd52ee82957cc656d3d797a126d5a6aa02</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Relocate integration style checker tests</title>
<updated>2016-07-25T01:04:48+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-07-25T01:04:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=5f9c0bde23c296f2151afa62dc17b6939bfc74ca'/>
<id>5f9c0bde23c296f2151afa62dc17b6939bfc74ca</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://91.123.203.49/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>Merge branch 'windows-bugs' into 'master'</title>
<updated>2016-07-22T22:16:45+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-07-22T22:16:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=698079f87a017dc7170d9c5f14627d71a47b5aba'/>
<id>698079f87a017dc7170d9c5f14627d71a47b5aba</id>
<content type='text'>

Check for both os.path.sep and os.path.altsep

*Description of changes*

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

See merge request !81</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

Check for both os.path.sep and os.path.altsep

*Description of changes*

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

See merge request !81</pre>
</div>
</content>
</entry>
</feed>
