summaryrefslogtreecommitdiff
path: root/tests/test_pycode.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove ``.egg`` support from pycode ``ModuleAnalyser``Adam Turner2023-03-051-25/+0
| | | | Python eggs are a now-obsolete binary distribution format.
* Drop Python 3.7Adam Turner2022-09-271-2/+0
|
* Clean up after dropping Python 3.6Adam Turner2022-09-271-1/+1
|
* Collapse single line docstringsAdam Turner2022-02-201-2/+1
|
* Remove copyright and licence fieldsAdam Turner2022-02-201-3/+0
|
* Fix module docstring indentationAdam Turner2022-02-201-2/+2
|
* Fix module docstring first lineAdam Turner2022-02-201-2/+1
|
* Remove module titles in docstringsAdam Turner2022-02-191-3/+0
|
* A happy new year!Takeshi KOMIYA2022-01-011-1/+1
|
* Fix #9968: autodoc: ivars are not shown if __init__ has posonlyargsTakeshi KOMIYA2021-12-191-0/+15
|
* A happy new year!Takeshi KOMIYA2021-01-011-1/+1
| | | | | | | .. note:: $ find sphinx tests LICENSE doc/conf.py -type f -exec sed -i '' -e 's/2007\-20../2007-2021/' {} \; $ git co sphinx/locale/**/*.js sphinx/templates/epub3/mimetype
* refactor: Fix flake8 violations under tests/ directoryTakeshi KOMIYA2020-11-151-0/+1
|
* Sort imports with isortFrançois Freitag2020-11-111-1/+2
| | | | | | | | | | | | Keep imports alphabetically sorted and their order homogeneous across Python source files. The isort project has more feature and is more active than the flake8-import-order plugin. Most issues caught were simply import ordering from the same module. Where imports were purposefully placed out of order, tag with isort:skip.
* Strip trailing whitespaces and normalize line endingsFrançois Freitag2020-10-031-1/+1
| | | | | | | | Trailing whitespace do not have impact on the result, they are just unused bytes. Most text editors are configured to strip trailing whitespaces. Remove them all in one go. Update a handful of files to use the UNIX line ending.
* Deprecate sphinx.util:detect_encoding() and ModuleAnalyzer.encodingTakeshi KOMIYA2019-12-271-5/+1
|
* Old get_module_source API restored, new version moved to ModuleAnalyzer ↵hkm2019-12-251-0/+11
| | | | class, tests updated
* restore sys.path with <finally> statementkpnr2019-12-161-4/+7
|
* Added test case for non ASCII & non UTF8 encoding Windows-1251 in ↵hkm2019-12-151-1/+7
| | | | test_pycode section
* Test suite updated - encoding not detected when getting sources from native ↵hkm2019-12-151-1/+2
| | | | loader
* Remove unnecessary encoding cookie from Python source filesJon Dufresne2018-12-161-1/+0
| | | | | | | | | | | | | | In Python 3, the default encoding of source files is utf-8. The encoding cookie is now unnecessary and redundant so remove it. For more details, see the docs: https://docs.python.org/3/howto/unicode.html#the-string-type > The default encoding for Python source code is UTF-8, so you can > simply include a Unicode character in a string literal ... Includes a fix for the flake8 header checks to stop expecting an encoding cookie.
* refactoring: Drop PY2 and PY3 flagsTakeshi KOMIYA2018-09-221-10/+2
|
* Fix #5290: autodoc: failed to analyze source code in egg packageTakeshi KOMIYA2018-09-061-0/+26
|
* Fix flake8 violationsTakeshi KOMIYA2018-02-191-0/+1
|
* tests: Remove 'tests/run.py'Stephen Finucane2017-12-291-1/+2
| | | | | | | This is no longer necessary. One test needs to be modified to deal with how 'python -m pytest' modifies the PATH. Signed-off-by: Stephen Finucane <stephen@that.guru>
* pycode: Replace pgen2 by own parserTakeshi KOMIYA2017-07-261-18/+34
|
* Add testcase for onelinerTakeshi KOMIYA2017-07-261-2/+7
|
* Add testcase for pycode interfaceTakeshi KOMIYA2017-07-261-0/+44
|
* Add testcode for sphinx.pycodeTakeshi KOMIYA2017-03-181-0/+90