Skip to content

Commit

Permalink
Bump actions/checkout from 3 to 4 (#926)
Browse files Browse the repository at this point in the history
* Bump actions/checkout from 3 to 4

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fix flake8 errors on type comparison

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jan Pieter Waagmeester <[email protected]>
  • Loading branch information
dependabot[bot] and jieter authored Oct 17, 2023
1 parent 966a41c commit 0e8d524
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: python -m pip install --upgrade black
- run: black --check .

flake8:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: python -m pip install flake8
- run: flake8

isort:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: python -m pip install -r requirements/common.pip isort==5.6.4
- run: isort --diff --check django_tables2 test

Expand All @@ -42,7 +42,7 @@ jobs:
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
path: ~/.cache/pip
Expand All @@ -61,7 +61,7 @@ jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
python-version: "3.11"
Expand Down
2 changes: 1 addition & 1 deletion tests/columns/test_timecolumn.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Table(tables.Table):
class Meta:
model = TimeModel

assert type(Table.base_columns["field"]) == tables.TimeColumn
assert type(Table.base_columns["field"]) is tables.TimeColumn

def test_value_returns_a_raw_value_without_html(self):
class Table(tables.Table):
Expand Down
2 changes: 1 addition & 1 deletion tests/columns/test_urlcolumn.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Table(tables.Table):
class Meta:
model = URLModel

assert type(Table.base_columns["field"]) == tables.URLColumn
assert type(Table.base_columns["field"]) is tables.URLColumn

def test_text_can_be_overridden(self):
class Table(tables.Table):
Expand Down

0 comments on commit 0e8d524

Please sign in to comment.