<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/docutils.git/docutils/statemachine.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>Add encoding arguments when opening files.</title>
<updated>2022-06-15T11:31:09+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2022-06-15T11:31:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=fa12d8f79bed977ea1044152e687cc58a1485877'/>
<id>fa12d8f79bed977ea1044152e687cc58a1485877</id>
<content type='text'>
Specify intended incoding, when possible.

Avoids `EncodingWarning` in PEP 597 and nasty surprises
if the default encoding is not what the user expects.

Keep encoding unspecified where this may be an API change.

Based on patch by Adam Turner.

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9072 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Specify intended incoding, when possible.

Avoids `EncodingWarning` in PEP 597 and nasty surprises
if the default encoding is not what the user expects.

Keep encoding unspecified where this may be an API change.

Based on patch by Adam Turner.

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9072 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused local variables</title>
<updated>2022-03-05T23:31:46+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2022-03-05T23:31:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=0a5d3c15d4d32783bd4dd6e0e87c2121b0a2f7fb'/>
<id>0a5d3c15d4d32783bd4dd6e0e87c2121b0a2f7fb</id>
<content type='text'>
flake rule F841: local variable 'foo' is assigned to but never used

In test_odt.py, a no-op class definition is removed completely.

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9038 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
flake rule F841: local variable 'foo' is assigned to but never used

In test_odt.py, a no-op class definition is removed completely.

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9038 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused imports.</title>
<updated>2022-03-05T23:31:10+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2022-03-05T23:31:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=e6c80629b89754ee7b3b80589c645f0770caf254'/>
<id>e6c80629b89754ee7b3b80589c645f0770caf254</id>
<content type='text'>
flake8 rule F401

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

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9037 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid ambiguous variable name l (may be mixed up with 1).</title>
<updated>2022-03-05T23:29:31+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2022-03-05T23:29:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=e95edfdbf9225946b67386eac4611ce5e1bd9ffe'/>
<id>e95edfdbf9225946b67386eac4611ce5e1bd9ffe</id>
<content type='text'>
flake8 rule E741

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

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9034 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not use bare 'except'.</title>
<updated>2022-03-05T23:29:18+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2022-03-05T23:29:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=04703ce3a5ce6f4d257737a632f9b3f7a5f04a74'/>
<id>04703ce3a5ce6f4d257737a632f9b3f7a5f04a74</id>
<content type='text'>
flake8 rule E722

Exception: as catchall, if
* the right thing to do does not depend on the error
* any error is reported or risen again.

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

Exception: as catchall, if
* the right thing to do does not depend on the error
* any error is reported or risen again.

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9033 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid multiple statements on one line. Fix redundant backslash</title>
<updated>2022-03-05T23:29:06+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2022-03-05T23:29:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=39b1aac57576b41e48c5cd26f5e6fe462a0161db'/>
<id>39b1aac57576b41e48c5cd26f5e6fe462a0161db</id>
<content type='text'>
Exceptions for sets of empty class definitions
and other cases where it improves comprehension.

flake8 rules
E502: the backslash is redundant between brackets
E701: multiple statements on one line (colon)
E704: multiple statements on one line (def)

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9032 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Exceptions for sets of empty class definitions
and other cases where it improves comprehension.

flake8 rules
E502: the backslash is redundant between brackets
E701: multiple statements on one line (colon)
E704: multiple statements on one line (def)

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9032 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Code cleanup: StateMachine._stderr no longer required.</title>
<updated>2022-03-05T23:27:39+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2022-03-05T23:27:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=1bf7e3a6b4b2d003dfbe0e5c29a0baa7f5090aa9'/>
<id>1bf7e3a6b4b2d003dfbe0e5c29a0baa7f5090aa9</id>
<content type='text'>
The private attribute `_stderr` implemented encoding-safe
error-reporting (setting `errors` to "backslashreplace").
In Py3k, sys.stderr.errors defaults to "backslashreplace".

Also avoid too long lines.

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9028 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The private attribute `_stderr` implemented encoding-safe
error-reporting (setting `errors` to "backslashreplace").
In Py3k, sys.stderr.errors defaults to "backslashreplace".

Also avoid too long lines.

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9028 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<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>Remove excess blank lines.</title>
<updated>2022-03-04T15:55:47+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2022-03-04T15:55:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=a23dd51777ed41b80dad9a6af40c50da557a9a40'/>
<id>a23dd51777ed41b80dad9a6af40c50da557a9a40</id>
<content type='text'>
flakei rule E303: too many blank lines (N)

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9025 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
flakei rule E303: too many blank lines (N)

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9025 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>
</feed>
