<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/flake8.git/src/flake8/utils.py, branch pre_commit_config</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>Refactor to support the per-file-ignores</title>
<updated>2018-10-27T13:01:14+00:00</updated>
<author>
<name>Ian Stapleton Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2018-10-26T20:05:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/commit/?id=e09a22a416b61f242feb90d8a536286713d0ab7e'/>
<id>e09a22a416b61f242feb90d8a536286713d0ab7e</id>
<content type='text'>
Most of the problems with our logic were due to not having the same
logic as our exclude parameter. This refactors that out into a separate
function so we can confidently achieve that.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Most of the problems with our logic were due to not having the same
logic as our exclude parameter. This refactors that out into a separate
function so we can confidently achieve that.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for per-file ignores in config</title>
<updated>2018-10-25T14:45:03+00:00</updated>
<author>
<name>Ian Stapleton Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2018-10-25T14:10:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/commit/?id=f2776107db605eb67362db00bc5e9ef2afa9f39e'/>
<id>f2776107db605eb67362db00bc5e9ef2afa9f39e</id>
<content type='text'>
This adds support for rules that ignore violation codes on a per-file
basis. This takes a similar functional approach to
https://github.com/snoack/flake8-per-file-ignores which allows for glob
patterns like the `--exclude` option.

Closes #156
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds support for rules that ignore violation codes on a per-file
basis. This takes a similar functional approach to
https://github.com/snoack/flake8-per-file-ignores which allows for glob
patterns like the `--exclude` option.

Closes #156
</pre>
</div>
</content>
</entry>
<entry>
<title>Use black to reformat Flake8</title>
<updated>2018-10-20T17:37:14+00:00</updated>
<author>
<name>Ian Stapleton Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2018-10-20T12:31:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/commit/?id=c58a4662d8920cf70ea688edd9eaf9d783a856a7'/>
<id>c58a4662d8920cf70ea688edd9eaf9d783a856a7</id>
<content type='text'>
Instead of just using Flake8 and pylint to keep Flake8 clean, let's also
use black to make it less manual for clean-up.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of just using Flake8 and pylint to keep Flake8 clean, let's also
use black to make it less manual for clean-up.
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow our local plugin parsing to accept commas</title>
<updated>2017-08-10T00:35:01+00:00</updated>
<author>
<name>Ian Stapleton Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2017-08-10T00:35:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/commit/?id=222f0a8115651eecc4f88933bb887068427e97bf'/>
<id>222f0a8115651eecc4f88933bb887068427e97bf</id>
<content type='text'>
By slightly modifying our utility function to parse comma separated
lists we can parse local plugins similar to other configuration options.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By slightly modifying our utility function to parse comma separated
lists we can parse local plugins similar to other configuration options.
</pre>
</div>
</content>
</entry>
<entry>
<title>Support spaces as error/ignore code separators</title>
<updated>2017-05-26T01:07:48+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2017-05-26T01:02:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/commit/?id=a42299d008df7054532d52f84b0795d0e76cf5a8'/>
<id>a42299d008df7054532d52f84b0795d0e76cf5a8</id>
<content type='text'>
Closes #329
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #329
</pre>
</div>
</content>
</entry>
<entry>
<title>Filter out empty ignore/select codes</title>
<updated>2017-05-21T01:26:27+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2017-05-21T01:26:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/commit/?id=25566468a22b348a9d1e0abd9395703658728402'/>
<id>25566468a22b348a9d1e0abd9395703658728402</id>
<content type='text'>
When we parse out our comma separated lists, we should ignore empty
strings to avoid them breaking users' expectations.

Closes #330
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When we parse out our comma separated lists, we should ignore empty
strings to avoid them breaking users' expectations.

Closes #330
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't apply excludes greedily to subdirs</title>
<updated>2017-03-16T20:44:33+00:00</updated>
<author>
<name>Anthony Sottile</name>
<email>asottile@umich.edu</email>
</author>
<published>2017-03-16T19:48:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/commit/?id=0559e0b43cae92073ffede727bb0963310a81d88'/>
<id>0559e0b43cae92073ffede727bb0963310a81d88</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Modify stdin retriever to detect coding pragma</title>
<updated>2017-02-20T13:38:28+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2017-02-19T20:21:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/commit/?id=879d3fc0d77f5179ee56d742ef820f93817cd854'/>
<id>879d3fc0d77f5179ee56d742ef820f93817cd854</id>
<content type='text'>
When we read in a file on Python 3, we use the tokenize module to detect
the coding pragma at the top of the file. We then use that to decode the
rest of the file. However, when we were receiving stdin, we would not do
that.

This updates ``stdin_get_value`` in a backwards compatible way to check
for that coding pragma and then fall back to UTF-8 if necessary.

Closes #306
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When we read in a file on Python 3, we use the tokenize module to detect
the coding pragma at the top of the file. We then use that to decode the
rest of the file. However, when we were receiving stdin, we would not do
that.

This updates ``stdin_get_value`` in a backwards compatible way to check
for that coding pragma and then fall back to UTF-8 if necessary.

Closes #306
</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://git.baserock.org/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>Ensure we're only on Python 2.7</title>
<updated>2016-07-27T00:55:54+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-07-27T00:55:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/commit/?id=80450ff0976784b1bf658bbc05cca5c8c8405950'/>
<id>80450ff0976784b1bf658bbc05cca5c8c8405950</id>
<content type='text'>
As FichteFoll pointed out on IRC, this line could include Python 3s
less than 3.2 as well.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As FichteFoll pointed out on IRC, this line could include Python 3s
less than 3.2 as well.
</pre>
</div>
</content>
</entry>
</feed>
