Adam Turner
55669f6cfc
Specify encoding
2022-04-22 04:21:12 +01:00
Adam Turner
0db2817328
Add command runners
2022-04-16 21:12:18 +01:00
Adam Turner
1e443bdcb4
Move compile_catalog_plusjs
to utils/
2022-04-16 20:01:03 +01:00
Adam Turner
61d7b0b47c
Replace jssplitter
with JavaScript
2022-03-19 23:16:27 +00:00
Takeshi KOMIYA
2beeaf746f
Merge branch 'master' into fix-searchtools
2022-03-20 01:49:48 +09:00
Adam Turner
ac9c2b5571
Update splitQuery
2022-03-08 01:46:38 +00:00
Adam Turner
51c6642ec2
Remove redundant sphinx/utils/checks.py
2022-02-20 03:31:33 +00:00
Adam Turner
5775912455
Collapse single line docstrings
2022-02-20 03:13:45 +00:00
Adam Turner
6bb7b891a1
Remove copyright and licence fields
2022-02-20 03:06:23 +00:00
Adam Turner
5694e0ce60
Fix module docstring indentation
2022-02-20 00:35:13 +00:00
Adam Turner
4f5a3269a6
Fix module docstring first line
2022-02-20 00:11:08 +00:00
Adam Turner
6b8bccec59
Remove module titles in docstrings
2022-02-19 23:17:29 +00:00
Daniel Eades
6697ed62ed
address some unused loop control variables (B007)
2022-01-12 20:19:18 +00:00
Eisuke Kawashima
652ebf1bf5
Fix typo
2021-07-08 08:16:22 +09:00
Takeshi KOMIYA
56aea3b714
doclinter: Allow anonymous hyperlink target having long URL
2021-07-06 00:52:11 +09:00
Takeshi KOMIYA
e0500f7354
doc: Fix docslint misunderstanding scope of code-blocks
2021-06-06 13:24:06 +09:00
Takeshi KOMIYA
08c65d4de2
i18n: Pull translations via GitHub Actions automatically
2021-05-09 18:20:41 +09:00
Takeshi KOMIYA
effedafabe
i18n: Push translations via GitHub Actions automatically
2021-05-09 17:15:36 +09:00
Takeshi KOMIYA
a8f7e4f563
doc: Update branch name in release-checklist
2021-01-08 01:25:24 +09:00
Takeshi KOMIYA
b3f8bd1e3c
doc: Quote URLs in release checklist
...
To improve the install process, the commands on the checklist is updated
to allow to copy & paste it to console.
2021-01-04 21:12:27 +09:00
Takeshi KOMIYA
68cc0f7e94
Merge pull request #8408 from francoisfreitag/isort
...
Sort imports with isort
2020-11-12 02:05:13 +09: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
658f737970
Check GitHub Actions before packaging
2020-11-05 02:17:54 +09:00
Takeshi KOMIYA
6cf1301c9e
Remove pylint task
...
At present, pylint has no longer been used in this project. This
removes the tasks and files for pylint from repository.
2020-08-10 13:20:06 +09:00
Takeshi KOMIYA
0c4edbdb38
doclinter: Allow a very long literal string
2020-07-24 23:09:56 +09:00
Tetsuo Koyama
ae7c4cc3b8
fix typo
2020-07-19 00:43:11 +00:00
Takeshi KOMIYA
7167b689b9
Do "twine check" on CI process
2020-06-14 16:06:25 +09:00
Takeshi KOMIYA
c84f7bfd57
Merge branch '2.x' into 3.x
2020-03-01 02:13:36 +09:00
Takeshi KOMIYA
2a3dec8866
Add a procedure to update docker image
2020-02-24 12:21:38 +09:00
Takeshi KOMIYA
ffd980a1b7
Merge branch 'clean_dists_on_make_clean' into 2.4.x
2020-02-23 18:59:00 +09:00
Takeshi KOMIYA
2bac500eaa
Merge branch 'update_release_checklist' into 2.4.x
2020-02-23 18:58:27 +09:00
Takeshi KOMIYA
27dc911650
Merge pull request #7204 from tk0miya/clean_dists_on_make_clean
...
Makefile: clean dists directory on "make clean"
2020-02-23 16:51:35 +09:00
Takeshi KOMIYA
4f0e83306e
Merge pull request #7203 from tk0miya/update_release_checklist
...
release-checklist: An update of doc-translations is no longer needed
2020-02-23 16:51:27 +09:00
Takeshi KOMIYA
5572eb7b9e
Makefile: clean dists directory on "make clean"
2020-02-23 16:36:38 +09:00
Takeshi KOMIYA
2ecf5f4651
release-checklist: An update of doc-translations is no longer needed
2020-02-23 16:33:31 +09:00
Takeshi KOMIYA
d98b2f05a3
utils/bump_version: Remove empty sections from CHANGES automatically
2020-02-23 15:57:51 +09:00
Jon Dufresne
de21c2bf10
Correct str/bytes mixup in utils/jssplitter_generator.py
...
The file is opened in text mode, so it .wraite() takes str not bytes.
2019-08-17 09:42:16 -07:00
Takeshi KOMIYA
d6063ff35b
doc: Fold lines by 80 columns
2019-05-30 01:07:05 +09:00
Takeshi KOMIYA
9b2423c5bb
doclinter: restrict by 90 columns
2019-05-26 10:53:53 +09:00
Takeshi KOMIYA
439f329466
doclinter: Fix files are ignored.
2019-05-26 10:53:52 +09:00
Takeshi KOMIYA
c4b20a82ea
doclinter: Ignore large code-block and long interpreted text
2019-05-26 10:53:52 +09:00
Takeshi KOMIYA
5d2c8e6eb7
Add utils/doclinter.py; a documenter linter for Sphinx
2019-05-12 17:57:25 +09:00
Jon Dufresne
22afc77c48
Python-3-only clean ups discovered by pyupgrade
...
https://github.com/asottile/pyupgrade
> A tool to automatically upgrade syntax for newer versions of the
> language.
- Drop u str prefix
- Drop base object inheritance
- Drop args to super()
- Use set literals
- Use dict comprehension
- Use set comprehension
2019-03-19 01:09:48 +09:00
Takeshi KOMIYA
6d02bdda13
Do "twine check" before uploading package
2019-03-10 18:58:02 +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
Takeshi KOMIYA
8ea3f7fad9
Merge pull request #5509 from stephenfin/remove-future-imports
...
Remove future imports
2018-12-17 20:32:39 +09:00
Stephen Finucane
5a9033e5aa
Specifically request Python 3
...
If Sphinx is Python 3-only, Sphinx's tooling should be Python 3-only
too.
Signed-off-by: Stephen Finucane <stephen@that.guru>
2018-12-17 09:46:18 +00:00
Stephen Finucane
d345d0f8c1
py3: Remove (most) __future__ imports
...
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-17 09:46:15 +00: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