Commit Graph

11 Commits

Author SHA1 Message Date
Colin Delahunty
1ca7fd9beb Improves the settings/userdata command, and upgrade ruff (#5359)
* Began the fax

* Bumped ruff

* Fixed a BUNCH of ruff errors

* Fixed a lot of ruff errors

* Simplify if statements

* Fixed black

* Updated some stuff

* Updated some stuff

* A lot more ruff fixes

* Added a fix

* Added a fix

* Fixed mypy

* Fixed some stuff

* Reverted one thing

* Small fix

* Small fix

* Small fix

* Added fix

* Added fix

* Update requirements
2023-08-22 20:11:48 +00:00
montezdesousa
b4a7ed0ab4 Allow special characters in autocompletion and improve sources controller (#4698)
* allow empty spaces between sources commands

* allow special characters in autocomplete

* update parse input

* repeated character

* improve sources controller

* pylint?

* help was not working on set

* display file only if exists and has dat

* lowercase

* skip ultima test

* update default sources instead of replacing

* change var names

* revert, need to think better about this

* Update test_ultima_newsmonitor_model.py

---------

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
2023-04-08 16:48:43 +00:00
Colin Delahunty
cebf454cdf Added flake8-simplify (#4227)
* Added flake8-simplify

* Update linting.yml

* update.  left 1 for you colin

* Fix that one

* Missed

* Fix

* mypy

---------

Co-authored-by: james <jmaslek11@gmail.com>
2023-02-20 19:27:34 -05:00
Colin Delahunty
ee34a1f278 Feature/add isort linter (#4114)
* Fixed isort

* Fixed issues

* FIxed linters

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-04 21:24:47 -05:00
Henrique Joaquim
a37d9032e3 Hotfix/fix black (#4101)
* Fix plot look when using eval and add query to choices (#3881)

* convert index to datetime and update choices

* uncomment economy integration test

* fix treasury concat bug

* fix datasets concat on duplciates

* Lock ruff version so that new lints dont break our CI (#3905)

* Lock ruff version so that new lints dont break our CI

* Bumped pre-commit ruff version

* returning always a dataframe

* Revert "returning always a dataframe"

This reverts commit d5dbf3132f.

* black everything

---------
2023-02-01 12:33:15 +00:00
Colin Delahunty
be2c2a33d7 Convert flake8 to ruff (#3855)
* Final ruff fixes

* Added fixes

* Removed fixes

* Updated dependencies

* More updates

* revert test change

* Added fixes

* Final change

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-01-04 10:21:31 -05:00
Colin Delahunty
86f2e5622a Fix Various portfolio/po issues (#3286)
* Allow for loading without -f flag

* Massive upgrade to params file read/write

* Better handling empty dfs and none in prompt toolkit

* Fix tr typing and handle none error

* Added options

* Fixed tests

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-11-04 15:10:50 -04:00
James Maslek
b5f36fab72 Auto complete update (#3274) 2022-11-02 23:10:46 +00:00
Colin Delahunty
222c01577f Added non check (#2870)
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: Chavithra <chavithra@gmail.com>
2022-10-17 13:03:00 -04:00
northern-64bit
28a0cfd2ee Improved auto completion (#2763)
* Adding improved auto complete to all menus

* Improve autocomplete

* Done

* Linting : fix unused imports

* Tests : fix help messages

* Fixing typing

* Tests : forex

* Tests: stocks

* Stocks/TA

* Linting

* Stocks/insider

* Portfolio/Broker/Degiro

* Linting

Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2022-10-11 16:07:24 +02:00
DidierRLopes
e6eafc0ed9 Improve ux experience through auto completer (#2483)
* improve ux experience through auto completer

* flag unused arg

* refactor economy menu to use autocompleter

* fix edge case of user changing command after having written an input for it

* fix autocomplete with backspace + ycrv coutnry flag

* another fix

* another fix

* final iteration on auto-complete?

* last fix? plus better way to plot multiple datasets in same axis

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-09-06 23:04:23 +01:00