aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2015-09-27t/100-python.t: Restrict file check to Python filesTeddy Wing
One of our tests confirms that our 2 Python files are in the repo directory. Since we're also adding JavaScript files to this directory, we need to restrict the test to Python files in order to match them correctly. In this case since we're only testing Python files we don't really need to worry about the JS files' existence.
2015-09-25Add 'jshint'Teddy Wing
* Create a package.json with 'jshint' as a dev dependency * .gitignore: Ignore node_modules because why not, and it only has dev dependencies in it.
2015-09-25Add requirements.txtTeddy Wing
Make it explicit that we depend on `flake8`.
2015-09-25Makefile: Ensure virtualenv is sourced before running testsTeddy Wing
Otherwise they'll fail since `flake8` won't be available.
2015-09-25Create 'pre-commit', add Python testsTeddy Wing
* Create our 'pre-commit' hook script that runs flake8 on Python files in the staging area. * Update test setup to create a git repository for testing. * Add a test for the Python linter to confirm that it produces the correct output when trying to commit and that it only checks files in the staging index.
2015-09-23Test setupTeddy Wing
* Add Makefile with test target/goal copied from Richard Hartmann's vcsh. Now that I think about it, I really need to change that because vcsh is GPL. Will do that soon. * Add setup and teardown test files that create a remove a directory. This directory will be a basic git repo where we'll install our git hook and then test output from different commits in the repo.
2015-09-23Initial commit. Add .gitignore.Teddy Wing
Ignore virtualenv directory.