Skip to content

Commit

Permalink
Bump black from 23.12.1 to 24.1.1 (#114)
Browse files Browse the repository at this point in the history
* Bump black from 23.12.1 to 24.1.1

Bumps [black](https://github.com/psf/black) from 23.12.1 to 24.1.1.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@23.12.1...24.1.1)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

* lint

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: vvillait88 <[email protected]>
  • Loading branch information
dependabot[bot] and vvillait88 authored Feb 10, 2024
1 parent 025abe6 commit aef99bf
Show file tree
Hide file tree
Showing 41 changed files with 28 additions and 67 deletions.
48 changes: 24 additions & 24 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "peopledatalabs"
version = "3.0.5"
version = "3.0.6"
description = "Official Python client for the People Data Labs API"
homepage = "https://www.peopledatalabs.com"
repository = "https://github.com/peopledatalabs/peopledatalabs-python"
Expand Down Expand Up @@ -36,7 +36,7 @@ requests = "^2"

[tool.poetry.dev-dependencies]
autoflake = "^1.7"
black = "^23.12.1"
black = "^24.1.1"
coverage = "^7.4.0"
docformatter = "^1.7"
flake8 = "^5.0.4"
Expand Down
3 changes: 1 addition & 2 deletions src/peopledatalabs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
PeopleDataLabs Python Client.
"""


from .main import PDLPY


__version__ = "3.0.5"
__version__ = "3.0.6"

__all__ = ["PDLPY"]
1 change: 0 additions & 1 deletion src/peopledatalabs/endpoints/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Package to resolve endpoints from the People Data Labs' API.
"""


from typing import Type

from pydantic.v1 import (
Expand Down
1 change: 0 additions & 1 deletion src/peopledatalabs/endpoints/company.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Defines all API endpoints for the 'Company' section.
"""


from pydantic.v1.dataclasses import dataclass

from . import Endpoint
Expand Down
1 change: 0 additions & 1 deletion src/peopledatalabs/endpoints/location.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Defines all API endpoints for the 'Location' section.
"""


from pydantic.v1.dataclasses import dataclass

from . import Endpoint
Expand Down
1 change: 0 additions & 1 deletion src/peopledatalabs/endpoints/person.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Defines all API endpoints for the 'Person' section.
"""


from pydantic.v1 import (
StrictStr,
validate_arguments,
Expand Down
1 change: 0 additions & 1 deletion src/peopledatalabs/endpoints/school.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Defines all API endpoints for the 'School' section.
"""


from pydantic.v1.dataclasses import dataclass

from . import Endpoint
Expand Down
1 change: 0 additions & 1 deletion src/peopledatalabs/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from different modules (and tests).
"""


import logging

from .settings import settings
Expand Down
1 change: 0 additions & 1 deletion src/peopledatalabs/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Client's main module.
"""


from pydantic.v1 import (
HttpUrl,
constr,
Expand Down
1 change: 0 additions & 1 deletion src/peopledatalabs/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Client's models for validation.
"""


from enum import Enum
from typing import Optional

Expand Down
1 change: 0 additions & 1 deletion src/peopledatalabs/models/company.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Models for input parameters of the Company APIs.
"""


from typing import List, Optional, Union

from pydantic.v1 import (
Expand Down
1 change: 0 additions & 1 deletion src/peopledatalabs/models/location.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Models for input parameters of the Location APIs.
"""


from . import BaseRequestModel


Expand Down
1 change: 0 additions & 1 deletion src/peopledatalabs/models/person.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Models for input parameters of the Person APIs.
"""


from enum import Enum
from typing import List, Optional, Union

Expand Down
1 change: 0 additions & 1 deletion src/peopledatalabs/models/school.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Models for input parameters of the School APIs.
"""


from typing import Optional

from pydantic.v1 import root_validator
Expand Down
1 change: 0 additions & 1 deletion src/peopledatalabs/requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
All requests are handled here.
"""


import json
from typing import Dict, Type

Expand Down
1 change: 0 additions & 1 deletion src/peopledatalabs/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Utility scripts which do not strictly belong to any other module.
"""


import functools

from .errors import EmptyParametersException
Expand Down
1 change: 0 additions & 1 deletion tests/client/test_autocomplete.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Tests calls to the autocomplete API.
"""


import logging
import pytest

Expand Down
3 changes: 1 addition & 2 deletions tests/client/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
All tests related to the client instance.
"""


import logging

import pytest
Expand All @@ -20,7 +19,7 @@ def test_version():
"""
Version check.
"""
assert __version__ == "3.0.5"
assert __version__ == "3.0.6"


@pytest.mark.usefixtures("fake_api_key")
Expand Down
1 change: 0 additions & 1 deletion tests/client/test_ip.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Tests calls to the ip API.
"""


import logging
import pytest

Expand Down
1 change: 0 additions & 1 deletion tests/client/test_job_title.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Tests calls to the job_title API.
"""


import logging
import pytest

Expand Down
1 change: 0 additions & 1 deletion tests/client/test_skill.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Tests calls to the skill API.
"""


import logging
import pytest

Expand Down
1 change: 0 additions & 1 deletion tests/company/endpoints/test_bulk.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Tests calls to the person/bulk API.
"""


import logging
import pytest

Expand Down
1 change: 0 additions & 1 deletion tests/company/endpoints/test_company_cleaner.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Tests calls to the company/clean API.
"""


import logging
import pytest

Expand Down
1 change: 0 additions & 1 deletion tests/company/endpoints/test_enrichment.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Tests calls to the company/enrich API.
"""


import logging
import pytest

Expand Down
1 change: 0 additions & 1 deletion tests/company/endpoints/test_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Tests calls to the company/search API.
"""


import logging
import pytest

Expand Down
1 change: 0 additions & 1 deletion tests/company/test_company.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
All tests related to the Company object of the client instance.
"""


import logging
import pytest

Expand Down
1 change: 0 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Pytest testing configuration file.
"""


import uuid

import os
Expand Down
1 change: 0 additions & 1 deletion tests/location/endpoints/test_location_cleaner.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Tests calls to the location/clean API.
"""


import logging
import pytest

Expand Down
1 change: 0 additions & 1 deletion tests/location/test_location.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
All tests related to the Location object of the client instance.
"""


import logging
import pytest

Expand Down
1 change: 0 additions & 1 deletion tests/person/endpoints/test_bulk.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Tests calls to the person/bulk API.
"""


import logging
import pytest

Expand Down
1 change: 0 additions & 1 deletion tests/person/endpoints/test_enrichment.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Tests calls to the person/enrich API.
"""


import logging
import pytest

Expand Down
1 change: 0 additions & 1 deletion tests/person/endpoints/test_identify.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Tests calls to the person/identify API.
"""


import logging
import pytest

Expand Down
1 change: 0 additions & 1 deletion tests/person/endpoints/test_retrieve.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Tests calls to the person/retrieve API.
"""


import logging
import pytest

Expand Down
1 change: 0 additions & 1 deletion tests/person/endpoints/test_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Tests calls to the person/search API.
"""


import logging
import pytest

Expand Down
1 change: 0 additions & 1 deletion tests/person/test_person.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
All tests related to the Person object of the client instance.
"""


import logging
import pytest

Expand Down
1 change: 0 additions & 1 deletion tests/sandbox/person/test_sandbox_enrich.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Tests calls to the sandbox person/enrich API.
"""


import logging
import pytest

Expand Down
1 change: 0 additions & 1 deletion tests/sandbox/person/test_sandbox_identify.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Tests calls to the sandbox person/identify API.
"""


import logging
import pytest

Expand Down
1 change: 0 additions & 1 deletion tests/sandbox/person/test_sandbox_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Tests calls to the sandbox person/search API.
"""


import logging
import pytest

Expand Down
1 change: 0 additions & 1 deletion tests/school/endpoints/test_school_cleaner.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Tests calls to the school/clean API.
"""


import logging
import pytest

Expand Down
Loading

0 comments on commit aef99bf

Please sign in to comment.