Stephen Finucane
f5c0d64658
utils: Move "header check" to a flake8 plugin
...
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-05 17:17:27 +01:00
Stephen Finucane
64b4d7c686
utils: Use better variable names in check_fileheader
...
We're going to be doing some surgery on this function, so first clean it
up before we do anything else.
Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-10-05 17:17:27 +01:00
Stephen Finucane
b90e58809f
utils: Remove the 'reindent' tool
...
Nobody seems to be using this, probably because of the 'flake8' target,
and it hasn't been touched, some Python/flake8 updates aside in years.
Just remove it.
The Make target is not removed to both give us time to warn users that
the target is gone and, more importantly, to prevent merge conflicts
with other patches being submitted at the same time.
Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-10-05 17:13:59 +01:00
Daniel Hahler
5359bb8ba5
Fix DeprecationWarning for r'…(?u)'
...
Fixes
> DeprecationWarning: Flags not at the start of the expression …
2017-08-18 11:53:37 +02:00
Takeshi KOMIYA
8683823536
pycode: Replace pgen2 by own parser
2017-07-26 20:51:58 +09:00
Takeshi KOMIYA
ca6a1edd2f
Merge branch 'stable'
2017-05-26 00:15:00 +09:00
Takeshi KOMIYA
068fd115d6
Add dependencies category to CHANGES template
2017-05-26 00:10:56 +09:00
Takeshi KOMIYA
e7ffa63463
Merge branch 'stable'
2017-05-16 23:53:46 +09:00
Takeshi KOMIYA
e322fa8480
Update message catalogs
2017-05-16 22:21:44 +09:00
Takeshi KOMIYA
7cca0b456e
Merge pull request #3668 from adamjstewart/fixes/apidoc-main-argv
...
Don't ignore first argument passed to sphinx.apidoc.main
2017-05-14 01:11:49 +09:00
Adam J. Stewart
326ddd10d7
Fix failing unit tests
2017-05-11 12:53:15 -05:00
Adam J. Stewart
392e6ecd6f
Update more files that hardcode sys.argv
2017-05-09 14:43:19 -05:00
Takeshi KOMIYA
4de4fd060a
bump_version.py: Fix generate non-beta version number on beta release
2017-04-30 00:40:33 +09:00
shimizukawa
ac5e76f598
extract messages
2017-04-29 01:02:00 +09:00
Takeshi KOMIYA
8f9dd64992
Merge branch 'stable'
2017-03-26 11:52:15 +09:00
Takeshi KOMIYA
c57e47e042
Year++
2017-03-26 11:49:34 +09:00
Takeshi KOMIYA
e1da72b59c
Reduce DeprecationWarnings for regexp
2017-02-17 02:01:04 +09:00
Takeshi KOMIYA
fd2b3ec529
Merge branch 'stable'
2017-01-22 17:36:03 +09:00
Takeshi KOMIYA
2c91a52418
Update release-checklist
2017-01-22 17:30:07 +09:00
jfbu
cf966d4a97
Merge branch 'stable'
2017-01-21 15:21:33 +01:00
Takeshi KOMIYA
a7b4379c41
Rename bump_version.py
2017-01-21 20:16:59 +09:00
Takeshi KOMIYA
3f17bebecb
Add bump_version.py
2017-01-21 19:45:35 +09:00
Takeshi KOMIYA
38d6c34f35
Merge branch 'stable'
2017-01-12 13:03:53 +09:00
Takeshi KOMIYA
76ecccf8af
Fix flake8 violations
2017-01-12 11:33:58 +09:00
jfbu
9afebd7b3b
Merge branch 'stable'
2016-12-14 17:48:23 +01:00
Takeshi KOMIYA
3f9d48edc0
Update release-checklist
2016-12-14 00:54:25 +09:00
Takeshi KOMIYA
07d30ec01d
Update release-checklist
2016-12-14 00:30:34 +09:00
shimizukawa
0a7d039df5
Merge branch '1.5-release' into master
2016-12-05 23:14:25 +09:00
shimizukawa
37a41be2a2
small fix in setup.py and release-checklist.
2016-12-04 22:03:25 +09:00
Takeshi KOMIYA
a413b857af
Merge branch '1.5-release'
2016-11-23 14:45:05 +09:00
Takeshi KOMIYA
cec5c39d84
Fix style-check violations
2016-11-23 14:35:58 +09:00
Takeshi KOMIYA
e63afbc60e
Merge branch '1.5-release'
2016-11-23 13:31:02 +09:00
Takeshi KOMIYA
0ee524e392
Merge branch 'stable' into 1.5-release
2016-11-23 13:22:38 +09:00
Yoshiki Shibukawa
873fab53b4
fix #3150
2016-11-19 23:52:02 +09:00
Takeshi KOMIYA
db732ac0b8
Prepare to type-check using mypy
2016-11-16 12:05:44 +09:00
Takeshi KOMIYA
4b5eebdc87
Merge branch 'stable' into 1.5-release
2016-11-16 11:45:57 +09:00
shimizukawa
4583c4b022
insert blank line(s) to adapt latest flake8/pycodestyle
2016-11-16 11:04:32 +09:00
Takeshi KOMIYA
dbac9aa8ec
Add compile_grammar command to setup.py (ref: #2765 )
2016-08-19 20:16:02 +09:00
Ville Skyttä
e8a8be5788
Handle more file closing with "with"
2016-07-07 18:53:34 +03:00
Takeshi KOMIYA
3d5319e705
Use six in util/reindent.py
2016-06-12 00:27:59 +09:00
Takeshi KOMIYA
2483122c2f
Fix flake8 violation (utils/reindent.py)
2016-06-12 00:02:11 +09:00
Takeshi KOMIYA
cb26ec4d4c
Update release-checklist
2016-06-05 17:27:13 +09:00
Takeshi KOMIYA
20779ab2a2
Update release-checklist
2016-06-05 17:26:31 +09:00
Takeshi KOMIYA
b4279df9e6
Update release-checklist
2016-05-29 18:54:21 +09:00
Takeshi KOMIYA
85fd6f6b5d
Update release-checklist
2016-05-29 18:07:59 +09:00
shimizukawa
3742e887c2
update checklist to remind tx pull -a -f
for final major release.
2016-03-28 22:48:09 +09:00
shimizukawa
d7bebce5e6
make check
is renamed as make style-check
2016-02-14 22:06:39 +09:00
Georg Brandl
4f72bdb722
Merge branch 'stable'
2016-01-14 22:54:08 +01:00
Georg Brandl
46d7e8558e
Obligatory copyright update.
2016-01-14 22:54:04 +01:00
shimizukawa
f824539119
merge with stable
2016-01-13 00:13:35 +09:00
shimizukawa
8bd5b22561
accept 95 chars including CRLF. It is same as flake8 check.
2016-01-12 23:47:25 +09:00
Georg Brandl
37ef63087d
Port check_sources to single-source.
2015-09-18 20:32:53 +02:00
shimizukawa
a1a80ab509
fix for make check
2015-03-10 00:22:02 +09:00
Georg Brandl
a23903d8d5
Merge branch 'stable'
2015-01-03 21:41:14 +01:00
Georg Brandl
567d52f199
all: update copyright
2015-01-03 21:36:32 +01:00
Georg Brandl
91887b0183
Merge branch 'stable'
2015-01-02 13:51:31 +01:00
Georg Brandl
a84e036622
development process updates: bb->gh, hg->git
2015-01-02 13:49:38 +01:00
Takayuki Shimizukawa
6261c8b68d
Use universal wheel package. removing build directory procedure is not needed anymore.
2014-10-10 00:01:57 +09:00
Georg Brandl
cadf51d38d
Remove unused 2to3 conversion utility.
2014-09-20 20:15:46 +02:00
Takayuki Shimizukawa
ba4dcaa8dd
use b prefix for bytes instead of sphinx.pycompat.b function.
2014-05-01 22:54:09 +09:00
Georg Brandl
85ddf03f45
merge with stable
2014-03-02 08:50:10 +01:00
Georg Brandl
501c2d13e6
Fix long lines.
2014-03-02 08:40:48 +01:00
Georg Brandl
ac92719ac3
Update copyright year.
2014-03-01 08:18:23 +01:00
Georg Brandl
e030031321
Update copyright year.
2014-03-01 08:18:16 +01:00
Dmitry Shachnev
ce2185ce27
Modernize the code now that Python 2.5 is no longer supported
...
- Use print function instead of print statement;
- Use new exception handling;
- Use in operator instead of has_key();
- Do not use tuple arguments in functions;
- Other miscellaneous improvements.
This is based on output of `futurize --stage1`, with some
manual corrections.
2014-01-19 14:17:10 +04:00
Georg Brandl
a317253d26
checklist: add a reminder to remove build/ to run 2to3 correctly
2014-01-10 09:39:39 +01:00
Georg Brandl
6af0e88032
Closes #1342 : add bdist_wheel step to release checklist
2014-01-10 09:37:53 +01:00
Georg Brandl
dfaecb8779
Add the release checklist.
2013-12-10 10:30:44 +01:00
Georg Brandl
52515eeb86
Copyright header update.
2013-04-01 11:41:48 +02:00
Georg Brandl
151856819c
Copyright update.
2013-01-01 22:13:15 +01:00
Georg Brandl
17efae5622
merge with 1.0
2011-01-04 11:29:09 +01:00
Georg Brandl
0e1db6ad90
New year update.
2011-01-04 10:00:51 +01:00
Daniel Neuhäuser
ad9055868e
Added latest reindent.py file
2010-05-17 02:26:31 +02:00
Daniel Neuhäuser
86d74d3052
ported utils/reindent.py to python 3.x
2010-05-17 01:11:22 +02:00
Daniel Neuhäuser
acd1eaf9d7
check_sources.py is now ported to 3.x
2010-05-17 00:44:44 +02:00
Daniel Neuhäuser
e1b7381a94
convert.py now properly ignores paths
2010-05-16 22:24:20 +02:00
Daniel Neuhäuser
592a978c25
Scripts in utils are now automatically converted. They may not work at the moment though
2010-05-16 22:19:38 +02:00
Daniel Neuhäuser
ad29ab1b86
Fixed file opening
2010-05-16 19:45:23 +02:00
Daniel Neuhäuser
d8425102e2
Switched check_sources.py from getopt to optparse
2010-05-16 17:50:13 +02:00
Daniel Neuhäuser
f6bf9b13ff
Fixed issue #1
2010-05-01 19:17:52 +02:00
Georg Brandl
58e7d8d120
Remove obsolete todo entry.
2010-01-18 00:38:10 +01:00
Georg Brandl
1bce0d7e6a
Fix some XXXes.
2010-01-17 19:21:04 +01:00
Georg Brandl
8b5ae5c131
Remove bad tags.
2010-01-16 19:54:37 +01:00
Georg Brandl
3c09b7ab8f
Update check_sources; we now have 201x.
2010-01-02 21:11:23 +01:00
Georg Brandl
f6a56192d1
Happy new year!
2010-01-01 14:09:13 +01:00
Georg Brandl
c632481afb
merge with 0.5
2009-03-09 14:25:52 +01:00
Georg Brandl
da7f1e408c
Relicense to avoid confusion.
2009-03-09 14:25:36 +01:00
Georg Brandl
a43b651804
Make "make check" happy.
2009-02-19 23:31:34 +01:00
Georg Brandl
24023f8f3b
Some more license nits.
2009-01-03 12:15:04 +01:00
Georg Brandl
aedbdd953d
Fix more line length and trailing whitespace.
2009-01-10 22:18:18 +01:00
Georg Brandl
b068e91803
Reformat to EOL80.
2009-01-10 21:23:39 +01:00
Georg Brandl
ae2570c269
Merged revisions 64808,65013,65076,65100-65101,65119,65121-65123 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/doctools/branches/0.4.x
........
r64808 | georg.brandl | 2008-07-08 21:39:33 +0200 (Tue, 08 Jul 2008) | 2 lines
Allow relocation of source and doctree dir.
........
r65013 | georg.brandl | 2008-07-16 15:25:30 +0200 (Wed, 16 Jul 2008) | 2 lines
Remove curious quote.
........
r65076 | georg.brandl | 2008-07-17 22:43:01 +0200 (Thu, 17 Jul 2008) | 2 lines
Add a test for sphinx.quickstart.
........
r65100 | georg.brandl | 2008-07-18 14:41:54 +0200 (Fri, 18 Jul 2008) | 2 lines
Fix phony targets.
........
r65101 | georg.brandl | 2008-07-18 14:55:03 +0200 (Fri, 18 Jul 2008) | 2 lines
Fix problems in "make check".
........
r65119 | georg.brandl | 2008-07-18 23:06:42 +0200 (Fri, 18 Jul 2008) | 2 lines
Emit a more precise error message in autodoc.
........
r65121 | georg.brandl | 2008-07-18 23:41:35 +0200 (Fri, 18 Jul 2008) | 2 lines
Warn if a toctree-included document doesn't contain a title.
........
r65122 | georg.brandl | 2008-07-18 23:51:28 +0200 (Fri, 18 Jul 2008) | 2 lines
Don't use \samp{} for code with whitespaces, only for :samp:`code`.
........
r65123 | georg.brandl | 2008-07-19 00:49:46 +0200 (Sat, 19 Jul 2008) | 2 lines
Put inheritance info always on its own line.
........
2008-07-18 22:55:36 +00:00
Georg Brandl
637b1379bc
Fix a few overlong lines, and use \t instead of literal tabs.
2008-03-21 15:27:21 +00:00
Georg Brandl
2f37a14939
Some pylint fixes.
2008-03-16 13:12:48 +00:00
Georg Brandl
d60ca8d49d
Initial import of the doc tools.
2007-07-23 09:02:25 +00:00