<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/docutils.git/docutils/utils/code_analyzer.py, branch docutils-0.19</title>
<subtitle>svn.code.sf.net: p/docutils/code
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/'/>
<entry>
<title>Ensure 2 blank lines around top-level functions and classes.</title>
<updated>2022-03-04T15:57:13+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2022-03-04T15:57:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=e45243a10d457bf01bbd3bf3aaf1aaa50e298cbf'/>
<id>e45243a10d457bf01bbd3bf3aaf1aaa50e298cbf</id>
<content type='text'>
flake8 rules
E302: expected 2 blank lines, found 1
E305: expected 2 blank lines after class or function definition

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9026 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
flake8 rules
E302: expected 2 blank lines, found 1
E305: expected 2 blank lines after class or function definition

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9026 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure at least two spaces before inline comment.</title>
<updated>2022-03-04T15:54:22+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2022-03-04T15:54:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=703d5ddbc3b7a805e82b4b80d01c8964a50d8a0a'/>
<id>703d5ddbc3b7a805e82b4b80d01c8964a50d8a0a</id>
<content type='text'>
flake 8 rule E261

Exceptions for modules sheduled for removal or with
3rd-party origin and for data collections.

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9021 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
flake 8 rule E261

Exceptions for modules sheduled for removal or with
3rd-party origin and for data collections.

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9021 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix code indentation</title>
<updated>2022-01-29T16:28:17+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2022-01-29T16:28:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=46bf7a677077d072eb1a4bf5e645480a32a38a0c'/>
<id>46bf7a677077d072eb1a4bf5e645480a32a38a0c</id>
<content type='text'>
Check conformance to our coding policies with flake8.

Fix the following problems:

E111 indentation is not a multiple of four
E114 indentation is not a multiple of four (comment)
E115 expected an indented block (comment)
E116 unexpected indentation (comment)
E117 over-indented
E121 continuation line under-indented for hanging indent
E122 continuation line missing indentation or outdented
E124 closing bracked does not match visual indentaion
E127 continuation line over-indented for visual indent
E128 continuation line under-indented for visual indent
E131 continuation line unaligned for hanging indent

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8994 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Check conformance to our coding policies with flake8.

Fix the following problems:

E111 indentation is not a multiple of four
E114 indentation is not a multiple of four (comment)
E115 expected an indented block (comment)
E116 unexpected indentation (comment)
E117 over-indented
E121 continuation line under-indented for hanging indent
E122 continuation line missing indentation or outdented
E124 closing bracked does not match visual indentaion
E127 continuation line over-indented for visual indent
E128 continuation line under-indented for visual indent
E131 continuation line unaligned for hanging indent

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8994 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>New style classes no longer need to inherit from `object`.</title>
<updated>2022-01-26T22:10:06+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2022-01-26T22:10:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=95342e1364a0d11856b63747b432568f8429d769'/>
<id>95342e1364a0d11856b63747b432568f8429d769</id>
<content type='text'>
Patch by Adam Turner.

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8984 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch by Adam Turner.

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8984 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove redundant parentheses</title>
<updated>2022-01-26T19:04:01+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2022-01-26T19:04:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=066f96150fbe7bc2e3458581ef5f298471a4e39b'/>
<id>066f96150fbe7bc2e3458581ef5f298471a4e39b</id>
<content type='text'>
Patch by Adam Turner.

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8976 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch by Adam Turner.

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8976 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove "coding:" slug</title>
<updated>2022-01-03T23:49:39+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2022-01-03T23:49:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=ab3d322d772ce9ebb359b7782de16debc0a123c3'/>
<id>ab3d322d772ce9ebb359b7782de16debc0a123c3</id>
<content type='text'>
Only required with Python 2.x. Encoding in Py3k is utf8 by default.

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8926 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only required with Python 2.x. Encoding in Py3k is utf8 by default.

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8926 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix spelling</title>
<updated>2021-10-22T16:39:59+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2021-10-22T16:39:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=ae730fc755ba289187daa47213f98d22f0856f68'/>
<id>ae730fc755ba289187daa47213f98d22f0856f68</id>
<content type='text'>
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8860 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8860 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Update pygments integration.</title>
<updated>2021-01-03T21:05:13+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2021-01-03T21:05:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=7e6c9edbc6fea18f0afaf497047e83afd0d0aa4f'/>
<id>7e6c9edbc6fea18f0afaf497047e83afd0d0aa4f</id>
<content type='text'>
Pygments no longer uses the pkg_resources.DistributionNotFound
exception, so we don't need to import it.

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8599 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pygments no longer uses the pkg_resources.DistributionNotFound
exception, so we don't need to import it.

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8599 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't drop "code" directive content if Warnings are silenced.</title>
<updated>2020-12-16T10:41:03+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2020-12-16T10:41:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=1a02118c883f579874bf977546e64843fed5e028'/>
<id>1a02118c883f579874bf977546e64843fed5e028</id>
<content type='text'>
Output the content without syntax highlight to prevent
data loss.

It is still recommended to solve the issue instead of just
silencing the warning. (Languages that are unknown to the
Pygments Lexer should be specified as :class: option value
instead of directive argument.)

Thanks to Jérôme Carretero for the report and suggestion.

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8596 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Output the content without syntax highlight to prevent
data loss.

It is still recommended to solve the issue instead of just
silencing the warning. (Languages that are unknown to the
Pygments Lexer should be specified as :class: option value
instead of directive argument.)

Thanks to Jérôme Carretero for the report and suggestion.

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8596 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>py3: Replace 'foo.next()' with 'next(foo)'</title>
<updated>2019-08-26T16:46:50+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2019-08-26T16:46:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=9a978b58b0052d5e019fcb56b8b19c2ecbeed179'/>
<id>9a978b58b0052d5e019fcb56b8b19c2ecbeed179</id>
<content type='text'>
The former only works in Python 2, while the latter works in Python 2.7
and 3.x.

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8361 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The former only works in Python 2, while the latter works in Python 2.7
and 3.x.

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8361 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
</feed>
