<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/docutils.git/docutils/tools/test, branch master</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=99d22d8609c413384e3b38e923ca6cc456e7e631'/>
<id>99d22d8609c413384e3b38e923ca6cc456e7e631</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@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@9072 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=e5094f5615d5ad1cce383dc79be7903c999378cf'/>
<id>e5094f5615d5ad1cce383dc79be7903c999378cf</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@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@9026 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix whitespace before/after delimiters and colon.</title>
<updated>2022-03-03T22:15:00+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2022-03-03T22:15:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=49dc90366c0e596d2f3bf0d98e7eb723ab1f166c'/>
<id>49dc90366c0e596d2f3bf0d98e7eb723ab1f166c</id>
<content type='text'>
Flake rules

E201 whitespace after '('
E202 whitespace before '}'
E203 whitespace before ':'
E211 whitespace before '('

Exception: : as binary operator in extended slices
(cf. https://www.python.org/dev/peps/pep-0008/#pet-peeves).

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

E201 whitespace after '('
E202 whitespace before '}'
E203 whitespace before ':'
E211 whitespace before '('

Exception: : as binary operator in extended slices
(cf. https://www.python.org/dev/peps/pep-0008/#pet-peeves).

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9015 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Use "x not in y" over "not x in y"</title>
<updated>2022-01-26T19:04:28+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2022-01-26T19:04:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=47a681a0ab3dceca07d65cf6b02b6b8283547efb'/>
<id>47a681a0ab3dceca07d65cf6b02b6b8283547efb</id>
<content type='text'>
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8978 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@8978 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=b8ae1944faa9048625214e1f07e6e4d2879c565e'/>
<id>b8ae1944faa9048625214e1f07e6e4d2879c565e</id>
<content type='text'>
Patch by Adam Turner.

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@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@8976 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Drop special-casing for Python 2.x in tests and tools.</title>
<updated>2022-01-03T23:50:05+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2022-01-03T23:50:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=d5c617a6b221b32b1525986aacab200ebf6ef02b'/>
<id>d5c617a6b221b32b1525986aacab200ebf6ef02b</id>
<content type='text'>
Use "python3" in the shebang line
(cf. PEP 394 -- The "python" Command on Unix-Like Systems).

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8927 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use "python3" in the shebang line
(cf. PEP 394 -- The "python" Command on Unix-Like Systems).

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8927 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>test_buildhtml.py: Wait for the subprocess to finish</title>
<updated>2020-03-03T20:53:38+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2020-03-03T20:53:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=de492aeb2f9199231b9a330d6b3f8db791b6cdc2'/>
<id>de492aeb2f9199231b9a330d6b3f8db791b6cdc2</id>
<content type='text'>
To fix ResourceWarning: subprocess NNN is still running.

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8500 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To fix ResourceWarning: subprocess NNN is still running.

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8500 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>test_buildhtml: Eliminate need for shell=True</title>
<updated>2020-03-03T20:53:29+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2020-03-03T20:53:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=f89fc69d7f3be7b5656216837c6a42c275c7f85f'/>
<id>f89fc69d7f3be7b5656216837c6a42c275c7f85f</id>
<content type='text'>
Also use sys.executable, to make it possible to test buildhtml.py
with different interpreter versions.

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8499 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also use sys.executable, to make it possible to test buildhtml.py
with different interpreter versions.

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8499 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>test_buildhtml: Drop obsolete NameError handling</title>
<updated>2020-03-03T20:53:18+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2020-03-03T20:53:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=44b45d9f1998a449e6b0f0caf7b7f175086be6c7'/>
<id>44b45d9f1998a449e6b0f0caf7b7f175086be6c7</id>
<content type='text'>
It was added in r7442 because the imports were optional, however since
r8333 the imports are unconditional, so the NameError will never be
raised.

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8498 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It was added in r7442 because the imports were optional, however since
r8333 the imports are unconditional, so the NameError will never be
raised.

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8498 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>trivial: Misc whitespace fixes</title>
<updated>2019-08-27T19:49:29+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2019-08-27T19:49:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=feb6d8044260128c9c08a52b5e636788c0c6285a'/>
<id>feb6d8044260128c9c08a52b5e636788c0c6285a</id>
<content type='text'>
Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8376 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;

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