diff --git a/birdxplorer/models.py b/birdxplorer/models.py index 9fce8b8..3dbc6b9 100644 --- a/birdxplorer/models.py +++ b/birdxplorer/models.py @@ -449,8 +449,7 @@ class Message(BaseModel): message: str -class ParticipantId(UpperCased64DigitsHexadecimalString): - ... +class ParticipantId(UpperCased64DigitsHexadecimalString): ... class EnrollmentState(str, Enum): diff --git a/pyproject.toml b/pyproject.toml index 150b2bb..209cf02 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -71,6 +71,7 @@ addopts = ["-sv", "--doctest-modules", "--cov=birdxplorer", "--cov-report=xml", testpaths = ["tests", "birdxplorer"] filterwarnings = [ "error", + "ignore:The \\'app\\' shortcut is now deprecated. Use the explicit style \\'transport=WSGITransport\\(app=\\.\\.\\.\\)\\' instead\\.", ] [tool.black] @@ -79,7 +80,7 @@ target-version = ['py310'] [tool.flake8] max-line-length = 120 -extend-ignore = "E203" +extend-ignore = "E203,E701" [tool.mypy] python_version = "3.10"