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:
6b13652a46
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:
a207754a7e
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
Takeshi KOMIYA
af4647c492
Merge branch '1.7'
2018-04-14 15:43:38 +09:00
Takeshi KOMIYA
eef9d13999
Update package classifiers
2018-04-02 21:09:16 +09:00
Takeshi KOMIYA
4cebc4399c
Merge commit '6694981dd6939ab876b27d4e20a8128561c307ac'
2018-03-15 02:02:21 +09:00
Jon Dufresne
78c1fde692
Pass python_requires argument to setuptools
...
Helps pip decide what version of the library to install.
https://packaging.python.org/tutorials/distributing-packages/#python-requires
> If your project only runs on certain Python versions, setting the
> python_requires argument to the appropriate PEP 440 version specifier
> string will prevent pip from installing the project on other Python
> versions.
https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords
> python_requires
>
> A string corresponding to a version specifier (as defined in PEP 440)
> for the Python version, used to specify the Requires-Python defined in
> PEP 345.
2018-03-13 08:44:22 -07:00
Takeshi KOMIYA
e2f481c956
Merge branch '1.7'
2018-03-03 20:03:45 +09:00
Dmitry Shachnev
28ad1c5847
Remove CompileGrammarCommand, it uses removed sphinx.pycode.pgen2 module
2018-03-01 18:33:42 +03:00
Takeshi KOMIYA
18bb86a27f
Catch errors on compiling catalogs (refs: #4655 )
2018-03-01 16:48:06 +09:00
Takeshi KOMIYA
4344fa149c
Merge pull request #4505 from tk0miya/use_flake8-import-order
...
Use flake8-import-order
2018-01-29 22:13:48 +09:00
Takeshi KOMIYA
6926a3ed91
Merge branch '1.7-release' into use_flake8-import-order
2018-01-28 19:03:31 +09:00
Takeshi KOMIYA
d60ef2d6b2
Fix utils package is installed
2018-01-28 15:11:59 +09:00
Takeshi KOMIYA
9f5c676322
Use flake8-import-order
2018-01-28 01:52:16 +09:00
Stephen Finucane
f3074d1747
setup: Configure flake8 extension as a local plugin
...
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-26 09:41:50 +00:00
Takeshi KOMIYA
7ba54500fc
Fix #4183 : doctest: `:pyversion:
` option also follows PEP-440 specification
2018-01-08 11:59:50 +09:00
Stephen Finucane
393f59da00
Improve README
...
We're going to be adding additional badges to this but, before we do
that, we should improve the README and remove a lot of the duplication
that has built up here.
The 'long_description' from 'setup.py' is moved into the README as there
is serious value in displaying this on GitHub, as much as there is value
in including the badges and other content from README.
Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-12-19 15:00:06 +00:00
Stephen Finucane
a102e8e29b
setup.py: Include 'flake8' in 'test' requirements
...
We are using this in our testing and actually need it for the flake8
plugin, so include this in the list of 'test' requirements.
Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-12-18 19:44:05 +00:00