Commit Graph

17 Commits

Author SHA1 Message Date
Colin Delahunty
82747072c5 Terminal Wide Rich (#1161)
* My idea for how we handle Rich moving forward

* remove independent consoles

* FIxed pylint issues

* add a few vars

* Switched print to console

* More transitions

* Changed more prints

* Replaced all prints

* Fixing tabulate

* Finished replace tabulate

* Finished removing rich from Tabulate

* add Panel around menu

* add GST watermark under feature flag

* Fixed 46 tests

* Delete test_screener[False].yaml

* Delete test_screener[True].yaml

* Fixed the rest of the tests

* add help and source color vars and use rgb

* rich on stocks/options

* update rich on disc, dps, sia

* rich in gov, ins and scr menus

* ba and ca menus with rich

* Fixed import issue

* Fixed some tests

* removed termcolor

* Removed prettytable

* add rich to remaining stocks menus

* FIxed linting issue

* Added James' changes

* Updated dependencies

* Add rich to cryptocurrency menu

* refactor economy and forex

* refactor etf with rich

* refactor mfunds

* refactor rich rest

* not specify style so default color works well on any background

* Fixing mypy issues

* Updated tests

* More test fixes

* James' test fixes

* Updating tests : stocks/screener - fix cassettes using BR

* Updating tests : crypto

* Updating tests : disable DEBUG_MODE

* Updating tests : stocks/fa/yfinance

* minor fixes that escape

* Improve the rich table function (that replaces tabulate :D )

* Fixed bad code

* delete rogue file + dcf fix + NoConsole

* sia mypy

* fuck you linter

* fuck you linter pt 2

* skip hehe

* i hate the black linter

* ubuntu mypy attempt

* Update : rich_config + gtff

* Updating tests : conftest

* Updating tests : stocks

* Update : rich_config

* Updating : rich_config

* make panel configurable for Theodore :b

* colors update

* Merged

* Updating : rich_config + feature_flags

* Updating : rich_config

* Updating tests : stocks

* Updating : feature_flags

Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
Co-authored-by: james <jmaslek11@gmail.com>
Co-authored-by: jose-donato <zmcdonato@gmail.com>
2022-01-15 02:06:00 +00:00
Artem Veremey
7b3852a25a Initial implementation of logging (#1069)
* Initial implementation of logging

* Fixing pyupgrade

* Fixing pylint

* Updating per suggestions
2021-12-19 10:32:27 +03:00
jmaslek
0263f41cbe Sort imports using isort (#674) 2021-08-16 07:59:52 -04:00
colin99d
7f05e2e7ae Added __init__ files and updated files for pylint (#649)
* Added init files fixed pylint

* Updated coverage settings

* Fixing pylint issues

* Refactored residual_api imports

* Fixing pylint

* Fixing pylint

* Update fx_view.py

* Fixed black

* Removing ignore

Co-authored-by: Colin Delahunty <colindelahunty@Colins-Air.attlocal.net>
2021-08-08 19:03:55 +01:00
DidierRLopes
e1612f905d Update donation section with patreon (#526)
* Update donation section with patreon

* Update based on pylint update it seems

* remove git import to fix bugs

* another pylint complain

* pylint stop crying pls
2021-06-30 00:22:03 +01:00
Artem Veremey
eeb8bb6cef Flake8 2021-03-30 13:25:53 -07:00
Artem Veremey
7556cefe6e Wrap pyplot in an exception block 2021-03-30 13:23:48 -07:00
clothespin
d58264eb35 devry: we're serious about success 2021-03-17 18:55:47 -07:00
clothespin
83cfb5b093 Guess who's back? Back again? Linter's back! Tell a friend 2021-03-17 18:51:23 -07:00
clothespin
081ea2818a Adds warning message and fallback for exception handling in menu.py 2021-03-17 18:49:23 -07:00
clothespin
2b045329ce the linter always goes up 2021-03-16 17:46:44 -07:00
clothespin
132e890ca7 Adds prompt_toolkit inputhook using helper func since kwarg was removed 2021-03-16 17:44:14 -07:00
clothespin
6807c00226 whoops pass the function don't call it 2021-03-15 21:00:04 -07:00
clothespin
0573a583be Registers pyplot.draw as inputhook for prompt_toolkit 2021-03-15 20:49:52 -07:00
Artem Veremey
f8c3ef02ba Clear flake8 2021-03-10 14:04:06 -08:00
Artem Veremey
9af480dc62 Fix the prompt behavior if terminal is not tty 2021-03-10 13:59:45 -08:00
Ricardo Ferraz Leal
192a3a70ca Tests with prompt-toolkit 2021-03-09 22:55:18 -05:00