Commit graph

242 commits

Author SHA1 Message Date
Christopher Pickering
a830bc47a2
fix(code tags): fixed indentation on code tags w/ trailing text
closes #244
2022-05-12 15:52:58 -05:00
Christopher Pickering
e531701238
fix(alpine.js): fixed formatting in alpine.js attributes
fixes #240
2022-05-09 12:19:28 -05:00
Christopher Pickering
1ce378c43d
fix(custom attributes): custom attributes separated by hyphen were split up during format
closes #236
2022-05-02 09:03:35 -05:00
Christopher Pickering
c1532639f8
refactor(toml): updated toml library
Fixed mypy lint error
2022-05-02 08:35:05 -05:00
Franklyn Tackitt
be55b8e221 Switch from tomlkit to tomli
Tomli is the upcoming python 3.11 standard library toml parser,
 and will be available as tomllib when 3.11 releases.

This switches from using tomlkit to tomli, which brings it inline
 with black, poetry, and many other toml parsing python packages
2022-05-01 12:08:43 -07:00
Christopher Pickering
8e0b4b1b41
fix(stdin and gitignore): updated to prevent gitignore from skipping std temp paths
Disabled gitignore option for stdin paths.

closes #224
2022-04-25 08:26:13 -05:00
sur.la.route
0ee8d38cdf
Merge pull request #198 from andersk/colorama-init
Correctly initialize and deinitialize colorama
2022-03-18 12:53:00 -05:00
Anders Kaseorg
beefd04471 Correctly initialize and deinitialize colorama
djlint is invoked with __name__ == "djlint" (it must be, or the
relative imports would fail), so the if __name__ == "__main__" block
does nothing.  These calls need to be made from main() itself.

The colorama_text decorator makes this easy.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2022-03-18 10:45:29 -07:00
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
Krystof Beuermann
5ff02729e9 fix spelling 2022-03-18 10:01:26 +01:00
Christopher Pickering
f9ff3477e1
closes #194, added test 2022-03-14 09:24:28 -05:00
Christopher Pickering
1f82ffa5f6
fixed lint, disabled failing formatter test (rewrite in process) 2022-03-14 08:53:33 -05:00
Christopher Pickering
ffec79eedb
fixed #197, added test 2022-03-14 08:48:12 -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
c340cdd3df
closes #124, added test 2022-02-18 12:00:53 -06:00
Christopher Pickering
f48a724c77
closes #123, added test 2022-02-18 11:44:02 -06:00
Christopher Pickering
b79449c386
closes #175, added test 2022-02-18 11:16:55 -06:00
Christopher Pickering
64846b03a3
fixes #187, added test 2022-02-18 11:04:02 -06:00
Christopher Pickering
98a846e3a9
Merge branch 'master' of github.com:Riverside-Healthcare/djLint 2022-01-31 16:16:37 -06:00
Christopher Pickering
3e0b13edcb
fixed #177, added test 2022-01-31 16:16:17 -06:00
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