From 94653b8d61faedf642f5bcfd32aa325a6c2b474b Mon Sep 17 00:00:00 2001 From: LGTM Migrator Date: Fri, 11 Nov 2022 00:54:16 +0000 Subject: [PATCH 1/5] Add CodeQL workflow for GitHub code scanning --- .github/workflows/codeql.yml | 41 ++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/codeql.yml diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000..cef9bc9 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,41 @@ +name: "CodeQL" + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + schedule: + - cron: "11 13 * * 3" + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + language: [ python ] + + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: ${{ matrix.language }} + queries: +security-and-quality + + - name: Autobuild + uses: github/codeql-action/autobuild@v2 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 + with: + category: "/language:${{ matrix.language }}" From 3fa2f20712df7dfe888bd4c1134d74c64e1f0a35 Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Wed, 1 Feb 2023 01:08:09 -0500 Subject: [PATCH 2/5] Update black from 22.10.0 to 23.1.0 --- requirements_dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_dev.txt b/requirements_dev.txt index 2457a6a..5e864af 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -12,4 +12,4 @@ pytest==7.1.3 pytest-runner==6.0.0 vcrpy==2.1.1 twine==4.0.2 -black==22.10.0 +black==23.1.0 From cb0fc1b58b08e6f9904c04730ac4443ad33ec69c Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Thu, 16 Mar 2023 16:10:02 -0400 Subject: [PATCH 3/5] Update coverage from 6.5.0 to 7.2.2 --- requirements_dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_dev.txt b/requirements_dev.txt index 2457a6a..4c3b9c9 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -4,7 +4,7 @@ wheel==0.38.4 watchdog==2.1.9 flake8==5.0.4 tox==3.26.0 -coverage==6.5.0 +coverage==7.2.2 cryptography==38.0.2 Sphinx==5.3.0 PyYAML==6.0 From 56812c019f1f7b8f75e7d9dae815e18c892ccf91 Mon Sep 17 00:00:00 2001 From: Cameron Yick Date: Tue, 28 Mar 2023 20:25:42 -0400 Subject: [PATCH 4/5] update black formatting for latest black version --- tiingo/api.py | 1 - tiingo/wsclient.py | 1 - 2 files changed, 2 deletions(-) diff --git a/tiingo/api.py b/tiingo/api.py index 9bd90b2..11f647c 100644 --- a/tiingo/api.py +++ b/tiingo/api.py @@ -265,7 +265,6 @@ class TiingoClient(RestClient): frequency="daily", fmt="json", ): - """Return a pandas.DataFrame of historical prices for one or more ticker symbols. By default, return latest EOD Composite Price for a list of stock tickers. diff --git a/tiingo/wsclient.py b/tiingo/wsclient.py index 63a7ff1..2f3ec6a 100644 --- a/tiingo/wsclient.py +++ b/tiingo/wsclient.py @@ -40,7 +40,6 @@ class TiingoWebsocketClient: """ def __init__(self, config=None, endpoint=None, on_msg_cb=None): - self._base_url = "wss://api.tiingo.com" self.config = {} if config is None else config From 06421235f76873aaae56382a73f2f3f6eaf48a39 Mon Sep 17 00:00:00 2001 From: Cameron Yick Date: Tue, 28 Mar 2023 20:21:53 -0400 Subject: [PATCH 5/5] build: replace python 3.6 testing with 3.9 --- .github/workflows/python-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index e19bba2..56336f6 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.6', '3.7', '3.8'] + python-version: ['3.7', '3.8', '3.9'] WITH_PANDAS: [false, true] steps: