Commit graph

228 commits

Author SHA1 Message Date
Flukx
35bfb7af81 document constant and introduce key for source 2022-11-28 15:37:17 +01:00
Flukx
cc840dc1a2 Codium plugin for sphinx got a new name
so setting path changed
2022-11-28 14:42:04 +01:00
Flukx
a5545be935 remove idea ide files
no idea which IDE created this but I don't want to track those settings
2022-11-28 14:41:35 +01:00
Flukx
984dd95083 pep8 2021-12-29 18:37:10 +01:00
Flukx
76b1f3441a remove doubled import 2021-12-29 18:35:37 +01:00
Flukx
f90f575cd0 pep8 2021-12-29 18:34:39 +01:00
Flukx
e29a91df3c typos 2021-12-29 18:34:29 +01:00
Flukx
3430e19c7c setting for PyCharm: use google docstring format 2021-12-29 18:17:11 +01:00
Flukx
83c3640f44 use conda 2021-12-04 20:56:04 +01:00
Flukx
dfbd8f9d91 take sign of account into account (haha)
negative values in expense/income accounts mean the opposite from negative values in CASH/ BANK accounts, so take that into account when marking text red
2020-12-20 18:29:43 +00:00
Flukx
50e411a34f allow None as content in cells
can come from description == None
2020-12-20 18:28:31 +00:00
Flukx
88ec7fdbc9 add test for error: none in description 2020-12-20 18:26:56 +00:00
Flukx
2c649072f9 enable filtering and sorting of transactions in table 2020-12-20 17:50:28 +00:00
Flukx
b5d6f2527c restructure table formatting
introduce Cell class which holds the formatting (in html case a css class) and the content (a str)
and all necessary changes in various functions
use NamedTuple, yeah
2020-12-20 01:26:09 +00:00
Flukx
cdd5ddcc7d sort lines in table by date 2020-12-19 22:20:34 +00:00
Flukx
39e9706639 reduce number of return statements to make pep8 checker happy 2020-12-19 22:20:20 +00:00
Flukx
319a1ab79f fix typo 2020-12-19 22:19:20 +00:00
Flukx
98b099b093 higher resolution and figure size for diagrams 2020-12-19 14:50:36 +00:00
Flukx
b3aa69eba5 fix default value for stacked
before default was de-facto true which was against the intention
2020-12-17 00:08:35 +00:00
Flukx
4eff15b523 more options for diagram 2020-12-14 00:36:58 +00:00
Flukx
89ccec7397 remove whitespace (trailing) 2020-12-14 00:36:41 +00:00
Flukx
53aa0cc734 remove whitespace (trailing) 2020-12-14 00:36:08 +00:00
Flukx
0e844cb2e0 rework diagram drawing
seperate number crunching and drawing
2020-12-13 20:20:10 +00:00
Flukx
3c30fbbe26 open book 2020-12-13 20:19:29 +00:00
Flukx
b7fdc371e1 generalise diagram data generation 2020-12-13 19:10:09 +00:00
Flukx
d6da383b7a fix docstring: fit to current use of database module 2020-12-13 19:09:53 +00:00
Flukx
09c64969f3 make BookAttributes handier by delegating attributes to underlying book
just setting attributes does not work this way
2020-12-13 17:41:50 +00:00
Flukx
234873cbd2 fix annotations to make mypy happy 2020-12-13 17:13:35 +00:00
Flukx
85c531f910 remove delay stuff
this branch (timedistribution) handles delay with timespans and therefore abondans delay accounts and delayed_transactions

this commit removes the documentation
2020-12-13 17:13:20 +00:00
Flukx
bafa1760a7 remove delay stuff
this branch (timedistribution) handles delay with timespans and therefore abondans delay accounts and delayed_transactions
2020-12-13 16:01:13 +00:00
Flukx
5698c70ce8 add currency accounts via parent account 2020-12-12 19:13:18 +00:00
Flukx
81c3683743 add book as unchangable property 2020-12-12 18:57:17 +00:00
Flukx
6a1719f97c add empty line to fit to style guide PEP8 2020-12-12 18:56:16 +00:00
Flukx
cfeef791d2 implement design change of adding accounts not currency:account pairs 2020-12-12 18:53:20 +00:00
Flukx
34c6b9c0ef design change: currency is known since it's set in account
so far you specified a currency and its currency exchange account. Now you just add the account and the corresponding currency is just the currency of the account.
2020-12-12 18:51:20 +00:00
Flukx
fe9dfa647d new tests for improper BookAttributes use 2020-12-12 18:41:35 +00:00
Flukx
41e2cf388d increase coverage with exactly one existing currency 2020-12-12 17:43:49 +00:00
Flukx
c4f4132994 ignore should-be-non-reachable line in coverage report 2020-12-12 17:43:24 +00:00
Flukx
36c5a51c17 also test € to € exchange 2020-12-12 17:30:34 +00:00
Flukx
a11d08c62d fix and test it
who was never used in test and didn't work since .value was forgotten
2020-12-12 17:26:40 +00:00
Flukx
fb1a16e4d1 add debugging/ extra info in overview table 2020-12-12 16:29:29 +00:00
Flukx
1adcdd2e5d fix order of division
mixed up bought and paying account
2020-12-12 16:28:31 +00:00
Flukx
554b37f12d first failing try to implement exchange rate calculation 2020-12-12 16:13:03 +00:00
Flukx
72268aed44 fix test code: book was not available anymore 2020-12-12 16:12:15 +00:00
Flukx
0cfaa8e709 make test code nicer 2020-12-12 16:12:01 +00:00
Flukx
fddd328f33 first implementation of BookAttributes to let test run (but not pass) 2020-12-12 15:46:46 +00:00
Flukx
c6d165fb79 change test to fit to implementation problem
a contextmanager that is a class method caused an error. So now it's outside of the class in the same way it is in piecash. Maybe they had the same problem.
2020-12-12 15:46:10 +00:00
Flukx
4451225174 first test for currency exchange calculation
different time frames are missing

but I will wait with those until it looks necessary
2020-12-12 15:45:00 +00:00
Flukx
e20f5119c2 introduce test coverage calculation 2020-12-09 13:36:29 +00:00
Flukx
60a776a55f correct implementation chapter in readme 2020-12-01 13:38:45 +00:00