Skip to content

Commit 3393f62

Browse files
[pre-commit.ci] pre-commit autoupdate (AI4Finance-Foundation#1163)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 23.12.1 → 24.1.1](psf/black@23.12.1...24.1.1) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 1673ea2 commit 3393f62

File tree

7 files changed

+7
-1
lines changed

7 files changed

+7
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repos:
2121
- id: pyupgrade
2222
args: [--py37-plus]
2323
- repo: https://github.com/psf/black
24-
rev: 23.12.1
24+
rev: 24.1.1
2525
hooks:
2626
- id: black
2727
- repo: https://github.com/PyCQA/flake8

finrl/agents/elegantrl/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
DRL models from ElegantRL: https://github.com/AI4Finance-Foundation/ElegantRL
33
"""
4+
45
from __future__ import annotations
56

67
import torch

finrl/agents/portfolio_optimization/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
DRL models to solve the portfolio optimization task with reinforcement learning.
33
This agent was developed to work with environments like PortfolioOptimizationEnv.
44
"""
5+
56
from __future__ import annotations
67

78
from .algorithms import PolicyGradient

finrl/meta/data_processors/processor_yahoofinance.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Reference: https://github.com/AI4Finance-LLC/FinRL"""
2+
23
from __future__ import annotations
34

45
import datetime

finrl/meta/env_portfolio_optimization/env_portfolio_optimization.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""From FinRL https://github.com/AI4Finance-LLC/FinRL/tree/master/finrl/env"""
2+
23
from __future__ import annotations
34

45
import math

finrl/meta/preprocessor/tusharedownloader.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""Contains methods and classes to collect data from
22
tushare API
33
"""
4+
45
from __future__ import annotations
56

67
import pandas as pd

finrl/meta/preprocessor/yahoodownloader.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""Contains methods and classes to collect data from
22
Yahoo Finance API
33
"""
4+
45
from __future__ import annotations
56

67
import pandas as pd

0 commit comments

Comments
 (0)