Commit graph

236 commits

Author SHA1 Message Date
Christopher Pickering
a6fc08c706
added feature, updated version 2021-09-23 10:19:11 +02:00
Christopher Pickering
a577817b41
fixed stdin check 2021-09-22 08:54:28 +02:00
Matthias Kestenholz
e23dc60ad7 Allowed more than one path at a time 2021-09-21 20:15:25 +02:00
sur.la.route
229c9c7317
Merge pull request #24 from matthiask/mk/exclude
Fixed #22: Added configuration options to define excluded paths
2021-09-21 13:09:27 +02:00
Matthias Kestenholz
cf7ce737ef Make mypy happy 2021-09-21 13:05:49 +02:00
Matthias Kestenholz
e8f4b71966 Remove one walrus 2021-09-21 13:05:16 +02:00
Matthias Kestenholz
abba002433 Fixed #22: Added configuration options to define excluded paths 2021-09-21 13:02:33 +02:00
sur.la.route
7a48faf09b
Merge pull request #21 from matthiask/mk/failing-test
Failing test: HTML tags inside Django oneline comments should be ignored
2021-09-21 12:53:45 +02:00
Christopher Pickering
0da7612809
fixed issue with dj inline commments begin split up 2021-09-21 12:50:35 +02:00
Matthias Kestenholz
f2707ba2bf Added figcaption, details and summary to the list of tags to indent 2021-09-21 12:03:59 +02:00
Christopher Pickering
8b2448644b
updated test 2021-09-20 11:49:31 +02:00
Christopher Pickering
b0b5147052
closes #7, closes #20, cleaned up regex, improved attribute logic, added tests 2021-09-20 11:33:23 +02:00
Christopher Pickering
70400fff61
updated for new pylint recommendations 2021-09-17 10:25:01 +02:00
Christopher Pickering
6eeb68c1ff
updated docs, added test, removed pkg_resources 2021-09-17 09:36:52 +02:00
yaegassy
bb9b734287 feat: Add --version option 2021-09-17 08:52:46 +09:00
Christopher Pickering
119cbb5b2b
attemped to fix windows permission issue w/ temp files 2021-09-16 13:47:25 +02:00
Christopher Pickering
78fea8ed4d
added option for stdin. closes #13 2021-09-16 13:36:44 +02:00
Christopher Pickering
d0e83aeeb3
fixed #15 and #16 2021-09-16 09:50:13 +02:00
Christopher Pickering
c5045d2f0a
fixed #17 2021-09-16 09:48:41 +02:00
Christopher Pickering
b8b6c919a4
added support for {%- nunjucks 2021-09-08 11:52:16 +02:00
Christopher Pickering
94c1dd5958
changed build system to poetry, added more dj tags, added pyproject.toml support, fixed #11, closed #12, closed #1 2021-09-08 10:46:18 +02:00
Christopher Pickering
af97bbcb32
fixed #10 for lint and format. added tests 2021-09-01 11:55:28 +02:00
Christopher Pickering
81c2090d4c
allow div tags to be single line 2021-08-31 11:35:16 +02:00
Christopher Pickering
4d5e3b184d
fixed dj comment formatting and added test 2021-08-30 15:10:01 +02:00
Christopher Pickering
46ea616e1d
updated formatting for ignored blocks 2021-08-30 14:30:10 +02:00
Christopher Pickering
c51deae335
fixed #9 2021-08-30 11:43:24 +02:00
Christopher Pickering
ba5818a1c7
fixed attribute formatting. fixes #8 2021-08-19 16:36:33 -05:00
Christopher Pickering
3cc6223db7
fixed rule W010 for test not inside a tag. 2021-08-19 11:19:51 -05:00
Christopher Pickering
e6b9a9da1b
added support for jinja assets tag 2021-08-19 10:52:50 -05:00
Christopher Pickering
dcb1892e00
fixed #6. updated release 2021-08-19 10:16:41 -05:00
Christopher Pickering
f81adcc41a
fixed url match rule 18 2021-08-17 10:21:19 -05:00
Christopher Pickering
7bc921d784
removed duplicate error message from linter 2021-08-17 10:17:50 -05:00
Christopher Pickering
4f38370225
fixed rule E001 for handlbars 2021-08-17 10:00:56 -05:00
Christopher Pickering
41e95ce63b
fixed test coverage 2021-08-17 08:56:40 -05:00
Christopher Pickering
582f40b6b1
fixed #5 updated version 2021-08-11 18:34:47 -05:00
Christopher Pickering
c7c0eb8594
changed from dict to tuple 2021-08-11 16:23:15 -05:00
Christopher Pickering
2c93e1d5f1
removed template tag from ignored blocks 2021-08-03 10:21:52 -05:00
Christopher Pickering
907fd9ad87
fixed lint 2021-08-03 10:03:26 -05:00
Christopher Pickering
2aa39f4199
updated rule for img tag, and links in other tags 2021-08-03 09:35:01 -05:00
Christopher Pickering
80df22b514
updated rule for form actions 2021-08-03 08:32:45 -05:00
Christopher Pickering
d13d230124
updated url regex 2021-08-02 14:45:57 -05:00
Christopher Pickering
d1fad05ef4
updated regex for handlgars {{^}} 2021-08-02 14:42:44 -05:00
Christopher Pickering
5619931ae0
updated regex for handlgars {{/if }} 2021-08-02 14:41:49 -05:00
Christopher Pickering
f26dec2de7
updated regex for handlgars {{/if }} 2021-08-02 14:40:47 -05:00
Christopher Pickering
d805f5fab3
fixed indent around multiline comments 2021-08-02 14:37:29 -05:00
Christopher Pickering
cac9e9d18a
updated w018 2021-08-02 14:06:55 -05:00
Christopher Pickering
969dd046bf
disallow negative indent when there is a tag missmatch. 2021-08-02 13:06:44 -05:00
Christopher Pickering
cd835b79f6
updated settings 2021-08-02 12:48:27 -05:00
Christopher Pickering
de6505215b
added rule for {% url. added regex flags to rules 2021-08-02 12:31:59 -05:00
Christopher Pickering
ca213de0d3
improved single line regex, update version 2021-08-02 11:26:27 -05:00
Christopher Pickering
2356970be7
fixed single line regex for endblock text %} 2021-08-02 09:16:26 -05:00
Christopher Pickering
5d472809ea
added img and meta for single line formatting 2021-08-02 09:09:29 -05:00
Christopher Pickering
d241b0350b
fixed single line regex for template tags 2021-08-02 09:05:36 -05:00
Christopher Pickering
f81f8ef8fd
added template support for {% with 2021-08-02 08:51:41 -05:00
Christopher Pickering
0bf8c851a0
updated settings 2021-08-02 08:48:40 -05:00
Christopher Pickering
8593d77736
allowed textarea tags to be single line 2021-08-02 08:38:01 -05:00
Christopher Pickering
22d183c676
allowed label tags to be on one line 2021-08-02 08:37:07 -05:00
Christopher Pickering
cac4a6d2b2
updated handlbars rule to be more inclusive 2021-08-02 08:33:46 -05:00
Christopher Pickering
10be886e69
updated settings for path tags 2021-08-02 08:29:23 -05:00
Christopher Pickering
e4419d05cb
fixed include tags not indenting correctly 2021-07-30 15:36:45 -05:00
Christopher Pickering
ae965fab5a
added gif 2021-07-30 15:18:38 -05:00
Christopher Pickering
92058eb8d1
improved formatting 2021-07-30 14:31:34 -05:00
Christopher Pickering
26db4c8c36
updated lint and version 2021-07-30 12:37:57 -05:00
Christopher Pickering
e7f29a0791
added progress bar. added cli option to ignore rules. 2021-07-30 12:29:07 -05:00
Christopher Pickering
132b84ecef
fixed handlebars rule 2021-07-30 10:51:36 -05:00
Christopher Pickering
10acbe25e7
changed back to re package for some greps.. regex crahsed. opened issue. 2021-07-30 10:40:21 -05:00
Christopher Pickering
c1793d31ac
updated rules for handlebars 2021-07-30 10:15:14 -05:00
Christopher Pickering
9120f70147
updated formatter and docs 2021-07-29 13:41:34 -05:00
Christopher Pickering
b6b4b74a93
fixed issue attribute regex matching empty tags 2021-07-27 14:54:57 -05:00
Christopher Pickering
d9bf63ad7a
improved regex for self closing tags 2021-07-27 14:45:10 -05:00
Christopher Pickering
5cbcc99dc8
added assets tag for flask-assets 2021-07-27 14:41:06 -05:00
Christopher Pickering
a129edab1b
cleaned up mess 2021-07-27 10:58:08 -05:00
Christopher Pickering
416c63ff38
updated reformat rules 2021-07-26 12:22:26 -05:00
Christopher Pickering
46d7899978
updated settings layout 2021-07-26 09:05:55 -05:00
Christopher Pickering
cc0510780c
added reformatter 2021-07-23 15:58:24 -05:00
Christopher Pickering
c554a795e9
fixed bug with col number 2021-07-23 09:19:41 -05:00
Christopher Pickering
4f50b99128
updated rule to exclude meta content 2021-07-23 08:56:36 -05:00
Christopher Pickering
22cf86ae82
code cleanup 2021-07-13 12:25:29 -05:00
Christopher Pickering
eef8fdb63b
added tests 2021-07-13 10:45:57 -05:00
Christopher Pickering
04b8e99b4f
added more rules. 2021-07-12 17:07:52 -05:00
Christopher Pickering
b76c6b8dd9
stopped adding error to print 2021-07-12 15:26:14 -05:00
Christopher Pickering
5d4df940dd
updated messages 2021-07-12 14:40:08 -05:00
Christopher Pickering
a7953f0ba7
remvoved eager 2021-07-12 14:32:38 -05:00
Christopher Pickering
df90902b40
updated rev. added manifest. 2021-07-12 14:23:20 -05:00
Christopher Pickering
3f1bb50091
updated style 2021-07-12 13:31:44 -05:00
Christopher Pickering
d0192d3592
initial commit 2021-07-12 13:26:46 -05:00