Commit graph

268 commits

Author SHA1 Message Date
djlint-bot
4bc7f0b592 chore(build): update packages [Weekly] 2022-01-30 01:05:11 +00: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
905923ba2b
fixed #169, added test 2022-01-14 09:07:57 -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
0c40a36c3e
fixed lint 2022-01-05 11:49:00 -06:00
Christopher Pickering
82526733c1
fixed #166, added test 2022-01-05 09:48:00 -06:00
Christopher Pickering
64a806a3eb
fixed #160, added test 2022-01-03 09:43:55 -06:00
Christopher Pickering
3c82cbc84b
fixed #164, added test 2022-01-03 08:58:01 -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
John Vandenberg
9b09505826 Specify acceptable entities 2021-12-14 19:47:57 +08:00
Christopher Pickering
bec3623a4d
fixed #154, added test 2021-12-14 10:24:17 +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
c91fdcce32
fixed #155 2021-12-02 10:19:27 +01:00
Christopher Pickering
a260b8c063
docs update 2021-12-01 10:13:09 +01:00
Christopher Pickering
c6e643c254
added two linter rules 2021-11-29 13:30:31 +01: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
8ff71789be
added fix for #151 2021-11-29 09:26:36 +01:00
Christopher Pickering
48c2f32081
fixed #149, added test 2021-11-26 14:01:54 +01:00
Christopher Pickering
3281b55f61
fixed #148, added test 2021-11-26 13:30:25 +01:00
Christopher Pickering
b2439ea9d9
fixed #147, added tests 2021-11-26 13:06:05 +01:00
Christopher Pickering
a053175663
fixed #146, added test, updated version 2021-11-26 09:45:00 +01:00
Christopher Pickering
ec60646b36
fixed #144, added test 2021-11-24 09:18:58 +01:00
Christopher Pickering
a9b4880138
fixes #142, added test 2021-11-23 10:16:40 +01:00
Christopher Pickering
d2a42f2be0
fixes #143, added test 2021-11-23 10:06:38 +01:00
Christopher Pickering
3af4517ce7
fixes #141, added test. 2021-11-23 10:02:08 +01:00
Christopher Pickering
9296dfaceb
fixes #140, added test. 2021-11-22 15:21:18 +01:00
Christopher Pickering
e81cb9cc64
fixed #139, updated tests 2021-11-19 09:43:59 +01:00
Christopher Pickering
615eb180d7
fixed #126 2021-11-16 12:46:07 +01:00
Christopher Pickering
507dae9b50
fixed #75, added test 2021-11-16 11:49:25 +01:00
Christopher Pickering
b2b26e9ee1
fixed #26, added test 2021-11-16 11:40:29 +01:00
Christopher Pickering
7c7cac916f
added rule H029, closes #125 2021-11-16 11:28:35 +01:00
Christopher Pickering
19acc02cda
added rule T028. closes #128 2021-11-16 11:17:51 +01:00
Christopher Pickering
fee2c1c72b
fixed #137, added test 2021-11-16 10:58:57 +01:00
Christopher Pickering
c39693c7df
added rule T027. closes #134 2021-11-15 16:47:36 +01:00
sur.la.route
7d42a1151d
Merge pull request #133 from jayvdb/fix-gitignore-test
Fix gitignore test
2021-11-02 08:46:24 +01:00
John Vandenberg
5392565580 settings.py: Fix docstring spelling 2021-10-29 19:49:30 +08:00
Christopher Pickering
9a57551c7a
fixed test for github 2021-10-29 11:55:20 +03: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
dd134f9459
fixed #129, added tests 2021-10-28 13:55:20 +03:00
Christopher Pickering
a12b2d63dd
fixed #131, added test 2021-10-28 13:42:51 +03:00
Christopher Pickering
a0847aaec9
updated blank lines setup 2021-10-15 09:15:00 +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
7d4e4920bc
fixed #118, added test 2021-10-14 14:15:25 +03:00
Christopher Pickering
00ed6b18d2
added default sort by filename. closes #109 2021-10-14 13:56:51 +03:00
Christopher Pickering
35c7026a85
fixed #106, added test 2021-10-14 13:40:23 +03:00
Christopher Pickering
84a182595c
fixed #110, added test 2021-10-14 13:37:21 +03:00
Christopher Pickering
e0fed97e70
fixed #112, added tests 2021-10-14 13:31:45 +03:00
Christopher Pickering
ca87bb7d22
closes #115. added test 2021-10-14 13:30:24 +03:00
Christopher Pickering
f5334bb931
restructured code. closes #111 2021-10-14 13:19:48 +03:00
Christopher Pickering
3ab0eab278
fixed #116, added test 2021-10-14 09:17:31 +03:00
sur.la.route
ed899525cb
Merge pull request #120 from hrjakobsen/require_pragma
Add require_pragma option
2021-10-13 18:10:07 +03:00
Christopher Pickering
7815db42ea
fixed typo 2021-10-13 18:07:46 +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
46492fdd05
closes #98, closes #99, closes #97, added tests 2021-10-11 16:08:32 +03:00
Christopher Pickering
d634ce61fa
closes #89. added tests 2021-10-11 13:34:28 +03:00
Christopher Pickering
edcf3506aa
closes #93, added test 2021-10-11 12:26:33 +03:00
Christopher Pickering
1c7f1d654d
fixed #94, added tests 2021-10-11 11:59:19 +03:00
sur.la.route
086f9dad34
Merge pull request #96 from matthiask/mk/br-indent
Commit a test showing that <br> causes indentation (when it shouldn't)
2021-10-11 11:48:15 +03:00
Christopher Pickering
814c7b464b
added fix 2021-10-11 11:44:51 +03:00
Christopher Pickering
c778032cd2
fixed #91 and added test 2021-10-11 10:59:10 +03:00
Christopher Pickering
41309c5798
fixed #90 and added test. 2021-10-11 10:37:25 +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
John Vandenberg
af646f42e0 fix mypy error
os.cpu_count can return None.
2021-10-08 18:55:16 +08:00
Christopher Pickering
93dc01f875
updated version 2021-10-07 16:15:47 +02:00
Christopher Pickering
7c1b2ebcf8
added rule 26 or empty id and class tags. closes #87 2021-10-07 16:04:27 +02:00
Christopher Pickering
8ece32982e
cleaned up regex on rule 11 2021-10-07 15:50:10 +02:00
Christopher Pickering
10d0e87288
fixed #84 2021-10-07 15:47:31 +02:00
Christopher Pickering
4d5f7819ce
fixed #83 2021-10-07 15:42:02 +02: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
34fb305b6b
updated regex on H024. Added test. closes #78 2021-10-07 09:44:14 +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
adbef74d38
updated regex for H021. Added test. closes #72 2021-10-07 08:40:26 +02:00
Christopher Pickering
9addd5dc04
updated regex for H025. closes #71, closes #70 2021-10-07 08:35:37 +02:00
Christopher Pickering
d6c6e49f19
added rstrip to attributes after formatting. updated tests. closes #69 2021-10-07 08:22:29 +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
1c70ea624c
simplified regex to improve speed 2021-10-06 16:02:30 +02:00
Christopher Pickering
2029496854
simplified regex to improve speed 2021-10-06 15:41:21 +02:00
Christopher Pickering
eee3838057
simplified regex to improve speed 2021-10-06 15:27:18 +02:00
Christopher Pickering
b8562e463a
added rule H025, closes #58 2021-10-06 15:00:08 +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
2d3a4a7250
fixed #62 2021-10-06 09:42:08 +02:00