Commit graph

179 commits

Author SHA1 Message Date
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
1bcd6040fb fix some small bugs: main building mechanism now working 2022-02-09 00:13:34 +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
096bfd2ae2 update builder 2022-02-08 23:34:29 +01:00
5f8411d907 fix missing property decorators 2022-02-08 23:34:18 +01:00
7318c9380d add typing annotation 2022-02-08 23:34:04 +01:00
288d2cdef4 extend hashing method 2022-02-08 23:33:52 +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
0423cb5de8 better root dir management 2022-02-08 19:40:41 +01:00
b00e62c017 add setters for properties 2022-02-08 19:24:48 +01:00
4aaec9fc3d use correct VersionInfo 2022-02-08 19:15:26 +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
ad39decb39 implement VersionInfo 2022-02-08 00:33:45 +01:00
e93e69d771 implement VersionInfo 2022-02-08 00:33:29 +01:00
b53b3be39a fix bug with version info 2022-02-08 00:24:25 +01:00
7d8f33294f add todos 2022-02-07 23:38:32 +01:00
d28205311c implement getting pytex files 2022-02-07 23:33:32 +01:00
dd65ab626b start implementing build (still failing) 2022-02-07 23:12:17 +01:00
41a7eb2c20 fix imports 2022-02-07 22:28:13 +01:00
13b5aa0d2a add proper version info object 2022-02-07 22:24:14 +01:00
f5c1a6c0c3 add hashing 2022-02-07 22:01:43 +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
07280ce9f2 remove unnecessary files 2022-02-07 21:03:59 +01:00
3af968470d add TODO 2022-02-07 21:00:51 +01:00
e68fcb6550 add root dir to pytex builder 2022-02-07 19:00:25 +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
fd54e5221a implement i/o of pytex config 2022-02-07 18:06:19 +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
225cd19788 add setters to build dir spec 2022-02-07 17:18:10 +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
d37fbe1c76 dump 2022-02-06 23:53:07 +01:00
d49b845039 remove bad import 2022-02-06 23:53:01 +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
a8303cae45 add git management file 2022-02-06 21:27:19 +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
85a32a19cc fix builder class 2022-02-06 20:43:49 +01:00
6d219f00fa dump tmp changes 2022-02-06 20:39:27 +01:00
f2fc8a832d start working on pytex builder 2022-02-06 20:39:17 +01:00
6bef2a82e6 make pytex file more flexible 2022-02-06 20:38:51 +01:00
4928694212 make pytex file more flexible 2022-02-06 20:38:46 +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
ea81305e36 bugfix 2022-02-06 15:12:40 +01:00
4e1eee2c8c formatter 2022-02-06 15:12:05 +01:00
37353e8695 dump useless stuff 2022-02-06 15:11:45 +01:00
12de6e43cb start tex formatter 2022-02-06 15:11:34 +01:00
2ee175784b start dict formatter 2022-02-06 15:10:38 +01:00
5ede703131 start pytex formatter 2022-02-06 15:10:28 +01:00
19ed77fd38 rename generic text method 2022-02-06 15:10:00 +01:00
3fd9ab1049 move git version info 2022-02-06 15:09:49 +01:00
eccf857d19 better formatting config properties 2022-02-06 15:09:25 +01:00
406bf0bf7d move enums 2022-02-06 00:12:54 +01:00