neiljp (Neil Pilgrim)
69fab99ba7
linter: Add check for incorrect use of inheritance in Bot test cases.
2018-06-09 12:49:49 -04:00
Robert Hönig
8e653fe064
linter: Add rule to favor Botserver over botserver or bot server.
2018-05-29 10:59:15 +02:00
Steve Howell
41b065eb76
tools: Fix python -> python3 for bots scripts.
...
This also turns off the custom lint check that was
preventing an explicit version for scripts in "tools".
Fixes #187
2018-01-02 17:38:12 +01:00
Steve Howell
c4b42ff599
lint: Prevent __future__ in zulip_bots/zulip_bots/bots.
...
We should eventually extend this lint rule to all of
zulip_bots.
2017-12-12 07:35:30 -06:00
Steve Howell
fd069dff82
lint: Require python3 shebangs.
...
This commit was originally from @fredfishgames, but it
needed a big rebase due to use letting it sit too long.
Also, we decided not to have shebangs at the top of test
files.
2017-12-12 07:14:16 -06:00
fredfishgames
5673b49826
Added self: Any linter test
2017-12-08 10:48:42 -08:00
derAnfaenger
80fba127ad
litner: Add rule against using pprint.
2017-08-30 09:41:24 -07:00
Eeshan Garg
d63269ee6a
zulip_bots: Rename bots/{bot}/readme.md -> bots/{bot}/doc.md.
...
doc.md better describes the style of documentation that will live
inside these files, since we want these to be similar to our
webhooks' doc.md files in terms of how these are rendered and
composed of Markdown macros.
2017-08-15 19:30:13 -07:00
derAnfaenger
0dfb405748
linter: Add open() call restriction for the john bot.
2017-07-27 10:35:31 -07:00
derAnfaenger
5dd359fd4d
testing: Properly exclude files for linting in Windows.
...
For files to be excluded in Windows, their paths have to
be normalized, so that the string matching works.
2017-07-25 10:55:49 -07:00
derAnfaenger
428ded449e
testing: Add custom linter rules.
2017-07-25 10:55:49 -07:00