Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Migrate to py3 style type annotation: sphinx.util.logging | Takeshi KOMIYA | 2019-06-03 | 1 | -76/+40 | |
| | ||||||
* | Clean up import for annotations | Takeshi KOMIYA | 2019-03-06 | 1 | -1/+0 | |
| | ||||||
* | Merge branch '1.8' | Takeshi KOMIYA | 2019-01-18 | 1 | -1/+1 | |
|\ | ||||||
| * | Fix mypy violations | Takeshi KOMIYA | 2019-01-17 | 1 | -1/+1 | |
| | | ||||||
* | | Merge branch '1.8' | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | A happy new year! | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #5509 from stephenfin/remove-future-imports | Takeshi KOMIYA | 2018-12-17 | 1 | -1/+0 | |
|\ \ | | | | | | | Remove future imports | |||||
| * | | py3: Remove (most) __future__ imports | Stephen Finucane | 2018-12-17 | 1 | -1/+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> | |||||
* | | | Remove unnecessary encoding cookie from Python source files | Jon Dufresne | 2018-12-16 | 1 | -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. | |||||
* | | Use Python 3 super() argument-less syntax | Jon Dufresne | 2018-12-15 | 1 | -10/+10 | |
| | | | | | | | | | | | | The form is less verbose and more idiomatic for Python 3 only code. https://docs.python.org/3/library/functions.html#super | |||||
* | | Replace all "unicode" type by "str" | Takeshi KOMIYA | 2018-12-15 | 1 | -15/+14 | |
| | | ||||||
* | | Move to py3 mode for mypy (and remove many "type: ignore" comments) | Takeshi KOMIYA | 2018-12-15 | 1 | -2/+2 | |
| | | ||||||
* | | Add sphinx.util.typing:unicode to help mypy-3 migration | Takeshi KOMIYA | 2018-11-24 | 1 | -0/+1 | |
| | | ||||||
* | | logging: Add prefixed_warnings() helper | Takeshi KOMIYA | 2018-10-17 | 1 | -0/+62 | |
| | | ||||||
* | | Merge branch '1.8' | Takeshi KOMIYA | 2018-10-16 | 1 | -2/+3 | |
|\ \ | |/ | ||||||
| * | Fix mypy violations | Takeshi KOMIYA | 2018-10-16 | 1 | -2/+3 | |
| | | ||||||
* | | Merge branch 'master' into HEAD | Takeshi KOMIYA | 2018-09-22 | 1 | -30/+2 | |
|\ \ | ||||||
| * | | refactoring: Drop PY2 and PY3 flags | Takeshi KOMIYA | 2018-09-22 | 1 | -30/+2 | |
| |/ | ||||||
* | | Remove unnecessary object from class definitions | Jon Dufresne | 2018-09-11 | 1 | -3/+3 | |
|/ | | | | | In Python 3, all classes are new-style classes. The object in the definition is redundant and unnecessary. | |||||
* | Close #4976: ``SphinxLoggerAdapter.info()`` now supports ``location`` parameter | Takeshi KOMIYA | 2018-06-26 | 1 | -10/+34 | |
| | ||||||
* | Merge branch 1.7 | shimizukawa | 2018-05-25 | 1 | -1/+1 | |
|\ | ||||||
| * | Fix #5007: sphinx-build crashes when error log contains a "%" character | Takeshi KOMIYA | 2018-05-24 | 1 | -1/+1 | |
| | | ||||||
* | | move ``get_full_module_name`` and ``repr_domxml`` functions from logging to ↵ | shimizukawa | 2018-05-04 | 1 | -32/+2 | |
| | | | | | | | | nodes. by review on https://github.com/sphinx-doc/sphinx/pull/4918#discussion_r185838236. | |||||
* | | add debug log for patching/extracting i18n nodes (#4918) | Takayuki SHIMIZUKAWA | 2018-05-02 | 1 | -2/+32 | |
| | | | | | | | | After fixing #4919, sphinx/util/logging.py:L120 must be commented-in and next L121 line will be removed. | |||||
* | | Fix typos in a docstring (refs: #4901) | jfbu | 2018-04-25 | 1 | -3/+3 | |
| | | ||||||
* | | Merge branch '1.7' | Takeshi KOMIYA | 2018-03-18 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
| * | Revert "Use typing.TYPE_CHECKING for typehints" | Takeshi KOMIYA | 2018-03-13 | 1 | -2/+2 | |
| | | | | | | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4. | |||||
* | | Merge branch '1.7' | Takeshi KOMIYA | 2018-02-18 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
| * | Use typing.TYPE_CHECKING for typehints | Takeshi KOMIYA | 2018-02-14 | 1 | -2/+2 | |
| | | ||||||
* | | Merge branch '1.7-release' | Takeshi KOMIYA | 2018-01-31 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
| * | Use flake8-import-order | Takeshi KOMIYA | 2018-01-28 | 1 | -2/+2 | |
| | | ||||||
* | | doc: Move sphinx.logging API docs to code | Stephen Finucane | 2018-01-20 | 1 | -5/+24 | |
|/ | | | | Signed-off-by: Stephen Finucane <stephen@that.guru> | |||||
* | Fix #4081: Warnings and errors colored the same when building | Takeshi KOMIYA | 2018-01-08 | 1 | -1/+1 | |
| | ||||||
* | A happy new year! | Takeshi KOMIYA | 2018-01-01 | 1 | -1/+1 | |
| | ||||||
* | Fix mypy violations | Takeshi KOMIYA | 2017-12-16 | 1 | -2/+2 | |
| | ||||||
* | Fix mypy violation | Takeshi KOMIYA | 2017-12-12 | 1 | -1/+1 | |
| | ||||||
* | Fix #4279: Sphinx crashes with pickling error when run with multiple ↵ | Takeshi KOMIYA | 2017-12-10 | 1 | -9/+18 | |
| | | | | processes and remote image | |||||
* | Fix #3919: become silent if logging settings are cleared | Takeshi KOMIYA | 2017-10-23 | 1 | -7/+19 | |
| | ||||||
* | Fix mypy violations | Takeshi KOMIYA | 2017-10-07 | 1 | -3/+3 | |
| | ||||||
* | Fix #4070, #4111: crashes when the warning message contains format strings ↵ | Takeshi KOMIYA | 2017-10-05 | 1 | -3/+7 | |
| | | | | (again) | |||||
* | Fix #4070: crashes when the warning message contains format strings | Takeshi KOMIYA | 2017-09-24 | 1 | -2/+3 | |
| | ||||||
* | Fix #3926: Add ``autodoc_warningiserror`` to suppress the behavior of ``-W`` ↵ | Takeshi KOMIYA | 2017-07-15 | 1 | -1/+34 | |
| | | | | option | |||||
* | Fix #3858: Some warnings are not colored when using --color option | Takeshi KOMIYA | 2017-06-10 | 1 | -0/+1 | |
| | ||||||
* | Fix #3758: Sphinx crashed if logs are emitted in conf.py | Takeshi KOMIYA | 2017-05-18 | 1 | -1/+7 | |
| | ||||||
* | Show the location if warniserror enabled | Takeshi KOMIYA | 2017-04-20 | 1 | -2/+6 | |
| | ||||||
* | Fix mypy violations | Takeshi KOMIYA | 2017-03-26 | 1 | -2/+2 | |
| | ||||||
* | Fix app.messagelog does not filled after moving to logging module | Takeshi KOMIYA | 2017-03-26 | 1 | -0/+18 | |
| | ||||||
* | Merge branch 'stable' | Takeshi KOMIYA | 2017-03-26 | 1 | -1/+1 | |
|\ | ||||||
| * | Year++ | Takeshi KOMIYA | 2017-03-26 | 1 | -1/+1 | |
| | | ||||||
* | | Upgrade to mypy-0.5 | Takeshi KOMIYA | 2017-03-03 | 1 | -1/+1 | |
| | |