| Age | Commit message (Collapse) | Author | 
|---|
|  | * Add sample malformed JavaScript files to lint on
* In our tests, copy the `node_modules` directory to make `jshint`
  available, then validate that we're correctly linting the staged JS
  file
* In our pre-commit hook, lint the staged JavaScript files. If either of
  our linting commands fail then exit 1 to abort the commit. | 
|  | Ensure we reset the staging area as a teardow/cleanup operation.
Otherwise, our JavaScript test (which runs after this one by default)
will be working with a dirty staging area and its test will by
consequence not pass. | 
|  | 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. | 
|  | * 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. | 
|  | * 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. |