Skip to content

Commit

Permalink
Fix Enum problem with python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Emrys-Merlin committed Sep 7, 2024
1 parent 15217a0 commit ffee4aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ on:
branches: [ "main" ]

jobs:
build:

test:
name: Test on Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down
4 changes: 2 additions & 2 deletions src/web_watchr/compare/abstract_comparer.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from abc import ABC, abstractmethod
from enum import StrEnum, auto
from enum import Enum, auto

from pydantic import BaseModel


class Status(StrEnum):
class Status(Enum):
CHANGED = auto()
NO_CHANGES = auto()

Expand Down

0 comments on commit ffee4aa

Please sign in to comment.