Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-02-20 | Collapse single line docstrings | Adam Turner | |
2022-02-20 | Remove copyright and licence fields | Adam Turner | |
2022-02-20 | Fix module docstring indentation | Adam Turner | |
2022-02-20 | Fix module docstring first line | Adam Turner | |
2022-02-20 | Remove module titles in docstrings | Adam Turner | |
2022-01-10 | simplify some set comparisons (SIM109) | Daniel Eades | |
2022-01-01 | A happy new year! | Takeshi KOMIYA | |
2021-12-16 | Fix #9979: Error level messages were displayed as warning messages | Takeshi KOMIYA | |
2021-12-16 | Fix mypy violations (with mypy-0.920) | Takeshi KOMIYA | |
2021-10-31 | Fix a flake8 warning | Takeshi KOMIYA | |
2021-10-31 | Merge pull request #9656 from sdhiscocks/suppress_warning_subtype_none | Takeshi KOMIYA | |
Fix issue with warnings without subtype being incorrectly suppressed | |||
2021-10-25 | Closes #9733: Fix for logging handler flushing warnings in the middle of the ↵ | gibsondan | |
build Summary: My project was mysteriously dropping warnings (see https://github.com/sphinx-doc/sphinx/issues/9733 for detailed repro) and I realized that it's becaues it imports libraries like airflow or mlflow that set up loggers automatically when they are imported. This causes this handler to flush even though shouldFlush is set to always return False. A simple workaround is to override flush to be a no-op. Test Plan: Repeat repro steps from #9733 - project now always includes warnings | |||
2021-09-20 | Fix issue with warnings without subtype being incorrectly suppressed | Steven Hiscocks | |
This fixes an issue with warnings that have been raised with no subtype being suppressed if a suppress warnings value with a subtype has been set. e.g. all `autodoc` warnings should not be suppressed if `autodoc.import_object` is only set to be suppressed. | |||
2021-07-19 | Improve sphinx.util.logging docstrings | Louis Maddox | |
2021-06-13 | Merge branch '4.0.x' into 4.x | Takeshi KOMIYA | |
2021-06-13 | Fix mypy violations (delete type: ignore ) (with mypy-0.900) | Junya Fukuda | |
2021-05-03 | refactor: Add Optional to type annotations | Takeshi KOMIYA | |
2021-03-09 | refactor: Use PEP-526 based variable annotation (sphinx.util) | Takeshi KOMIYA | |
2021-02-09 | Update type annotations | Takeshi KOMIYA | |
2021-01-01 | Merge branch '3.x' | Takeshi KOMIYA | |
2021-01-01 | A happy new year! | Takeshi KOMIYA | |
.. 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 | |||
2020-11-11 | Merge branch '3.x' | Takeshi KOMIYA | |
2020-11-11 | Sort imports with isort | François Freitag | |
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. | |||
2020-05-03 | Merge branch '3.x' | Takeshi KOMIYA | |
2020-05-03 | Preserve exception info in raised SphinxWarning objects | Eric Wieser | |
2020-04-13 | Merge branch '3.x' | Takeshi KOMIYA | |
2020-04-08 | Fix #7423: crashed when giving a non-string object to logger | Takeshi KOMIYA | |
2020-03-22 | Merge branch '3.x' | Takeshi KOMIYA | |
2020-03-21 | Add "once" option to logger.warning() | Takeshi KOMIYA | |
2020-03-21 | refactor SphinxLoggerAdapter | Takeshi KOMIYA | |
2020-03-21 | Merge branch '3.x' | Takeshi KOMIYA | |
2020-03-17 | Add suppress_logging() | Takeshi KOMIYA | |
As a helper for C/C++ domain, this adds suppress_logging(). It works as a context manager and suppresses all loggings during the context temporarily. | |||
2020-03-07 | Hello TYPE_CHECKING! | Takeshi KOMIYA | |
2020-03-07 | Deprecate codes for python 3.5 | Takeshi KOMIYA | |
2020-01-01 | A happy new year! | Takeshi KOMIYA | |
2019-12-30 | mypy: Enable disallow_incomplete_defs flag for type checking | Takeshi KOMIYA | |
2019-07-13 | Fix type annotation for python 3.5.1 | Takeshi KOMIYA | |
2019-06-03 | Migrate to py3 style type annotation: sphinx.util.logging | Takeshi KOMIYA | |
2019-03-06 | Clean up import for annotations | Takeshi KOMIYA | |
2019-01-17 | Merge branch '1.8' | Takeshi KOMIYA | |
2019-01-17 | Fix mypy violations | Takeshi KOMIYA | |
2019-01-02 | Merge branch '1.8' | Takeshi KOMIYA | |
2019-01-02 | A happy new year! | Takeshi KOMIYA | |
2018-12-17 | Merge pull request #5509 from stephenfin/remove-future-imports | Takeshi KOMIYA | |
Remove future imports | |||
2018-12-17 | py3: Remove (most) __future__ imports | Stephen Finucane | |
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> | |||
2018-12-16 | Remove unnecessary encoding cookie from Python source files | Jon Dufresne | |
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. | |||
2018-12-15 | Use Python 3 super() argument-less syntax | Jon Dufresne | |
The form is less verbose and more idiomatic for Python 3 only code. https://docs.python.org/3/library/functions.html#super | |||
2018-12-15 | Replace all "unicode" type by "str" | Takeshi KOMIYA | |
2018-12-14 | Move to py3 mode for mypy (and remove many "type: ignore" comments) | Takeshi KOMIYA | |
2018-11-24 | Add sphinx.util.typing:unicode to help mypy-3 migration | Takeshi KOMIYA | |