Feature/macro convert (#3924)

* 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

* Issue #3882 Fixed

* 2 files reformatted by black

* tests added

* 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

* fixed mypy errors

* Fixed parser options for currency conversion

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
This commit is contained in:
Mert Nuhuz
2023-01-16 19:32:46 +03:00
committed by GitHub
parent d7457dee49
commit a00e90a8d2

View File

@@ -544,7 +544,7 @@ class EconomyController(BaseController):
dest="currency",
help="Convert the currency of the chosen country to a specified currency. To find the "
"currency symbols use '--show countries'",
choices=econdb_model.COUNTRY_CURRENCIES,
choices=econdb_model.COUNTRY_CURRENCIES.values(),
default=False,
)
if other_args and "-" not in other_args[0][0]: