Skip to content

Commit

Permalink
Fix flake8 failure (#124)
Browse files Browse the repository at this point in the history
* Fix flake8 failure

* Add codecov token and bump codecov action

---------

Co-authored-by: Jay Qi <jayqi@users.noreply.github.com>
  • Loading branch information
jayqi and jayqi committed Jul 31, 2023
1 parent 379ff06 commit 70c5ff8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,9 @@ jobs:
timeout-minutes: 1

- name: Upload coverage to codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
fail_ci_if_error: true
if: matrix.os == 'ubuntu-latest'
Expand Down
2 changes: 1 addition & 1 deletion tests/test_jupyter_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def test_parse_version():
sortable when we compare against previously installed initialize blocks.
"""
version = parse_version(__version__)
assert type(version) == Version
assert isinstance(version, Version)


def test_initialize_block_content():
Expand Down

0 comments on commit 70c5ff8

Please sign in to comment.