Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pre-commit/action from 3.0.0 to 3.0.1 #6

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: "3.x"
- uses: pre-commit/[email protected].0
- uses: pre-commit/[email protected].1
with:
extra_args: --hook-stage manual --all-files
- name: Run PyLint
Expand Down
1 change: 1 addition & 0 deletions pystocktopus/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

import datetime
import json

from polygon import RESTClient

import pystocktopus.config as config
Expand Down
3 changes: 2 additions & 1 deletion pystocktopus/news_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@

import pandas as pd
from newsapi import NewsApiClient
from pystocktopus.config import news_api
from transformers import pipeline

from pystocktopus.config import news_api


class News:
"""Class for handling news data."""
Expand Down
2 changes: 1 addition & 1 deletion stock-env/bin/Activate.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ command:

PS C:\> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

For more information on Execution Policies:
For more information on Execution Policies:
https://go.microsoft.com/fwlink/?LinkID=135170

#>
Expand Down
9 changes: 6 additions & 3 deletions stock-env/bin/coverage
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/Users/akhilsharma/Downloads/porfolio/Stock/stock-env/bin/python3.10
# -*- coding: utf-8 -*-
from __future__ import annotations

import re
import sys

from coverage.cmdline import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])

if __name__ == "__main__":
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
sys.exit(main())
9 changes: 6 additions & 3 deletions stock-env/bin/coverage-3.10
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/Users/akhilsharma/Downloads/porfolio/Stock/stock-env/bin/python3.10
# -*- coding: utf-8 -*-
from __future__ import annotations

import re
import sys

from coverage.cmdline import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])

if __name__ == "__main__":
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
sys.exit(main())
9 changes: 6 additions & 3 deletions stock-env/bin/coverage3
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/Users/akhilsharma/Downloads/porfolio/Stock/stock-env/bin/python3.10
# -*- coding: utf-8 -*-
from __future__ import annotations

import re
import sys

from coverage.cmdline import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])

if __name__ == "__main__":
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
sys.exit(main())
9 changes: 6 additions & 3 deletions stock-env/bin/cygdb
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/Users/akhilsharma/Downloads/porfolio/Stock/stock-env/bin/python3.10
# -*- coding: utf-8 -*-
from __future__ import annotations

import re
import sys

from Cython.Debugger.Cygdb import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])

if __name__ == "__main__":
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
sys.exit(main())
9 changes: 6 additions & 3 deletions stock-env/bin/cython
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/Users/akhilsharma/Downloads/porfolio/Stock/stock-env/bin/python3.10
# -*- coding: utf-8 -*-
from __future__ import annotations

import re
import sys

from Cython.Compiler.Main import setuptools_main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])

if __name__ == "__main__":
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
sys.exit(setuptools_main())
9 changes: 6 additions & 3 deletions stock-env/bin/cythonize
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/Users/akhilsharma/Downloads/porfolio/Stock/stock-env/bin/python3.10
# -*- coding: utf-8 -*-
from __future__ import annotations

import re
import sys

from Cython.Build.Cythonize import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])

if __name__ == "__main__":
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
sys.exit(main())
9 changes: 6 additions & 3 deletions stock-env/bin/estimator_ckpt_converter
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/Users/akhilsharma/Downloads/porfolio/Stock/stock-env/bin/python3.10
# -*- coding: utf-8 -*-
from __future__ import annotations

import re
import sys

from tensorflow_estimator.python.estimator.tools.checkpoint_converter import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])

if __name__ == "__main__":
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
sys.exit(main())
9 changes: 6 additions & 3 deletions stock-env/bin/f2py
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/Users/akhilsharma/Downloads/porfolio/Stock/stock-env/bin/python3.10
# -*- coding: utf-8 -*-
from __future__ import annotations

import re
import sys

from numpy.f2py.f2py2e import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])

if __name__ == "__main__":
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
sys.exit(main())
9 changes: 6 additions & 3 deletions stock-env/bin/fonttools
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/Users/akhilsharma/Downloads/porfolio/Stock/stock-env/bin/python3.10
# -*- coding: utf-8 -*-
from __future__ import annotations

import re
import sys

from fontTools.__main__ import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])

if __name__ == "__main__":
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
sys.exit(main())
9 changes: 6 additions & 3 deletions stock-env/bin/google-oauthlib-tool
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/Users/akhilsharma/Downloads/porfolio/Stock/stock-env/bin/python3.10
# -*- coding: utf-8 -*-
from __future__ import annotations

import re
import sys

from google_auth_oauthlib.tool.__main__ import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])

if __name__ == "__main__":
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
sys.exit(main())
9 changes: 6 additions & 3 deletions stock-env/bin/huggingface-cli
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/Users/akhilsharma/Downloads/porfolio/Stock/stock-env/bin/python3.10
# -*- coding: utf-8 -*-
from __future__ import annotations

import re
import sys

from huggingface_hub.commands.huggingface_cli import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])

if __name__ == "__main__":
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
sys.exit(main())
9 changes: 6 additions & 3 deletions stock-env/bin/import_pb_to_tensorboard
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/Users/akhilsharma/Downloads/porfolio/Stock/stock-env/bin/python3.10
# -*- coding: utf-8 -*-
from __future__ import annotations

import re
import sys

from tensorflow.python.tools.import_pb_to_tensorboard import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])

if __name__ == "__main__":
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
sys.exit(main())
9 changes: 6 additions & 3 deletions stock-env/bin/markdown_py
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/Users/akhilsharma/Downloads/porfolio/Stock/stock-env/bin/python3.10
# -*- coding: utf-8 -*-
from __future__ import annotations

import re
import sys

from markdown.__main__ import run
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])

if __name__ == "__main__":
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
sys.exit(run())
9 changes: 6 additions & 3 deletions stock-env/bin/normalizer
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/Users/akhilsharma/Downloads/porfolio/Stock/stock-env/bin/python3.10
# -*- coding: utf-8 -*-
from __future__ import annotations

import re
import sys

from charset_normalizer.cli import cli_detect
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])

if __name__ == "__main__":
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
sys.exit(cli_detect())
9 changes: 6 additions & 3 deletions stock-env/bin/pip
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/Users/akhilsharma/Downloads/porfolio/Stock/stock-env/bin/python3.10
# -*- coding: utf-8 -*-
from __future__ import annotations

import re
import sys

from pip._internal.cli.main import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])

if __name__ == "__main__":
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
sys.exit(main())
9 changes: 6 additions & 3 deletions stock-env/bin/pip3
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/Users/akhilsharma/Downloads/porfolio/Stock/stock-env/bin/python3.10
# -*- coding: utf-8 -*-
from __future__ import annotations

import re
import sys

from pip._internal.cli.main import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])

if __name__ == "__main__":
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
sys.exit(main())
9 changes: 6 additions & 3 deletions stock-env/bin/pip3.10
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/Users/akhilsharma/Downloads/porfolio/Stock/stock-env/bin/python3.10
# -*- coding: utf-8 -*-
from __future__ import annotations

import re
import sys

from pip._internal.cli.main import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])

if __name__ == "__main__":
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
sys.exit(main())
9 changes: 6 additions & 3 deletions stock-env/bin/py.test
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/Users/akhilsharma/Downloads/porfolio/Stock/stock-env/bin/python3.10
# -*- coding: utf-8 -*-
from __future__ import annotations

import re
import sys

from pytest import console_main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])

if __name__ == "__main__":
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
sys.exit(console_main())
9 changes: 6 additions & 3 deletions stock-env/bin/pyftmerge
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/Users/akhilsharma/Downloads/porfolio/Stock/stock-env/bin/python3.10
# -*- coding: utf-8 -*-
from __future__ import annotations

import re
import sys

from fontTools.merge import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])

if __name__ == "__main__":
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
sys.exit(main())
9 changes: 6 additions & 3 deletions stock-env/bin/pyftsubset
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/Users/akhilsharma/Downloads/porfolio/Stock/stock-env/bin/python3.10
# -*- coding: utf-8 -*-
from __future__ import annotations

import re
import sys

from fontTools.subset import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])

if __name__ == "__main__":
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
sys.exit(main())
9 changes: 6 additions & 3 deletions stock-env/bin/pyrsa-decrypt
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/Users/akhilsharma/Downloads/porfolio/Stock/stock-env/bin/python3.10
# -*- coding: utf-8 -*-
from __future__ import annotations

import re
import sys

from rsa.cli import decrypt
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])

if __name__ == "__main__":
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
sys.exit(decrypt())
9 changes: 6 additions & 3 deletions stock-env/bin/pyrsa-encrypt
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/Users/akhilsharma/Downloads/porfolio/Stock/stock-env/bin/python3.10
# -*- coding: utf-8 -*-
from __future__ import annotations

import re
import sys

from rsa.cli import encrypt
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])

if __name__ == "__main__":
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
sys.exit(encrypt())
9 changes: 6 additions & 3 deletions stock-env/bin/pyrsa-keygen
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/Users/akhilsharma/Downloads/porfolio/Stock/stock-env/bin/python3.10
# -*- coding: utf-8 -*-
from __future__ import annotations

import re
import sys

from rsa.cli import keygen
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])

if __name__ == "__main__":
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
sys.exit(keygen())
9 changes: 6 additions & 3 deletions stock-env/bin/pyrsa-priv2pub
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/Users/akhilsharma/Downloads/porfolio/Stock/stock-env/bin/python3.10
# -*- coding: utf-8 -*-
from __future__ import annotations

import re
import sys

from rsa.util import private_to_public
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])

if __name__ == "__main__":
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
sys.exit(private_to_public())
Loading
Loading