Skip to content

Commit

Permalink
ci: fix linting errors running pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Aug 7, 2024
1 parent 5688c41 commit 7c9d263
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions osm_login_python/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
"""Models to return validated JSON."""

from pydantic import BaseModel


class Login(BaseModel):
"""Model to return the login url."""

login_url: str


class Token(BaseModel):
"""Model to return the access token."""

access_token: str
1 change: 1 addition & 0 deletions tests/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""Test for the package."""
1 change: 1 addition & 0 deletions tests/test_app.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""Test the main module logic."""

0 comments on commit 7c9d263

Please sign in to comment.