<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/flake8.git, branch bug/74</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>Refactor how we use StyleGuides for better error recovery</title>
<updated>2015-08-20T01:32:52+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2015-08-20T01:32:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=1c6c1f51163784005dac358d60ecb8781d726151'/>
<id>1c6c1f51163784005dac358d60ecb8781d726151</id>
<content type='text'>
In bug 74 we discovered that there are some less than ideal problems
around our use of multiprocessing. This is a first attempt at fixing
74 by using a fake StyleGuide object which proxies to the real one,
and will catch and handle exceptions and then posibly retry the
operation we were trying to perform in the first place.

Currently we're only implementing that logic for StyleGuide.check_files
but we should be careful to implement this in other functions used in
hooks and elsewhere.

Note: there may be a simpler way to fix this with a context manager
that will do the right thing. That may also prove simpler to implement
but that will have a much larger impact on the code-base than this.

Related to bug #74
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In bug 74 we discovered that there are some less than ideal problems
around our use of multiprocessing. This is a first attempt at fixing
74 by using a fake StyleGuide object which proxies to the real one,
and will catch and handle exceptions and then posibly retry the
operation we were trying to perform in the first place.

Currently we're only implementing that logic for StyleGuide.check_files
but we should be careful to implement this in other functions used in
hooks and elsewhere.

Note: there may be a simpler way to fix this with a context manager
that will do the right thing. That may also prove simpler to implement
but that will have a much larger impact on the code-base than this.

Related to bug #74
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'bug/69' into 'master'</title>
<updated>2015-08-19T01:07:28+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2015-08-19T01:07:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=e847ed8bf070dc4d661746bc1957bbebd3d0ae5c'/>
<id>e847ed8bf070dc4d661746bc1957bbebd3d0ae5c</id>
<content type='text'>
Handle EPIPE IOErrors when using more than 1 job

If someone is using flake8 and piping it to a command like `head`, the
command they are piping flake8's output too may close the pipe earlier
than flake8 expects. To avoid extraneous exception output being printed,
we now catch IOErrors and check their errnos to ensure they're something
we know we can ignore.

This also provides flexibility to add further errnos for ignoring on a
case-by-case basis.

Closes #69

See merge request !35
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Handle EPIPE IOErrors when using more than 1 job

If someone is using flake8 and piping it to a command like `head`, the
command they are piping flake8's output too may close the pipe earlier
than flake8 expects. To avoid extraneous exception output being printed,
we now catch IOErrors and check their errnos to ensure they're something
we know we can ignore.

This also provides flexibility to add further errnos for ignoring on a
case-by-case basis.

Closes #69

See merge request !35
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a regression test for EPIPE IOErrors</title>
<updated>2015-08-19T01:02:58+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2015-08-19T01:02:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=1ed78df61ebe32f6d1edac490e5d07e8c0558451'/>
<id>1ed78df61ebe32f6d1edac490e5d07e8c0558451</id>
<content type='text'>
This should prevent bug 69 from regressing in the future and provides a
framework for testing the addition of new errnos to the ingore list.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should prevent bug 69 from regressing in the future and provides a
framework for testing the addition of new errnos to the ingore list.
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle EPIPE IOErrors when using more than 1 job</title>
<updated>2015-08-16T19:00:32+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2015-08-16T19:00:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=d98e1729b3e1e83d796727d59be610dae4254611'/>
<id>d98e1729b3e1e83d796727d59be610dae4254611</id>
<content type='text'>
If someone is using flake8 and piping it to a command like `head`, the
command they are piping flake8's output too may close the pipe earlier
than flake8 expects. To avoid extraneous exception output being printed,
we now catch IOErrors and check their errnos to ensure they're something
we know we can ignore.

This also provides flexibility to add further errnos for ignoring on a
case-by-case basis.

Closes #69
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If someone is using flake8 and piping it to a command like `head`, the
command they are piping flake8's output too may close the pipe earlier
than flake8 expects. To avoid extraneous exception output being printed,
we now catch IOErrors and check their errnos to ensure they're something
we know we can ignore.

This also provides flexibility to add further errnos for ignoring on a
case-by-case basis.

Closes #69
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' into 'master'</title>
<updated>2015-08-16T17:51:09+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2015-08-16T17:51:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=57ec990dad132c98b601006fd83fe50125cc647a'/>
<id>57ec990dad132c98b601006fd83fe50125cc647a</id>
<content type='text'>
docs: Adding flake8-import-order plugin to the list of available plugins

Solves #77

See merge request !34
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
docs: Adding flake8-import-order plugin to the list of available plugins

Solves #77

See merge request !34
</pre>
</div>
</content>
</entry>
<entry>
<title>docs: Adding flake8-import-order plugin to the list of available plugins</title>
<updated>2015-08-11T06:32:43+00:00</updated>
<author>
<name>Javier Domingo Cansino</name>
<email>javier.domingo@fon.com</email>
</author>
<published>2015-08-11T06:32:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=7b7e1da0f4cc70a9e352df60430f0fde19af26a5'/>
<id>7b7e1da0f4cc70a9e352df60430f0fde19af26a5</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 'fix-mock-tests' into 'master'</title>
<updated>2015-07-10T14:59:53+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2015-07-10T14:59:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=d5c5feb651dbd47c78a48ec98ce40e501025e319'/>
<id>d5c5feb651dbd47c78a48ec98ce40e501025e319</id>
<content type='text'>
Fix flake8 tests using mock to work with 1.1.x branch

See merge request !33
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix flake8 tests using mock to work with 1.1.x branch

See merge request !33
</pre>
</div>
</content>
</entry>
<entry>
<title>Pin mock for py26</title>
<updated>2015-07-10T14:46:57+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2015-07-10T14:46:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=a4a4a48667cf6df12b4bdad68ceadd35ba71ae77'/>
<id>a4a4a48667cf6df12b4bdad68ceadd35ba71ae77</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix flake8 tests using mock to work with 1.1.x branch</title>
<updated>2015-07-10T14:34:49+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2015-07-10T14:34:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=b0f30f97fbec04c1ab7cb8937f636822eab63885'/>
<id>b0f30f97fbec04c1ab7cb8937f636822eab63885</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use containers on Travis-CI</title>
<updated>2015-07-10T13:47:44+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2015-07-10T13:47:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=b827629b7a75066bc9f7f0e2139ebcf574f96ea0'/>
<id>b827629b7a75066bc9f7f0e2139ebcf574f96ea0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
