Commit Graph

91 Commits

Author SHA1 Message Date
Elf M. Sternberg e86fe1ff07 Adding DESCRIPTION file for local project management. 2017-09-10 09:48:53 -07:00
Ken Sternberg 41d61476e1 Updated Contributor list, of course! 2017-08-02 10:43:48 -07:00
Elf M. Sternberg ef2a5c579b Merge pull request #3 from tino/add-only-and-exclude
Implement --only and --exclude flags
2017-08-01 13:23:14 -07:00
Tino de Bruijn b485697742 Implement --only and --exclude flags 2017-07-28 11:35:20 +02:00
Ken Sternberg 1e26d46d17 Document a little more. 2017-05-04 11:19:03 -07:00
Ken Sternberg e5a8f93630 Lint and format fix. 2017-05-04 10:40:26 -07:00
Ken Sternberg 09dcb1a050 Cleanup old and unnecessary build files. 2017-05-04 10:39:04 -07:00
Ken Sternberg e11655e3b9 Refactor to use namedtuples because I like names. Changed some function names to better reflect what they do. 2017-05-04 10:35:57 -07:00
Elf M. Sternberg 5cc8770ac3 Merge branch 'master' of github.com:elfsternberg/git-linter
* 'master' of github.com:elfsternberg/git-linter:
  Added a command, '--revision', the lets you test files that were changed and committed already.  This is mostly a helpful addition to "Oh, I didn't lint those!"
2017-01-28 14:45:45 -08:00
Elf M. Sternberg 8fec735719 Added some ToDos to the README. 2017-01-28 14:45:33 -08:00
Elf M. Sternberg a8451c83bf Added a command, '--revision', the lets you test files that were changed
and committed already.  This is mostly a helpful addition to "Oh, I didn't
lint those!"

Also, added the basic '--pr', which gives you the list of files
changed in the very last commit, so you don't have to specify which
revision you mean.
2016-10-07 10:35:40 -07:00
Elf M. Sternberg 1a942e6b1c Bug revision version bump. 2016-10-06 09:11:52 -07:00
Elf M. Sternberg 9b40abe4ae Python 3 compatibility bug. 2016-10-06 09:08:18 -07:00
Elf M. Sternberg 6e09df1427 A better Sphinx theme. 2016-10-06 08:31:43 -07:00
Elf M. Sternberg f70aea7ec3 Code re-org for my sanity. 2016-10-05 14:58:07 -07:00
Elf M. Sternberg 3461709ebf Updating docs. 2016-10-05 13:11:49 -07:00
Elf M. Sternberg 74d217d6fe First version commited to pypi. Fixed bug that prevented clean installation
on OSX.  Bumped version to 0.0.6, and tagged.
2016-10-05 11:14:46 -07:00
Elf M. Sternberg f12b746ade Fixed references to installation. 2016-10-05 09:14:59 -07:00
Elf M. Sternberg 4895dde1b6 Fixed a spelling error. 2016-10-04 10:38:53 -07:00
Elf M. Sternberg d046268ad6 RST still makes no sense. 2016-10-04 10:28:23 -07:00
Elf M. Sternberg 1b5b215e3b RST makes no sense. 2016-10-04 10:27:37 -07:00
Elf M. Sternberg 556c56fb43 Fixing links, adding documentatin. 2016-10-04 10:26:44 -07:00
Elf M. Sternberg a1b5ae9eb0 Fixed usage inclusion. 2016-10-04 10:16:17 -07:00
Elf M. Sternberg 41a70e2592 Still trying to get that hyperlink right. 2016-10-03 13:21:22 -07:00
Elf M. Sternberg 4ce0dd4526 Fixing reference in Readme. 2016-10-03 13:18:45 -07:00
Elf M. Sternberg 8a6c808fdd Updating the requirements doc. 2016-10-03 12:44:57 -07:00
Elf M. Sternberg 5208f706f4 Make sure pre-commit reflects the latest revision. Works great. 2016-10-03 12:34:02 -07:00
Elf M. Sternberg f2ae3371e7 I ought to pass my own lint style checks, ne? 2016-10-03 12:31:01 -07:00
Elf M. Sternberg 13b0378b67 Fixed reportage matrix.
Now it doesn't print things the user doesn't care about, like empty
lint passes, or broken linters that aren't relevant to the current
project.

Added a test pass to ensure it doesn't blow up when running against
an empty stage.
2016-10-03 12:13:35 -07:00
Elf M. Sternberg aa4b5aa978 Fixed paths to prefix and man page. 2016-10-03 08:24:50 -07:00
Elf M. Sternberg dd4aeb1cad Readability added. 2016-09-30 12:10:52 -07:00
Elf M. Sternberg 08537128bb Updated Makefile and setup to include the man file as part of the install. 2016-09-30 11:49:21 -07:00
Elf M. Sternberg 1db5feac16 Adding a check for readability. 2016-09-29 18:36:27 -07:00
Elf M. Sternberg efd187e955 Python 3 compatibility tests passing. 2016-09-29 16:02:55 -07:00
Elf M. Sternberg 917389b836 If I'm going to use a linter, then by Thoth's eyes I ought to use it on this code, ne? 2016-09-29 15:47:36 -07:00
Elf M. Sternberg 3155209c68 Refining the unit tests. 2016-09-29 15:27:33 -07:00
Elf M. Sternberg b28b437fb2 W00t! Working unit tests to assert things, like "That kind works"
and "It doesn't die pathetically," and "It shows stuff."  Fix TOX
to not include you home directory, so now git_lint will only include
your home directory if one exists.

It turns out that shutils doesn't have 'which()' prior to Python3.
Buggeration.
2016-09-29 15:14:46 -07:00
Elf M. Sternberg d21607ed6f We have a working test harness. 2016-09-29 12:38:23 -07:00
Elf M. Sternberg 3f6fec6ba3 That was silly. 2016-09-28 15:37:23 -07:00
Elf M. Sternberg f2f223cb23 Looking really good... 2016-09-28 15:22:34 -07:00
Elf M. Sternberg 1228491425 Since I broke my printers out into a their own module, I needed to
import future there too.

If the current working directory is the base directory, the filter
was broken.  Damn the outside world (∑) for being complicated.
2016-09-28 15:17:51 -07:00
Elf M. Sternberg 3d7c0c1a3f Still cleaning up the working paths. 2016-09-28 14:57:02 -07:00
Elf M. Sternberg 9029eef623 It's all coming together. 2016-09-28 14:26:06 -07:00
Elf M. Sternberg 33c3d7a189 Trying to restructure this to be more sensible. 2016-09-28 10:01:02 -07:00
Elf M. Sternberg b75b4efe7e Trying to get the man page just right. 2016-09-27 10:06:01 -07:00
Elf M. Sternberg 256b4b6306 Docs adde. 2016-09-27 09:37:06 -07:00
Elf M. Sternberg fb1bae7790 Merge branch 'master' of github.com:elfsternberg/git-lint
* 'master' of github.com:elfsternberg/git-lint:
  Back to really/long/file/paths, but the trimmer was in the wrong spot.  Must think more on this.
2016-09-27 06:24:50 -07:00
Elf M. Sternberg 1110fa5658 Bumping version. 2016-09-26 16:54:27 -07:00
Elf M. Sternberg 157e05d5a9 Back to really/long/file/paths, but the trimmer was in the wrong spot. Must think more on this. 2016-09-26 16:09:05 -07:00
Elf M. Sternberg 3f77c5e476 Very rough start to adding a pre-commit pass. 2016-09-26 16:03:08 -07:00