Elf M. Sternberg
739075d2df
Experimental and not yet reliable.
2016-09-30 11:15:10 -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
Elf M. Sternberg
60e3e8d328
Aw, yeah, starting to look like a grown-up now.
2016-09-26 16:00:22 -07:00
Elf M. Sternberg
c89743dd23
Git lint passes its own linting. Yay!
2016-09-26 15:52:46 -07:00
Elf M. Sternberg
ac7df1d17b
Dry run now works.
2016-09-26 15:51:31 -07:00
Elf M. Sternberg
bacbdd7179
The staging wrapper works beautifully.
2016-09-26 15:26:04 -07:00
Elf M. Sternberg
c4200eb3a4
Removing unused files.
2016-09-26 15:01:59 -07:00
Elf M. Sternberg
d153fba7d0
Rough draft complete. I think.
2016-09-26 14:58:43 -07:00
Elf M. Sternberg
24ba4d41f4
Config is now order-preserving; switched to named tuples for config details.
2016-09-26 13:56:28 -07:00
Elf M. Sternberg
ec439aab81
Fixing merge.
2016-09-26 11:46:47 -07:00
Elf M. Sternberg
caca552ecd
Merge problem ahead...
2016-09-26 11:44:31 -07:00
Elf M. Sternberg
06bd394b1f
Much better! Almost have the output exactly the way I want it, and
...
it's starting to report valid values, too.
2016-09-24 15:42:58 -07:00
Elf M. Sternberg
f2873bc07c
Conversion to Python is complete. Goodbye, Hy, you were a brilliant and
...
functional step toward helping me organize my thoughts, but it's time
to make this into something other Pythonistas can read. Sad, but true.
2016-09-23 17:50:04 -07:00
Elf M. Sternberg
56037fe109
Much progress.
2016-09-23 15:27:15 -07:00
Elf M. Sternberg
c7b89daec9
Conversion continues.
2016-09-23 13:11:06 -07:00
Elf M. Sternberg
ddefe47ed4
Tranforming to Python. I know, it's sad. But it's necessary.
2016-09-23 12:44:12 -07:00
Elf M. Sternberg
904eb24281
A few more updates. Added new flags to usage.
2016-09-22 15:50:01 -07:00
Elf M. Sternberg
0ec3a446ba
The file strategies have all been settled on, including the ability
...
to detect when a repository is un-lint-able (due to merge conflicts
in the current tree munging up source files). 250 lines of hand-
written Hy, and I haven't even gotten to the main part of the
project, actually running the linters.
2016-09-22 15:25:08 -07:00
Elf M. Sternberg
caed12257f
Got the porcelain -z parser working, and got rid of that damned 'contrib' and 'common' submodules warning.
2016-09-21 15:07:09 -07:00
Elf M. Sternberg
b170cff52c
For testing.
2016-09-21 14:56:28 -07:00
Elf M. Sternberg
4827f0b047
Using the already pruned list makes more sense here.
2016-09-21 14:17:28 -07:00
Elf M. Sternberg
e4e4151587
Now tracking excluded options, for reportage.
2016-09-21 14:16:04 -07:00
Elf M. Sternberg
7e52c9a5ef
Started to break things out into their own modules for, um, modularity.
2016-09-21 13:36:36 -07:00
Elf M. Sternberg
810d950ea6
Status test.
2016-09-21 11:15:16 -07:00
Elf M. Sternberg
f9eedbb3e0
Doing development in a side-file. Options and config files are now loaded sanely.
2016-09-20 14:59:20 -07:00
Elf M. Sternberg
d2f2b3969b
Trying to formalize the plan from the original.
2016-09-19 16:00:37 -07:00
Elf M. Sternberg
7988df0dcf
More development progress.
2016-09-19 15:36:58 -07:00
Elf M. Sternberg
ad5ab53350
Fixed a typo.
2016-09-19 14:44:53 -07:00
Elf M. Sternberg
454a2ce4e1
Used cookiecutter to generate a better skeleton for the project, prior
...
to digging in. I realized that I was wrapping my pre-commit hook in a
handler to call it outside of the git-commit phase, and what I really
wanted was to be able to 'git lint' my repo at any time. This is going
to be a new development branch until further notice.
2016-09-19 14:41:01 -07:00
Elf M. Sternberg
29625f9df2
Updated README to explain timestamp discrepencies on Lint failure.
2016-06-28 16:30:57 -07:00
Elf M. Sternberg
8705fc1449
Markdown is a pain in the arse.
2016-05-20 18:13:04 -07:00
Elf M. Sternberg
10061245bb
Added better instructions for recovering from stash failures.
2016-05-20 18:12:28 -07:00
Elf M. Sternberg
76aa6b6509
Added comments about maintainability to the python version.
2016-05-20 18:10:58 -07:00