Remove encoding specifics, gitattributes to echeckout as utf8
This commit is contained in:
parent
e0ca3c014c
commit
1cb430f59b
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -1,3 +1,4 @@
|
|||||||
|
* encoding=UTF-8
|
||||||
*.py eol=lf
|
*.py eol=lf
|
||||||
*.sh eol=lf
|
*.sh eol=lf
|
||||||
*.ps1 eol=crlf
|
*.ps1 eol=crlf
|
||||||
|
@ -353,7 +353,7 @@ class Hyperopt:
|
|||||||
f"Total profit {results_metrics['total_profit']: 11.8f} {stake_cur} "
|
f"Total profit {results_metrics['total_profit']: 11.8f} {stake_cur} "
|
||||||
f"({results_metrics['profit']: 7.2f}\N{GREEK CAPITAL LETTER SIGMA}%). "
|
f"({results_metrics['profit']: 7.2f}\N{GREEK CAPITAL LETTER SIGMA}%). "
|
||||||
f"Avg duration {results_metrics['duration']:5.1f} min."
|
f"Avg duration {results_metrics['duration']:5.1f} min."
|
||||||
).encode('utf-8', 'replace').decode('utf-8')
|
)
|
||||||
|
|
||||||
def get_optimizer(self, dimensions: List[Dimension], cpu_count) -> Optimizer:
|
def get_optimizer(self, dimensions: List[Dimension], cpu_count) -> Optimizer:
|
||||||
return Optimizer(
|
return Optimizer(
|
||||||
|
Loading…
Reference in New Issue
Block a user