Commit graph

65 commits

Author SHA1 Message Date
92e69a0d77 let pytex source files auto select formatter if not given 2022-02-08 18:31:36 +01:00
f89ccf245b add auto formatter choosing 2022-02-08 18:26:25 +01:00
a0dbb3882e fix some type errors 2022-02-08 17:40:08 +01:00
6cd8d9655d fix future config handling, use abstract classes 2022-02-08 17:21:36 +01:00
1a6989734e implement simple tex formatter 2022-02-08 17:04:16 +01:00
b69019d814 fix some type errors 2022-02-08 16:39:20 +01:00
237203b149 fix some type errors 2022-02-08 16:34:59 +01:00
582d6670b8 fix some type errors 2022-02-08 16:24:42 +01:00
91bcb64be5 fix type issues 2022-02-08 16:09:56 +01:00
13b5aa0d2a add proper version info object 2022-02-07 22:24:14 +01:00
d08637eeba add dependencies to a formatterIF 2022-02-07 22:01:31 +01:00
b3eb6f2a90 adjust set_from_json method and make GitVersionInfo a config object 2022-02-07 21:42:31 +01:00
c83f24798e refactor files and rework git version info into a Config file 2022-02-07 21:18:47 +01:00
3af968470d add TODO 2022-02-07 21:00:51 +01:00
94b5f28567 optimize imports and reformat files 2022-02-07 18:36:30 +01:00
3dfb889728 fix some bugs in parsing 2022-02-07 18:33:00 +01:00
08c9ac19bc better imports 2022-02-07 17:45:35 +01:00
4557f282ce add i/o methods to build dir specification / make it a config 2022-02-07 17:43:23 +01:00
bcae59052c rename license -> license_ 2022-02-07 17:33:45 +01:00
6766b0405b move config to own file 2022-02-07 17:33:00 +01:00
d8c365b3ae move config to own file 2022-02-07 17:32:46 +01:00
2f335e39fa move some methods of FormattingConfig to general Config type 2022-02-07 17:28:09 +01:00
fde1aff4f5 rename license -> license_ 2022-02-07 17:10:12 +01:00
cbd7ac3d1a finish implementing reading from yaml / json 2022-02-07 01:15:14 +01:00
51bf833e1f fix some bugs with reading config and merging dictionaries 2022-02-07 01:09:05 +01:00
d1a87b5356 fix some bugs 2022-02-07 00:42:03 +01:00
9d68c5cd9f simplify config before dumping 2022-02-07 00:21:16 +01:00
fb9a6a8471 fix writing to json and yaml 2022-02-07 00:04:31 +01:00
d1ed1718c4 add to generic text. dump formatting config to json 2022-02-06 23:52:44 +01:00
cfc6be9cd6 add setters to formatting config 2022-02-06 22:58:43 +01:00
f84a9e53ab change handling of license to GenericText 2022-02-06 22:37:41 +01:00
a49c9f7d1b add dependencies attributes 2022-02-06 22:34:43 +01:00
fdcf03eb3d add build time attribute 2022-02-06 22:30:08 +01:00
75c528c3df add path method 2022-02-06 22:20:28 +01:00
426e5a7d66 make config class a better interface 2022-02-06 21:26:55 +01:00
66b597d90c refactor formatting config to exclude git version info 2022-02-06 21:25:52 +01:00
d6b9f95efb add pytex config 2022-02-06 20:38:14 +01:00
fd7d49c0a6 reformat file 2022-02-06 19:40:41 +01:00
b7aaa974d2 add more formatters 2022-02-06 19:40:14 +01:00
8e8d2a56c6 implement basic macros 2022-02-06 19:36:37 +01:00
79fc7b5217 add header in tex formatter 2022-02-06 18:51:49 +01:00
94516b4bbb remove prefix from config 2022-02-06 18:39:34 +01:00
1094fce0a4 implement general interface for tex formatters 2022-02-06 18:34:39 +01:00
9ae70fae13 add LineStream class 2022-02-06 18:12:30 +01:00
a5a3ec0dfa add description attribute to formatting config 2022-02-06 16:52:24 +01:00
6a09adac85 implement dict formatter 2022-02-06 16:50:09 +01:00
0f912b6c2f add header formatting method 2022-02-06 16:08:05 +01:00
b9fd9f0e25 implement config parsing of pytex files in pytex formatter class 2022-02-06 16:04:11 +01:00
68d908c4f2 add escape char attribute 2022-02-06 15:36:12 +01:00
ed491be8ca implement better generic text and part of header method 2022-02-06 15:28:04 +01:00