summaryrefslogtreecommitdiff
path: root/docutils/tools/quicktest.py
Commit message (Collapse)AuthorAgeFilesLines
* Move ``quicktest`` to ``tools/dev``aa-turner2022-11-021-224/+0
| | | | | | | | | | The quicktest tool has not been substantively modified since 2006. It may still be useful for generating test-cases, so move it to the developer tools section and do not advertise it as a front-end tool. Update documentation where relevant to remove mention of quicktest as a front-end tool, and remove obsolete "EasyDialogs" code path. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9201 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Cleanup.milde2022-07-281-1/+1
| | | | | | | | Fix typo. Remove spurious whitespace. Bare "except" replaced with ``except Exception``. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9115 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Prepare switch from optparse to argparse.milde2022-03-171-2/+2
| | | | | | | | | | | | | New interface function: frontend.get_default_settings() easy access to default settings for programmatic use. Add deprecation warnings. Catch them when accessing the deprecated functions from Docutils. Make docstrings conform to the Documentation Policies (first line: summary, next line empty). git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9047 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Avoid line break after binary operator.milde2022-03-051-2/+2
| | | | | | | | | Breaking before binary operators is the recommended style in PEP 8 (changed in April 2016). flake8 rule W504 git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9035 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Ensure 2 blank lines around top-level functions and classes.milde2022-03-041-0/+13
| | | | | | | | 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
* Ensure at least two spaces before inline comment.milde2022-03-041-3/+3
| | | | | | | | | 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@9021 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix whitespace before/after delimiters and colon.milde2022-03-031-2/+2
| | | | | | | | | | | | | | 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
* Fix code indentationmilde2022-01-291-6/+5
| | | | | | | | | | | | | | | | | | | | 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@8994 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Use generator expressions with functions expecting a sequence.milde2022-01-261-2/+2
| | | | | | Based on patches by Adam Turner git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8970 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Remove 2.7-compatibility __future__ imports.milde2022-01-031-2/+1
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8925 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* py3: Switch to print functionsmilde2019-08-261-0/+1
| | | | | | | | | | Remove all uses of print as a statement. This includes comments, many of which are simply removed as noise (they're in version control and can be re-added later, if necessary). Signed-off-by: Stephen Finucane <stephen@that.guru> git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8346 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add test for __version_info__, fix output of optional __version_details__.milde2017-06-231-4/+5
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8126 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Make tools/ compatible with both, Python 2 and 3 without 2to3-conversion.milde2012-06-131-11/+11
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7442 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Install auxiliary scripts under docutils/tools instead of the binary path.milde2010-03-091-0/+211
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@6262 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Include buildhtml.py and rst_quicktest.py in package_data[\\\scripts\']milde2010-03-051-211/+0
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@6259 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* clarify purposegoodger2008-05-071-1/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@5545 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* use $Id$ instead of $Date$ and $Revision$;wiemann2006-05-211-6/+3
| | | | | | | | collapsed Author and Contact fields; use canonical email addresses for David and Felix; (I have reviewed the diff) git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@4564 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* typogoodger2006-04-261-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@4518 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* improve -V/--version outputgoodger2006-04-261-2/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@4517 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added -A option to quicktest.py (as listed by quicktest.py -h)wiemann2005-03-231-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3103 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* moved locale imports into try blocks, for Jython compatibilityorutherfurd2004-03-281-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@1896 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* typogoodger2003-01-101-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@1088 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Refactored names (options -> settings; .transform() -> .apply(); etc.); updated.goodger2002-10-181-3/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@825 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added "-A" option. Fixed typo.goodger2002-10-081-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@773 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added ``-V``/``--version`` option.goodger2002-10-031-1/+7
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@758 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Made the ``locale.setlocale()`` calls in front ends fault-tolerant.goodger2002-09-201-1/+4
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@697 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* updatedgoodger2002-09-191-12/+10
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@695 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* updatedgoodger2002-08-211-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@572 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added a second command-line argument (output file); cleaned up.goodger2002-07-271-23/+28
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@380 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* - Added ``locale.setlocale()`` calls to front-ends.goodger2002-07-041-0/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@246 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added the "--attributes" option, hacked a bit.goodger2002-06-271-3/+12
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@213 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* updatedgoodger2002-05-301-1/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@158 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* updatedgoodger2002-05-051-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@91 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Initial revisiongoodger2002-04-201-0/+185
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@18 929543f6-e4f2-0310-98a6-ba3bd3dd1d04