Christopher Pickering
c39693c7df
added rule T027. closes #134
2021-11-15 16:47:36 +01:00
John Vandenberg
5392565580
settings.py: Fix docstring spelling
2021-10-29 19:49:30 +08:00
Christopher Pickering
0111614913
closes #102 , added test.
2021-10-29 11:42:39 +03:00
Christopher Pickering
d1cc73d083
fixed #132 , added test
2021-10-29 10:02:48 +03:00
Christopher Pickering
4e62259936
fixed #130 , added tests
2021-10-29 09:54:20 +03:00
Christopher Pickering
77db0be1c2
adds a fix and test for #101
2021-10-28 14:39:38 +03:00
Christopher Pickering
a12b2d63dd
fixed #131 , added test
2021-10-28 13:42:51 +03:00
Christopher Pickering
535eb9d659
closes #121 , added tests
2021-10-14 14:53:47 +03:00
Christopher Pickering
be5652f012
fixed #108 , added test
2021-10-14 14:20:30 +03:00
Christopher Pickering
f5334bb931
restructured code. closes #111
2021-10-14 13:19:48 +03:00
Mathias Jakobsen
ed3951838f
Add require_pragma option
...
This patch adds a configuration option for requiring files to have a
pragma comment at the beginning of the file in order to reformat the
file. This behaviour is useful for a slow adoption of the tool instead
of requiring the whole codebase to be converted at once.
The patch also contains tests for the different kinds of supported
pragma comments, based on the profile defined for the project.
2021-10-13 15:30:10 +01:00
sur.la.route
108b467ac1
Merge pull request #95 from jayvdb/config-improvements
...
Config improvements
2021-10-11 16:11:09 +03:00
Christopher Pickering
814c7b464b
added fix
2021-10-11 11:44:51 +03:00
John Vandenberg
afc5e6cfb0
Allow max_line_length config
2021-10-08 19:05:00 +08:00
John Vandenberg
1c40bf81dc
Ignore invalid indent config
2021-10-08 19:02:10 +08:00
Christopher Pickering
479326873a
fixes #85
2021-10-07 15:35:19 +02:00
Christopher Pickering
9313dae827
cleaned up code. closed #81 , closed #74
2021-10-07 11:34:51 +02:00
Christopher Pickering
242b67898e
removed django comment tag from formatted tags. added test. closes #76
2021-10-07 09:38:23 +02:00
Christopher Pickering
dde4ad4a1e
updated rule H025 logic to ignore single line tags. added test. closes #73
2021-10-07 08:55:01 +02:00
Christopher Pickering
863efbf116
added script and style tags to single line tags. fixed #68 and added test
2021-10-07 08:16:04 +02:00
Christopher Pickering
eee3838057
simplified regex to improve speed
2021-10-06 15:27:18 +02:00
Christopher Pickering
569f9112ac
closes #67 , closes #59
2021-10-06 14:20:47 +02:00
Christopher Pickering
b8dec2ebfb
closes #61
2021-10-06 13:44:29 +02:00
Christopher Pickering
12530b0add
added formatting for conditions in attributes. closes #66
2021-10-06 13:17:04 +02:00
Christopher Pickering
87a95ea15a
added style formatting and rule H021. closes #65
2021-10-06 10:21:37 +02:00
Christopher Pickering
24a0fa953a
fixed #57 and added test
2021-10-06 09:19:37 +02:00
Christopher Pickering
ab1cdcf199
added test for trans tag. fixed #63
2021-10-06 08:54:43 +02:00
Christopher Pickering
bbb0ed6f92
added start of golang config
2021-10-04 16:31:09 +02:00
Christopher Pickering
94113a85e4
fixed lint
2021-10-04 15:29:07 +02:00
Christopher Pickering
35474de863
added option for custom rules file
2021-10-04 15:26:22 +02:00
Christopher Pickering
1bcff422db
close #41 , close #39 . Add option to ignore blocks.
2021-10-04 11:58:02 +02:00
Christopher Pickering
722fe181f9
fixed #34
2021-10-01 11:08:52 +02:00
Christopher Pickering
3c71f5b7f1
added source to single line tags
2021-09-30 14:28:40 +02:00
Matthias Kestenholz
b37cb25792
Do not indent the <source> element, it does not permit content
2021-09-30 14:24:34 +02:00
Christopher Pickering
c3b21323ea
closes #30 , closes #28
2021-09-30 10:02:05 +02:00
Christopher Pickering
b00e51488a
closes #29
2021-09-28 13:42:13 +02:00
Christopher Pickering
8f78e1964b
closes #29
2021-09-28 13:04:04 +02:00
Christopher Pickering
a6fc08c706
added feature, updated version
2021-09-23 10:19:11 +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
b0b5147052
closes #7 , closes #20 , cleaned up regex, improved attribute logic, added tests
2021-09-20 11:33:23 +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