Commit Graph

820 Commits (a727c51e751459750155919a52d319d39d7f2d65)
 

Author SHA1 Message Date
Salvo 'LtWorf' Tomaselli a727c51e75
Handle new parser nodes 2020-08-26 17:16:14 +07:00
Salvo 'LtWorf' Tomaselli 1181042ee0
Handle empty context 2020-08-26 17:15:51 +07:00
Salvo 'LtWorf' Tomaselli 0af82fb225
Python test for multiline 2020-08-26 17:15:24 +07:00
Salvo 'LtWorf' Tomaselli 7228c86d72
I had completely forgotten about multiline optimizations 2020-08-26 17:14:22 +07:00
Salvo 'LtWorf' Tomaselli 8755236f94
Merge pull request #31 from ltworf/column_types
Types per column, not per cell. Cast when loading.
2020-08-24 19:31:55 +07:00
Salvo 'LtWorf' Tomaselli a6898697a6
CHANGELOG 2020-08-24 19:09:20 +07:00
Salvo 'LtWorf' Tomaselli ae2e838df2
Fix cli for the double format 2020-08-24 19:09:20 +07:00
Salvo 'LtWorf' Tomaselli a110f3f2c5
GUI manage json files 2020-08-24 19:09:20 +07:00
Salvo 'LtWorf' Tomaselli 5a271dce1d
Usual mypy workaround
https://github.com/ltworf/typedload/issues/132

https://github.com/python/mypy/issues/9003
2020-08-24 19:08:52 +07:00
Salvo 'LtWorf' Tomaselli 177ca5a3ee
Values can be None 2020-08-24 18:42:18 +07:00
Salvo 'LtWorf' Tomaselli 0920559a82
Make mypy happy 2020-08-24 18:38:10 +07:00
Salvo 'LtWorf' Tomaselli 4d280e02b0
Keep tests in json format
So the results are typed
2020-08-24 18:37:55 +07:00
Salvo 'LtWorf' Tomaselli d592cc3050
Fix json loading
With some small amount of error detection.
2020-08-24 18:37:19 +07:00
Salvo 'LtWorf' Tomaselli dac2d47246
Depend on typedload 2020-08-24 18:02:39 +07:00
Salvo 'LtWorf' Tomaselli 4d81858c8b
Make Rdate into something typedload can handle 2020-08-24 18:02:11 +07:00
Salvo 'LtWorf' Tomaselli c4bc74d612
Add a new json format 2020-08-24 18:02:11 +07:00
Salvo 'LtWorf' Tomaselli 2e5d18f418
Switch to dataclass
NamedTuple has some bug that makes dumping broken
2020-08-24 18:02:11 +07:00
Salvo 'LtWorf' Tomaselli ff9f0c10b6
Do not crash when editing relations containing None 2020-08-24 18:02:10 +07:00
Salvo 'LtWorf' Tomaselli 5869f5d421
Visually show the different types 2020-08-24 18:02:10 +07:00
Salvo 'LtWorf' Tomaselli 4c101526e6
Use None instead o a special string 2020-08-24 18:02:10 +07:00
Salvo 'LtWorf' Tomaselli 33a2a21617
Fix types 2020-08-24 18:02:10 +07:00
Salvo 'LtWorf' Tomaselli 18d6f5ebfb
Remove add and sub from Rdate
They were not symmetrical, better to remove them.
2020-08-24 18:02:10 +07:00
Salvo 'LtWorf' Tomaselli 4dc7f131f3
Only use eq 2020-08-24 18:02:10 +07:00
Salvo 'LtWorf' Tomaselli 774c8eed67
Compare to anything 2020-08-24 18:02:10 +07:00
Salvo 'LtWorf' Tomaselli b69fd0980b
Do not clash names 2020-08-24 18:02:10 +07:00
Salvo 'LtWorf' Tomaselli b86c0c6a61
Remove leftover print 2020-08-24 18:02:10 +07:00
Salvo 'LtWorf' Tomaselli 69f7e83626
Fix printing 2020-08-24 18:02:10 +07:00
Salvo 'LtWorf' Tomaselli 90b3163e32
Add the --- token bare 2020-08-24 18:02:10 +07:00
Salvo 'LtWorf' Tomaselli 5c8cbde27a
No autocasts needed
All casting is done when loading
2020-08-24 18:02:10 +07:00
Salvo 'LtWorf' Tomaselli 7800a157bf
Convert Rdate object to keep working 2020-08-24 18:02:10 +07:00
Salvo 'LtWorf' Tomaselli 73aa0dd2a1
New code to guess types 2020-08-24 18:02:10 +07:00
Salvo 'LtWorf' Tomaselli f410b112af
Use the new by column type detection 2020-08-24 18:02:10 +07:00
Salvo 'LtWorf' Tomaselli 5259921bb1
Better error message 2020-08-24 18:02:09 +07:00
Salvo 'LtWorf' Tomaselli aea763021c
Remove useless new object 2020-08-24 18:02:09 +07:00
Salvo 'LtWorf' Tomaselli c246c0715d
Remove useless operations 2020-08-24 18:02:09 +07:00
Salvo 'LtWorf' Tomaselli c61cea7806
Remove unused code 2020-08-24 18:02:09 +07:00
Salvo 'LtWorf' Tomaselli 51f85e6daf
CHANGELOG 2020-08-24 18:02:09 +07:00
Salvo 'LtWorf' Tomaselli fd645a20c7
Merge pull request #33 from ltworf/readme
Improve readme
2020-08-24 14:42:25 +07:00
Salvo 'LtWorf' Tomaselli 259a7c6497
README.md 2020-08-24 14:38:45 +07:00
Salvo 'LtWorf' Tomaselli e8abacd005
Merge pull request #32 from ltworf/rename_command
Change the command name
2020-08-24 10:48:47 +07:00
Salvo 'LtWorf' Tomaselli f892a9e162
Update copyright 2020-08-24 10:41:50 +07:00
Salvo 'LtWorf' Tomaselli 8fd1384574
Copy also cli package 2020-08-24 10:40:01 +07:00
Salvo 'LtWorf' Tomaselli 26115245c2
Clean deb-pkg directory 2020-08-24 10:29:28 +07:00
Salvo 'LtWorf' Tomaselli a505fabefb
Rename launch command 2020-08-24 10:26:41 +07:00
Salvo 'LtWorf' Tomaselli 7a43071faf
Merge pull request #30 from ltworf/fixes
CLI fix
2020-08-15 21:36:34 +07:00
Salvo 'LtWorf' Tomaselli b43db451e5
Don't feel like writing stubs 2020-08-15 21:25:35 +07:00
Salvo 'LtWorf' Tomaselli 7e3c4d3ff9
Make mypy happy 2020-08-15 21:25:35 +07:00
Salvo 'LtWorf' Tomaselli 36e312ba7b
Use new API in cli 2020-08-15 21:25:35 +07:00
Salvo 'LtWorf' Tomaselli a67ec498c2
Check cli module 2020-08-15 21:25:35 +07:00
Salvo 'LtWorf' Tomaselli ccfdff6fd3
Use fstrings 2020-08-15 21:25:35 +07:00