Commit graph

83 commits

Author SHA1 Message Date
c2e2a3fad5 add attribute dict to pytex formatters to query attributes used in formatting 2022-02-09 15:38:01 +01:00
7b689255bc integrate git version info into formatters 2022-02-09 14:08:51 +01:00
c3b4a87b51 implement getting git version info 2022-02-09 13:35:38 +01:00
209829ffe3 better cleaning functions / add documentation 2022-02-09 12:38:40 +01:00
591e6533b4 reorganize git versioning types
clean dict also recursively in lists
2022-02-09 12:26:24 +01:00
1e8fe43131 refactor git version info into own file 2022-02-09 12:06:15 +01:00
c04897c26c fix parsing tex type and flavour 2022-02-09 11:55:18 +01:00
5a5f0ef1e4 move macro-related enums. add attributes to pytex formatters 2022-02-09 11:49:14 +01:00
3f25502be4 add properties for tex type and flavour 2022-02-09 11:39:58 +01:00
180eae4f12 fix bug with line stream 2022-02-09 11:26:01 +01:00
410bf3d519 set up version info after build 2022-02-09 01:22:25 +01:00
ec26ec232f add newline after header 2022-02-08 23:54:38 +01:00
2222e20e47 fix some bugs in formatters 2022-02-08 23:54:29 +01:00
25935f4350 fix bug in GenericText 2022-02-08 23:45:55 +01:00
5f8411d907 fix missing property decorators 2022-02-08 23:34:18 +01:00
80036d3dda fix bugs in GenericText 2022-02-08 23:33:43 +01:00
189e0178c4 implement parts of builder 2022-02-08 21:57:30 +01:00
3571d409f0 fix some bugs, more type annotations 2022-02-08 19:01:18 +01:00
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