Commit Graph
201 Commits
Author SHA1 Message Date
Takeshi KOMIYA 1679a0916d Fix mypy violations (with mypy-0.800) 2021-01-22 21:26:58 +09:00
Miro Hrončok ba63f2811d Don't require typed_ast in [test] with Python 3.8+ 2020-11-23 22:08:43 +01:00
François Freitag 0949735210 Sort imports with isort
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-11-11 13:19:05 +01:00
Takeshi KOMIYA f12451f304 test: Do test with py39 2020-11-05 02:19:48 +09:00
Takeshi KOMIYA ccc77b8305 Fix mypy violations (with mypy-0.790) 2020-10-24 14:14:11 +09:00
Charles 68abe09afe Closes #7887: Updated the sphinx.js locale json dump to indent for readability. Changed files to open with utf8 encoding 2020-07-04 15:34:36 -04:00
Takeshi KOMIYA 6a55947e9f Merge branch '3.0.x' into 3.x 2020-06-03 23:46:13 +09:00
Takeshi KOMIYA b8fbd3d9c6 Fix mypy violations (with mypy-0.780) 2020-06-03 23:31:43 +09:00
Takeshi KOMIYA 03bb9ff84a Add py38 to the list of PyPI classifiers 2020-05-29 02:36:02 +09:00
Takeshi KOMIYA 5c396b6325 Fix #7331: autodoc: a cython-function is not recognized as a function 2020-03-22 23:13:49 +09:00
Takeshi KOMIYA f85b870ad5 Merge branch '2.x' into 3.x 2020-03-12 01:37:08 +09:00
Takeshi KOMIYA 99476f37e7 Fix mypy violations (with mypy-0.770) 2020-03-12 01:25:18 +09:00
Daniel Hahler f50144a40b Unpin pytest
Was done in https://github.com/sphinx-doc/sphinx/pull/7037 to work
around a bug in 5.3.3.
2020-03-09 12:56:09 +01:00
Takeshi KOMIYA 853e71b77d Close #6623: babel-2.0 or above is available (Unpinned)
refs:
* 6bce0a1c10
* https://github.com/mitsuhiko/babel/issues/174
2020-02-08 01:58:46 +09:00
Takeshi KOMIYA 00a4c13d0b Add new extras_require: lint 2020-01-23 01:42:33 +09:00
Takeshi KOMIYA 9a6709f0f9 Test with pytest-5.3.2
It seems our CI build has been broken since pytest-5.3.3.  This
pins it to 5.3.2 to fix it temporarily.
2020-01-19 22:33:31 +09:00
Takeshi KOMIYA 56940b0d76 Fix mypy violations (for mypy-0.761) 2019-12-21 11:52:59 +09:00
Takeshi KOMIYA c30d7b2ddd Fix mypy violations (for mypy-0.750) 2019-11-30 22:07:53 +09:00
Andriy Orehov ff2f4a0e54 add urls to Code and Issue tracker for PyPi 2019-11-14 17:34:03 +02:00
Lewis Russell ed5832439d Add py.typed to make PEP-561 compatible 2019-10-31 14:57:30 +00:00
Takeshi KOMIYA 0b719faabb Fix mypy violations (for mypy-0.740) 2019-10-20 13:33:44 +09:00
Takeshi KOMIYA af09cd0e35 Fix mypy violations (for mypy-0.730) 2019-10-06 18:21:27 +09:00
Takeshi KOMIYA fd74594f53 Fix mypy violations (for mypy-0.720) 2019-07-13 10:55:13 +09:00
Takeshi KOMIYA e7b1803a96 Fix mypy violations (for mypy-0.711) 2019-06-29 01:41:16 +09:00
Takeshi KOMIYA 224d247ca0 Fix mypy violations (for mypy-0.710) 2019-06-21 11:07:27 +09:00
Takeshi KOMIYA 00a5aa7301 Add extra requirements for docs (refs: #6336) 2019-05-04 12:42:17 +09:00
Takeshi KOMIYA ab95fa5ded Add long_description_content_type to package metadata 2019-03-10 18:57:50 +09:00
Takeshi KOMIYA 65970a3033 Fix #6140: Use unittest.mock instead of mock 2019-03-09 15:16:04 +09:00
Takeshi KOMIYA 1ca210aab1 Separate json and pickle to sphinxcontrib package 2019-02-17 22:31:50 +09:00
Takeshi KOMIYA 3b49f9fe3d Separate htmlhelp to sphinxcontrib package 2019-02-15 01:44:32 +09:00
Takeshi KOMIYA c4397318d3 Separate applehelp to sphinxcontrib package 2019-02-06 00:44:37 +09:00
Takeshi KOMIYA 2bd69350a7 Separate devhelp to sphinxcontrib package 2019-01-20 03:03:50 +09:00
Takeshi KOMIYA 6be9d2a08e Separate qthelp to sphinxcontrib package 2019-01-19 16:34:06 +09:00
Takeshi KOMIYA 9c52b4ed6c Drop dependency: sphinxcontrib-websupport 2019-01-14 19:44:12 +09:00
Takeshi KOMIYA 20bf74c637 Separate jsmath to sphinxcontrib package 2019-01-13 14:07:12 +09:00
Jon Dufresne 5d497d0083 Remove redundant mypy config 'incremental'
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
2019-01-06 06:58:26 -08:00
Jon Dufresne 6978918ffc Replace use of six.text_type with str
This removes the last use of the six package allowing Sphinx to remove
it as a dependency.
2018-12-18 16:23:10 -08:00
Takeshi KOMIYA f596439a0f Merge pull request #5786 from tk0miya/requests-2.5
Update deps: requests-2.5.0 or above
2018-12-18 23:12:19 +09:00
Jon Dufresne bade33c7e4 Remove unnecessary encoding cookie from Python source files
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-16 12:22:12 -08:00
Takeshi KOMIYA 19a187cb54 Update deps: requests-2.5.0 or above 2018-12-16 21:28:02 +09:00
Takeshi KOMIYA 9dfc5e7efe Add docutils-stubs to test deps 2018-12-15 02:42:43 +09:00
Jon Dufresne 8bb73c9fd3 Simplify open() call by removing default mode
The open() function opens files in read-only text mode by default. Drop
the mode argument to be slightly simpler and more idiomatic.

https://docs.python.org/3/library/functions.html#open

> The default mode is 'r' (open for reading text, synonym of 'rt').
2018-12-11 06:50:20 -08:00
Jon Dufresne 3bc938ceba Drop explicit dependency: typed_ast
typed-ast has been a required dependency of mypy since v0.470. Can rely
on it being installed as a transient dependency and not list it
explicitly. For the change in mypy, see:

https://github.com/python/mypy/commit/a207754a7e426359812c7ae490ea13c979762b51
2018-11-16 05:23:56 -08:00
Jon Dufresne 1ae049b2ee Always prefer dict literals over calls to dict()
Dict literals are always slightly faster and are idiomatic modern
Python.
2018-11-13 18:44:16 -08:00
Jon Dufresne 490e4aed41 Remove unnecessary object from class definitions
In Python 3, all classes are new-style classes. The object in the
definition is redundant and unnecessary.
2018-09-11 07:07:01 -07:00
Takeshi KOMIYA aa3e590d5e Merge pull request #5370 from tk0miya/drop_deprecated_methods
Drop APIs deprecated in 2.0
2018-09-05 22:56:02 +09:00
Takeshi KOMIYA a7cab001d9 Drop APIs deprecated in 2.0 2018-09-03 00:31:33 +09:00
Takeshi KOMIYA 98a9b50c52 Drop docutils 0.11 support 2018-08-30 01:03:57 +09:00
Takeshi KOMIYA 9412bd76b7 Drop python 2.7 and 3.4 support 2018-08-30 01:03:57 +09:00
Jon Dufresne 365c93f227 Update all pypi.python.org URLs to pypi.org
For details on the new PyPI, see the blog post:

https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html
2018-04-18 19:51:48 -07:00