Commit Graph

33 Commits (c5309a930dd10dc8ec5cb23c09fd5e9a2ccb1f92)

Author SHA1 Message Date
lethosor 6637a85164 Don't hardcode line numbers in script documentation check 2015-12-28 16:31:36 -05:00
lethosor 26abc5e915 Add script to check Authors.rst 2015-11-26 13:17:18 -05:00
lethosor e176c3ea05 Merge remote-tracking branch 'PeridexisErrant/docs-again' into develop 2015-11-07 15:50:11 -05:00
PeridexisErrant 193e71793a Fix compile, intro, scripts
- script-syntax.py now exits with 1 instead of silently catching the
error if lua or ruby are missing
- index paths are absolute (from the repo root)
- less strong suggestion for third-party packs
- re-added lua-example and test-perlin doc
- corrected and clarified Compile some more
2015-11-06 16:58:58 +11:00
PeridexisErrant 4cdfcbaa9b Linting: improve script docs check, work off Travis
Expands coverage of scripts linting, and improves checks for a correct
title.  Various fixes to make 'python travis/all.py' work for offline
users; when the TRAVIS envvar is not set it now fails without an error.

Minor cleanup in conf.py
2015-11-06 10:15:19 +11:00
PeridexisErrant e11ce3bff4 Merge develop 2015-10-31 15:46:41 +11:00
lethosor b7a69846d9 Fix travis.yml syntax issue 2015-10-30 23:30:06 -04:00
lethosor aa2ada4cbc Use TRAVIS_BRANCH environment variable
Ref #713
2015-10-30 22:58:58 -04:00
PeridexisErrant a37ae8dbd2 Improve travis checks for branch, script docs
The change to pr-check-base avoids failing builds which should pass
because the GH API is limited.  It'll still work almost all of the time,
but no longer fail builds which previously passed and then pushed more
commits.  Closes #694.
2015-10-28 10:07:02 +11:00
PeridexisErrant 54f3c6a138 Updated docs linter for scripts
Also made scripts toctree more explicit
2015-10-24 17:00:54 +11:00
lethosor 36479dbcda travis/all.py: Avoid actually building DFHack 2015-10-13 21:31:37 -04:00
PeridexisErrant 8661f5dc4f Add linter to check scripts are in readme, pass it
We knew a fair few were missing, but this was more than I expected.
2015-09-23 15:25:41 +10:00
lethosor 690cfb54a1 pr-check-base: Show more information about HTTP errors 2015-09-21 19:02:23 -04:00
lethosor 1c5428c3f0 Clean up linter initialization 2015-09-03 15:03:17 -04:00
lethosor 4c3ae91e98 Respect TRAVIS_REPO_SLUG environment variable when checking PRs 2015-06-14 11:54:25 -04:00
lethosor d07bf6f8ed Add a script to simulate a complete travis build 2015-06-14 11:53:49 -04:00
lethosor fab7887f20 Make lint.py work under Python 3 and fix a few UTF-8 errors 2015-04-06 11:25:30 -04:00
lethosor 5c877e4012 Clarify trailing whitespace logic 2015-03-24 16:08:33 -04:00
lethosor a5b2b92b30 Merge remote-tracking branch 'eswald/stockflow' into develop 2015-03-24 16:05:48 -04:00
Eric Wald ebb3dc48bf Allowing whitespace-only lines. 2015-03-22 20:46:46 -06:00
lethosor be89db5bad Implement ruby syntax checks 2015-03-15 23:29:08 -04:00
lethosor 52fb1858b2 Fix whitespace issues in rst files 2015-03-04 17:33:12 -05:00
Lethosor 262fe52424 Update luac.py 2015-02-24 15:09:52 -05:00
lethosor 5c09423aea Make luac exit with correct error code 2015-02-23 18:55:34 -05:00
lethosor 0aa9866089 travis: Add luac test 2015-02-23 18:44:36 -05:00
lethosor 3c9431128e travis: Ignore protobuf generated files 2015-02-23 18:44:19 -05:00
lethosor f81bee7a94 Make lint.py fail when the specified path doesn't exist 2015-02-21 23:06:50 -05:00
lethosor 3a5cd754dd Verify that pull requests are based on develop 2015-02-15 13:23:39 -05:00
lethosor 739964cb25 Allow linter to fix some issues automatically 2015-02-14 22:25:10 -05:00
lethosor 2c744035ab lint: Avoid checking depends/ for now 2015-02-14 22:13:10 -05:00
lethosor 7b29538485 Check for tabs and fix more line number issues 2015-02-14 22:07:57 -05:00
lethosor f91a5767cd Fix line numbers 2015-02-14 21:43:10 -05:00
lethosor cf7b595965 Add python linter 2015-02-14 19:59:17 -05:00