Commit graph

42 commits

Author SHA1 Message Date
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
John Vandenberg
af646f42e0 fix mypy error
os.cpu_count can return None.
2021-10-08 18:55:16 +08:00
Christopher Pickering
a657424ed6
closes #60 2021-10-05 13:11:08 +02:00
Christopher Pickering
2a85e0dbb1
fixed #52,50,48 2021-10-05 08:34:35 +02:00
yaegassy
9e2e99f370 chore: adjust docs and help for rule name changes 2021-10-01 16:40:41 +09: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
a577817b41
fixed stdin check 2021-09-22 08:54:28 +02:00
Matthias Kestenholz
e23dc60ad7 Allowed more than one path at a time 2021-09-21 20:15:25 +02:00
Matthias Kestenholz
abba002433 Fixed #22: Added configuration options to define excluded paths 2021-09-21 13:02:33 +02:00
Christopher Pickering
8b2448644b
updated test 2021-09-20 11:49:31 +02:00
Christopher Pickering
70400fff61
updated for new pylint recommendations 2021-09-17 10:25:01 +02:00
Christopher Pickering
6eeb68c1ff
updated docs, added test, removed pkg_resources 2021-09-17 09:36:52 +02:00
yaegassy
bb9b734287 feat: Add --version option 2021-09-17 08:52:46 +09:00
Christopher Pickering
119cbb5b2b
attemped to fix windows permission issue w/ temp files 2021-09-16 13:47:25 +02:00
Christopher Pickering
78fea8ed4d
added option for stdin. closes #13 2021-09-16 13:36:44 +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
Christopher Pickering
ba5818a1c7
fixed attribute formatting. fixes #8 2021-08-19 16:36:33 -05:00
Christopher Pickering
dcb1892e00
fixed #6. updated release 2021-08-19 10:16:41 -05:00
Christopher Pickering
4f38370225
fixed rule E001 for handlbars 2021-08-17 10:00:56 -05:00
Christopher Pickering
41e95ce63b
fixed test coverage 2021-08-17 08:56:40 -05:00
Christopher Pickering
582f40b6b1
fixed #5 updated version 2021-08-11 18:34:47 -05:00
Christopher Pickering
c7c0eb8594
changed from dict to tuple 2021-08-11 16:23:15 -05:00
Christopher Pickering
907fd9ad87
fixed lint 2021-08-03 10:03:26 -05:00
Christopher Pickering
cd835b79f6
updated settings 2021-08-02 12:48:27 -05:00
Christopher Pickering
ae965fab5a
added gif 2021-07-30 15:18:38 -05:00
Christopher Pickering
92058eb8d1
improved formatting 2021-07-30 14:31:34 -05:00
Christopher Pickering
26db4c8c36
updated lint and version 2021-07-30 12:37:57 -05:00
Christopher Pickering
e7f29a0791
added progress bar. added cli option to ignore rules. 2021-07-30 12:29:07 -05:00
Christopher Pickering
9120f70147
updated formatter and docs 2021-07-29 13:41:34 -05:00
Christopher Pickering
46d7899978
updated settings layout 2021-07-26 09:05:55 -05:00
Christopher Pickering
cc0510780c
added reformatter 2021-07-23 15:58:24 -05:00
Christopher Pickering
c554a795e9
fixed bug with col number 2021-07-23 09:19:41 -05:00
Christopher Pickering
22cf86ae82
code cleanup 2021-07-13 12:25:29 -05:00
Christopher Pickering
eef8fdb63b
added tests 2021-07-13 10:45:57 -05:00
Christopher Pickering
04b8e99b4f
added more rules. 2021-07-12 17:07:52 -05:00
Christopher Pickering
b76c6b8dd9
stopped adding error to print 2021-07-12 15:26:14 -05:00
Christopher Pickering
5d4df940dd
updated messages 2021-07-12 14:40:08 -05:00
Christopher Pickering
a7953f0ba7
remvoved eager 2021-07-12 14:32:38 -05:00
Christopher Pickering
df90902b40
updated rev. added manifest. 2021-07-12 14:23:20 -05:00
Renamed from src/__init__.py (Browse further)