Commit graph

98 commits

Author SHA1 Message Date
Anders Kaseorg
be07d18ebe
Fix spelling mistakes found by codespell
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2022-03-18 08:09:16 -05:00
Christopher Pickering
f9ff3477e1
closes #194, added test 2022-03-14 09:24:28 -05:00
Christopher Pickering
5a2fde9f71
started fix for #189 2022-02-21 11:25:55 -06:00
Christopher Pickering
17063aa517
closes #188, added tests 2022-02-18 14:15:36 -06:00
Christopher Pickering
2acb8c3c28
closes #175, updated tests 2022-02-18 13:07:30 -06:00
Christopher Pickering
b79449c386
closes #175, added test 2022-02-18 11:16:55 -06:00
Christopher Pickering
3e0b13edcb
fixed #177, added test 2022-01-31 16:16:17 -06:00
Christopher Pickering
4a953801fa
fixed #174, fixed #173, added tests 2022-01-24 12:03:44 -06:00
Christopher Pickering
b943a414fd
fixed #171, added test 2022-01-14 09:12:19 -06:00
Christopher Pickering
6e8230eee8
fix for #166 and #167. added tests 2022-01-07 08:49:00 -06:00
Christopher Pickering
a1451fc78e
started fix for #167. updated docs 2022-01-06 13:41:15 -06:00
Christopher Pickering
64a806a3eb
fixed #160, added test 2022-01-03 09:43:55 -06:00
Christopher Pickering
c7d73bed09
fixed settings, added docs note 2022-01-03 08:45:38 -06:00
TK
97967dc622 [pre-commit] Running pre-commit 2021-12-30 20:54:59 +01:00
TK
3f27f6c88c Allow custom HTML tags to be indented correctly, pass on custom HTML tags with setting custom_html 2021-12-30 16:25:33 +01:00
sur.la.route
736a03307f
Merge pull request #159 from jayvdb/add-ng-profile
Add Angular profile
2021-12-14 10:02:54 +01:00
Christopher Pickering
b5b08ff01f
also exclude nunj and musta 2021-12-14 09:57:37 +01:00
John Vandenberg
3121c168f0 Add Angular profile 2021-12-12 08:21:58 +08:00
John Vandenberg
c2a62b96dd Add html profile 2021-12-11 20:26:09 +08:00
Christopher Pickering
1783c3babf
added option to format linter output messages. closes #153 2021-11-29 13:05:58 +01:00
Christopher Pickering
a10ac08686
added fix for #152 2021-11-29 12:19:07 +01:00
Christopher Pickering
48c2f32081
fixed #149, added test 2021-11-26 14:01:54 +01:00
Christopher Pickering
b2439ea9d9
fixed #147, added tests 2021-11-26 13:06:05 +01:00
Christopher Pickering
ec60646b36
fixed #144, added test 2021-11-24 09:18:58 +01:00
Christopher Pickering
9296dfaceb
fixes #140, added test. 2021-11-22 15:21:18 +01:00
Christopher Pickering
b2b26e9ee1
fixed #26, added test 2021-11-16 11:40:29 +01:00
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