Takeshi KOMIYA
f996859420
A happy new year!
...
.. 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
2021-01-01 13:40:48 +09:00
Takeshi KOMIYA
4dd8b1022f
test: Use read_text() and read_bytes()
2020-02-01 11:58:51 +09:00
Takeshi KOMIYA
eaf495c3c4
A happy new year!
2020-01-01 14:27:43 +09:00
Takeshi KOMIYA
c83f2a0272
Fix #6140 : Use unittest.mock instead of mock
2019-03-08 00:27:45 +09:00
Takeshi KOMIYA
76e9f57c2e
Merge branch '1.8'
2019-01-02 16:16:25 +09:00
Takeshi KOMIYA
1b1ebd2c75
A happy new year!
2019-01-02 16:00:30 +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
Jon Dufresne
ade973f4e3
Use Python 3 super() argument-less syntax
...
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 08:35:55 -08:00
Jon Dufresne
710ca3d7c3
Use super() to call parent class's method
2018-11-11 13:07:12 -08:00
Takeshi KOMIYA
f7027049b1
Fix flake8 violations
2018-02-19 23:20:56 +09:00
Takeshi KOMIYA
2426cedb8b
A happy new year!
2018-01-01 01:06:58 +09:00
Takeshi KOMIYA
c57e47e042
Year++
2017-03-26 11:49:34 +09:00
shimizukawa
d0a33dd785
pytest: remove deprecated with_tempdir decorator
2017-01-06 00:26:01 +09:00
shimizukawa
5b7d237db3
pytest migration
2017-01-04 00:59:30 +09:00
shimizukawa
487f3db5f6
To simplify, sphinx uses external mock package even if unittest.mock exists.
2016-10-15 16:22:27 +09:00
Takeshi KOMIYA
db23797c57
copy_asset_file() does not expand if context not given
2016-07-06 23:58:46 +09:00
Takeshi KOMIYA
07ddff9933
Add sphinx.util.fileutil.copy_asset()
2016-07-06 23:58:46 +09:00
Takeshi KOMIYA
17cd06f237
Add sphinx.util.fileutil.copy_asset_file()
2016-07-06 23:58:46 +09:00