diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f8b2178e..4b1e80c6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: with: python-version: 3.8 - - uses: actions/cache@v1 + - uses: actions/cache@v3 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }} @@ -47,14 +47,14 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 with: fetch-depth: 1 - - name: Set up Python 3.7 - uses: actions/setup-python@v1 + - name: Set up Python 3.8 + uses: actions/setup-python@v2 with: - python-version: 3.7 + python-version: 3.8 - name: Install requirements.txt dependencies with pip run: | diff --git a/.gitignore b/.gitignore index ee8b5353..2ad6ffb4 100644 --- a/.gitignore +++ b/.gitignore @@ -14,4 +14,5 @@ pylint.out posthog-analytics .idea .python-version -.coverage \ No newline at end of file +.coverage +pyrightconfig.json \ No newline at end of file diff --git a/example.py b/example.py index 885fb56a..8888e7ef 100644 --- a/example.py +++ b/example.py @@ -1,7 +1,7 @@ # PostHog Python library example # Import the library -import time +# import time import posthog