Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-03-24Use license_files to fix setuptools deprecation warningHugo van Kemenade
2022-02-20Remove redundant `sphinx/utils/checks.py`Adam Turner
2020-12-31Merge branch '3.x'Takeshi KOMIYA
2020-12-29refactor: Reduce warnings on testingTakeshi KOMIYA
2020-11-20Merge branch '3.x'Takeshi KOMIYA
2020-11-16test: Apply flake8 to tests/ directoryTakeshi KOMIYA
2020-11-11Merge branch '3.x'Takeshi KOMIYA
2020-11-11Sort imports with isortFranç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-10-27Merge branch '3.x' into masterTakeshi KOMIYA
2020-10-25move registration of public markers to sphinx.testing.fixturesoleg.hoefling
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
2020-05-03refactor: Clean up filterwarningsTakeshi KOMIYA
Since 4.0, Sphinx does not use lib2to3. Therefore a filterwarnings entry for lib2to3 is no longer needed.
2020-05-03Merge branch '3.x'Takeshi KOMIYA
2020-05-03refactor: Catch ImportError for lib2to3 to support future pythonTakeshi KOMIYA
2020-05-03refactor: Suppress DeprecationWarning for pyximportTakeshi KOMIYA
2020-03-21Merge branch '3.x'Takeshi KOMIYA
2020-03-12pytest: configure testpathsDaniel Hahler
This avoids having unrelated files being collected.
2020-03-07Run mypy under py36 modeTakeshi KOMIYA
2020-03-05Merge branch '2.x' into 3.xTakeshi KOMIYA
2020-03-05Unpin coverage packageTakeshi KOMIYA
coverage-5.0 expects to set "parallel = True" on config file. refs: https://github.com/nedbat/coveragepy/issues/716#issuecomment-429491441
2020-01-01Merge branch '2.0'Takeshi KOMIYA
2019-12-30mypy: Enable disallow_incomplete_defs flag for type checkingTakeshi KOMIYA
2019-08-16Specify the target Python version in the mypy configurationJon Dufresne
Currently targets Python 3.5. This caught a bug. The subprocess.run() function only started taking the 'encoding' keyword argument starting with Python 3.6.
2019-06-13Remove "universal" configuration from setup.cfgJon Dufresne
Sphinx is Python-3-only and therefore is not a universal wheel. It should still distribute a 'py3' wheel, just not a universal one. From https://wheel.readthedocs.io/en/stable/user_guide.html > If your project contains no C extensions and is expected to work on > both Python 2 and 3, you will want to tell wheel to produce universal > wheels by adding this to your setup.cfg file: … As Sphinx doesn't work on Python 2, it should not be universal. Refs #6470
2019-05-12test: declare pytest markersTakeshi KOMIYA
To stop PytestUnknownMarkWarning, this declares markers on setup.cfg https://docs.pytest.org/en/latest/mark.html
2019-01-06Remove redundant mypy config 'incremental'Jon Dufresne
The mypy config 'incremental` has defaulted as true since version 0.590. Can drop the local override. For details, see: https://github.com/python/mypy/commit/6b13652a466ccb102987a2ab1fa93d4b52fd8e3f
2018-12-14Move to py3 mode for mypy (and remove many "type: ignore" comments)Takeshi KOMIYA
2018-10-29test: Give filterwarnings=all by ini fileTakeshi KOMIYA
Since pytest-3.9, precedence order of warning options had been changed. This moves ``-W all`` option into setup.cfg. In detail, see https://github.com/pytest-dev/pytest/issues/3946
2018-07-16Merge branch '1.7'Takeshi KOMIYA
2018-07-16Fix flake8 violationsTakeshi KOMIYA
2018-06-20doc: Add "extensions" to usage guideStephen Finucane
Signed-off-by: Stephen Finucane <stephen@that.guru>
2018-05-03mypy: add --no-strict-optionalTakeshi KOMIYA
Since mypy-0.600, validations for Optional becomes very strict. It interfere our development. So this disables it temporarily.
2018-03-01Remove sphinx.pycode.pgen2 from flake8 excludeDmitry Shachnev
2018-01-29Merge pull request #4505 from tk0miya/use_flake8-import-orderTakeshi KOMIYA
Use flake8-import-order
2018-01-28Merge branch '1.7-release' into use_flake8-import-orderTakeshi KOMIYA
2018-01-28Give local-plugins.paths option to flake8Takeshi KOMIYA
It will be available on flake8-3.5.0+. (see https://gitlab.com/pycqa/flake8/issues/379)
2018-01-27Use flake8-import-orderTakeshi KOMIYA
2018-01-26setup: Configure flake8 extension as a local pluginStephen Finucane
We don't want to install this as a system plugin. Now that flake8 3.5.0 is in the wild, we can use this. Signed-off-by: Stephen Finucane <stephen@that.guru> Fixes: #4492
2018-01-06test: Reduce DeprecationWarning on testing (from docutils)Takeshi KOMIYA
2017-12-25travis: Enable codecov coverageStephen Finucane
This necessitates adding some basic coverage-py configuration [1] and making sure the pytest-cov plugin uses said configuration [2]. Badges are included. Note that we do not run the 'coverage' tox target, which is reserved for users. [1] https://github.com/codecov/example-python [2] https://bitbucket.org/ned/coveragepy/issues/512/ Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-12-19setup.cfg: Restructure fileStephen Finucane
Place configuration of the package itself first in the file, followed by configuration of other tools. Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-10-23Merge branch 'stable'Takeshi KOMIYA
2017-10-23Fix flake8 and style-check violationsTakeshi KOMIYA
2017-10-16Merge pull request #4155 from jdufresne/wheel-licenseTakeshi KOMIYA
Include license file in the generated wheel package
2017-10-16Include license file in the generated wheel packageJon Dufresne
The wheel package format supports including the license file. This is done using the [metadata] section in the setup.cfg file. For additional information on this feature, see: https://wheel.readthedocs.io/en/stable/index.html#including-the-license-in-the-generated-wheel-file
2017-10-16Rename [wheel] section to [bdist_wheel] as the former is legacyJon Dufresne
For additional details, see: https://bitbucket.org/pypa/wheel/src/54ddbcc9cec25e1f4d111a142b8bfaa163130a61/wheel/bdist_wheel.py?fileviewer=file-view-default#bdist_wheel.py-119:125 http://pythonwheels.com/
2017-10-05utils: Move "header check" to a flake8 pluginStephen Finucane
If we want to check style, we run 'tox -e flake8': it shouldn't be necessary to run some obscure 'make' command too. Make this possible by moving the sole useful test from the target of this make command to a flake8 plugin. This includes a fix for a header that was previously excluded from checks, but is now included. Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-10-05mypy: Make output a little friendlierStephen Finucane
Two default-disabled options are enabled: - show_column_numbers - Shows context notes before errors - show_error_context - Shows column numbers in error messages This should make the output of mypy a little easier to parse. Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-10-05mypy: Move configuration to 'setup.cfg'Stephen Finucane
Less top-level files = winning [1]. [1] https://mypy.readthedocs.io/en/stable/config_file.html Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-09-26setup.cfg: Ignore .venvStephen Finucane
We started ignoring this file from Git in commit 75154196b. Now do the same for flake8. Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-06-25Fix #3833: command line messages are translated unintentionallyTakeshi KOMIYA