| Age | Commit message (Collapse) | Author |
|
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.
|