<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/flake8.git/tests/unit/test_checker_manager.py, branch pre_commit_config</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>Do better testing that we actually call run_serial().</title>
<updated>2018-03-03T05:01:47+00:00</updated>
<author>
<name>Craig Silverstein</name>
<email>csilvers@khanacademy.org</email>
</author>
<published>2018-03-03T05:01:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=c16c0c904150c924f3920eb67ae7d242f9775277'/>
<id>c16c0c904150c924f3920eb67ae7d242f9775277</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move all uses of `pool` inside `run_parallel()`.</title>
<updated>2018-03-03T04:49:31+00:00</updated>
<author>
<name>Craig Silverstein</name>
<email>csilvers@khanacademy.org</email>
</author>
<published>2018-03-03T04:49:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=a5573fc8643de1df2bfe7429c81fcb0de42bd784'/>
<id>a5573fc8643de1df2bfe7429c81fcb0de42bd784</id>
<content type='text'>
This includes creating the pool, tearing it down under normal use, and
tearing it down in case of exception.

Doing this makes it harder to leak processes, as for instance was
happening in #410.

Fixes #410
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This includes creating the pool, tearing it down under normal use, and
tearing it down in case of exception.

Doing this makes it harder to leak processes, as for instance was
happening in #410.

Fixes #410
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify and speed up multiprocessing</title>
<updated>2016-11-29T17:00:33+00:00</updated>
<author>
<name>Anthony Sottile</name>
<email>asottile@umich.edu</email>
</author>
<published>2016-11-22T23:43:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=109f5f8888fc6c3b2a82e617af46ed5bc00f8435'/>
<id>109f5f8888fc6c3b2a82e617af46ed5bc00f8435</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Serialize Checkers PluginTypeManager to a dict</title>
<updated>2016-08-03T21:48:39+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-07-27T13:15:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=e14d0e6352efcf78d33c896a425ddc41405acd02'/>
<id>e14d0e6352efcf78d33c896a425ddc41405acd02</id>
<content type='text'>
It seems likely that the multiprocessing module on Windows is not
capable of serializing an object with the structure that we have and
preserving the attributes we dynamically set on plugins (like the
FlakesChecker). To avoid issues like this with all plugins (although
we have only found this on Windows with the FlakesChecker), let's try
serializing the Checkers PluginTypeManager to a dictionary so that the
only object that a Queue is really trying to serialize/deserialize is
the FlakesChecker itself.

Related to #179
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It seems likely that the multiprocessing module on Windows is not
capable of serializing an object with the structure that we have and
preserving the attributes we dynamically set on plugins (like the
FlakesChecker). To avoid issues like this with all plugins (although
we have only found this on Windows with the FlakesChecker), let's try
serializing the Checkers PluginTypeManager to a dictionary so that the
only object that a Queue is really trying to serialize/deserialize is
the FlakesChecker itself.

Related to #179
</pre>
</div>
</content>
</entry>
<entry>
<title>Diable multiprocessing behaviour on Windows</title>
<updated>2016-07-29T12:04:37+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-07-29T11:49:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=429d8a196e1ad7317b195b07f0f6a06027d4476f'/>
<id>429d8a196e1ad7317b195b07f0f6a06027d4476f</id>
<content type='text'>
Due to https://bugs.python.org/issue27649, we cannot continue to
expect multiprocessing to work as we expect and document it on Windows.
As such, we are going to revert back to our previous behaviour of
disabling it across all versions of Python on Windows to provide the
default expected behaviour of Flake8 on that Operating System.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Due to https://bugs.python.org/issue27649, we cannot continue to
expect multiprocessing to work as we expect and document it on Windows.
As such, we are going to revert back to our previous behaviour of
disabling it across all versions of Python on Windows to provide the
default expected behaviour of Flake8 on that Operating System.
</pre>
</div>
</content>
</entry>
<entry>
<title>Configure flake8-import-order to use Google Style</title>
<updated>2016-06-17T15:26:36+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-06-17T15:26:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=8bc76f79debddb80833767075118a63712048704'/>
<id>8bc76f79debddb80833767075118a63712048704</id>
<content type='text'>
This relies on two things:

1. Properly configuring flake8-import-order to use that style
2. Properly configuring flake8-import-order to know that flake8 is our
   application name.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This relies on two things:

1. Properly configuring flake8-import-order to use that style
2. Properly configuring flake8-import-order to know that flake8 is our
   application name.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add test for the make_checkers method</title>
<updated>2016-05-08T00:07:14+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-05-08T00:07:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=e32476b6712f0e7b9cf61f7a25c59f14f82bc3dc'/>
<id>e32476b6712f0e7b9cf61f7a25c59f14f82bc3dc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix import ordering</title>
<updated>2016-04-05T23:54:28+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-04-05T23:54:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=102037788dd6f1ddd9be8923a4fc2bc59506059f'/>
<id>102037788dd6f1ddd9be8923a4fc2bc59506059f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor checker manager and add tests</title>
<updated>2016-04-05T23:52:35+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-04-05T23:52:35+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=78b986d5066e229c490c764ce5511f73fe97cc01'/>
<id>78b986d5066e229c490c764ce5511f73fe97cc01</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add unit tests around serial retries</title>
<updated>2016-04-03T19:41:12+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-04-03T19:41:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/flake8.git/commit/?id=eb3d8f57912527d1229b6960509e8e1e7b8d02da'/>
<id>eb3d8f57912527d1229b6960509e8e1e7b8d02da</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
