Commit graph

277 commits

Author SHA1 Message Date
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
Christopher Pickering
17e29a79cf
split bug reports 2021-10-14 09:09:39 +03:00
Christopher Pickering
ac5c59a6fd
Merge branch 'master' of github.com:Riverside-Healthcare/djLint 2021-10-13 18:11:30 +03:00
Christopher Pickering
e308991059
started next release changelog. 2021-10-13 18:11:02 +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
545d5c0e3f
updated docs 2021-10-13 18:09:27 +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
Christopher Pickering
9dabdd85ad
updated version 2021-10-11 16:13:05 +03: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
Matthias Kestenholz
53b5b00d7e Commit a test showing that <br> causes indentation (when it shouldn't) 2021-10-08 14:40:42 +02: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
eb8571b0b4
updated version. closes #82 2021-10-07 11:42:05 +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
f4f6c32a04
updated version 2021-10-06 16:03:45 +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