Stephen Finucane
160e27e20f
utils: Remove 'check_sources'
...
There are still a couple of checks here but all of them can be removed
now:
- Check if using valid Python syntax
- Check if line length too long
- Check if using 'x == None/True/False'
- Check if using old HTML 3 tags
The first three are already handled by default by the 'flake8' tool. The
last one isn't replaced by anything, but it really isn't worth worrying
about now because the tags it checks for have been dead for a really
long time and would not be used by anyone writing HTML in the last 10
years. Combined, it means we can remove the entire file.
The 'style-check' target is updated to simply alias 'flake8'. It can be
removed in a future release. This allows us to stop using this target in
the Travis jobs, seeing as we already run flake8.
Signed-off-by: Stephen Finucane <stephen@that.guru >
2017-10-05 17:17:27 +01:00
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
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