Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

black==24.3.0 #277

Merged
merged 1 commit into from
Mar 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Upgrade Black
ggravlingen committed Mar 29, 2024
commit 1ae11d88f81a3eacb9ca33cf63b17ec393e4efea
1 change: 1 addition & 0 deletions pygleif/api/data.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Data."""

from datetime import datetime
from typing import Any

1 change: 1 addition & 0 deletions pygleif/api/meta.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Meta data."""

from datetime import datetime

from pydantic.v1 import BaseModel, Field
1 change: 1 addition & 0 deletions pygleif/const.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Constants."""

URL_API = "https://api.gleif.org/api/v1/lei-records/"
URL_SEARCH = "https://api.gleif.org/api/v1/lei-records?filter%5Bfulltext%5D="

1 change: 1 addition & 0 deletions pygleif/gleif.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""GLEIF API."""

from .api import GLEIFResponse
from .const import URL_API
from .utils import load_json
1 change: 1 addition & 0 deletions pygleif/search.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Search."""

from __future__ import annotations

from pygleif.api import SearchResponse
1 change: 1 addition & 0 deletions pygleif/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Utility functions."""

from __future__ import annotations

import json
2 changes: 1 addition & 1 deletion requirements_test.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
black==23.12.1
black==24.3.0
coverage==7.4.3
mypy==1.8.0
pre-commit==3.6.2
1 change: 1 addition & 0 deletions tests/test_gleif.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests."""

import pytest

from pygleif import PyGleif