summaryrefslogtreecommitdiff
path: root/tests/roots/test-ext-viewcode
Commit message (Collapse)AuthorAgeFilesLines
* Run pyupgrade (#11070)Adam Turner2023-01-023-4/+4
|
* Remove unneeded `noqa` lint suppression comments (#10772)danieleades2022-08-282-3/+3
|
* Fix typos discovered by codespellChristian Clauss2021-09-081-1/+1
|
* Sort imports with isortFrançois Freitag2020-11-112-2/+3
| | | | | | | | | | | | 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.
* test: Omit master_doc settings from testcasesTakeshi KOMIYA2019-01-031-1/+0
|
* Remove coding magic comments from testsTakeshi KOMIYA2019-01-021-2/+0
|
* py3: Remove (most) __future__ importsStephen Finucane2018-12-171-2/+0
| | | | | | | | | | | | | | | | | | | There were two used: - print_function - absolute_import Both of these are mandatory in Python 3.0 onwards [1] and can therefore be removed...mostly. Unfortunately, mypy is still running in Python 2.7 mode, meaning we need the 'print_function' future wherever we're calling 'print' with the 'file' argument. There's also a single 'absolute_import' future that must be retained as its removal breaks a test for as-yet unknown reasons. TODOs are added to resolve both issues in the future. [1] https://docs.python.org/3/library/__future__.html Signed-off-by: Stephen Finucane <stephen@that.guru>
* Plugins can find source code for viewcodeAshley Whetter2018-04-241-1/+3
| | | | Fixes #4035
* Fix flake8 violationsTakeshi KOMIYA2018-02-194-7/+9
|
* Merge pull request #2299 from scVENUS/fix_attribute_docstrings_of_imported_classTakeshi KOMIYA2017-11-123-0/+14
|\ | | | | Fix #2298: automodule fails to document a class attribute.
| * Test for bug #2298: automodule fails to document a class attributeAnselm Kruis2016-02-053-0/+14
| | | | | | | | | | | | | | | | | | This test case demonstrates a bug, where automodule:: with option :members: fails to document a class attribute of a class, that was imported into the documented module. This commit extends test_ext_viewcode, instead of creating a separate test module, because the development guide recommends it for performance reasons.
* | Add more decorator testsRay Lehtiniemi2017-03-112-0/+10
|/ | | | Signed-off-by: Ray Lehtiniemi <rayl@mail.com>
* fix testing for text builder that generate ↵shimizukawa2016-01-091-0/+1
| | | | _build/text/_build/text/_build/... recursive directories because *.txt in _build/text previously generated was detected as source file.
* fix trailing space and long lineTakayuki Shimizukawa2014-10-091-1/+1
|
* Fixup windows newlines.Georg Brandl2014-09-213-37/+37
|
* Split viewcode and linkcode tests out of main test root.Georg Brandl2014-09-213-37/+227
|
* fix fc1901d for py3, again. and add 2 assertionsTakayuki Shimizukawa2014-08-221-2/+4
|
* :mod:`~sphinx.ext.viewcode` support imported function/class aliases. Closes #623Takayuki Shimizukawa2014-08-225-0/+72