Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#1163)
Browse files Browse the repository at this point in the history
* [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>
  • Loading branch information
pre-commit-ci[bot] authored Jan 31, 2024
1 parent 1673ea2 commit 3393f62
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repos:
- id: pyupgrade
args: [--py37-plus]
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
Expand Down
1 change: 1 addition & 0 deletions finrl/agents/elegantrl/models.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
DRL models from ElegantRL: https://github.com/AI4Finance-Foundation/ElegantRL
"""

from __future__ import annotations

import torch
Expand Down
1 change: 1 addition & 0 deletions finrl/agents/portfolio_optimization/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
DRL models to solve the portfolio optimization task with reinforcement learning.
This agent was developed to work with environments like PortfolioOptimizationEnv.
"""

from __future__ import annotations

from .algorithms import PolicyGradient
Expand Down
1 change: 1 addition & 0 deletions finrl/meta/data_processors/processor_yahoofinance.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Reference: https://github.com/AI4Finance-LLC/FinRL"""

from __future__ import annotations

import datetime
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""From FinRL https://github.com/AI4Finance-LLC/FinRL/tree/master/finrl/env"""

from __future__ import annotations

import math
Expand Down
1 change: 1 addition & 0 deletions finrl/meta/preprocessor/tusharedownloader.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Contains methods and classes to collect data from
tushare API
"""

from __future__ import annotations

import pandas as pd
Expand Down
1 change: 1 addition & 0 deletions finrl/meta/preprocessor/yahoodownloader.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Contains methods and classes to collect data from
Yahoo Finance API
"""

from __future__ import annotations

import pandas as pd
Expand Down

0 comments on commit 3393f62

Please sign in to comment.