Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 29, 2024
1 parent 8d7ccbc commit a3ec1c7
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions conftest.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
"""Configure the source for `pytest` fixtures."""

pytest_plugins = "pyspry.pytest_fixtures"
1 change: 1 addition & 0 deletions src/pyspry/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Configure test execution for `doctest`."""

from __future__ import annotations

# stdlib
Expand Down
1 change: 1 addition & 0 deletions src/pyspry/keysview/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Define a `KeysView` class based on the current Python interpreter version."""

# stdlib
import sys

Expand Down
1 change: 1 addition & 0 deletions src/pyspry/keysview/py38.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Override the `collections.abc.KeysView` class for Python 3.8."""

# stdlib
from collections.abc import KeysView, Mapping
from typing import Iterator
Expand Down
1 change: 1 addition & 0 deletions src/pyspry/keysview/py38plus.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Override `typing.KeysView` for Python >3.8."""

# stdlib
import logging
import typing
Expand Down
1 change: 1 addition & 0 deletions src/pyspry/nested_dict.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Define a `NestedDict` class designed for nested configuration settings."""

from __future__ import annotations

# stdlib
Expand Down
1 change: 1 addition & 0 deletions src/pyspry/pytest_fixtures.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Define fixtures for this package's test suite."""

from __future__ import annotations

# stdlib
Expand Down
1 change: 1 addition & 0 deletions src/pyspry/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
To update the settings in this module, open the default YAML file path and change the settings
there.
"""

# local
from pyspry.base import SettingsContainer

Expand Down
1 change: 1 addition & 0 deletions tests/acceptance_tests/test_bug5.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Reproduce the error from [#5](https://gitlab.com/bfosi/pyspry/-/issues/5)."""

from __future__ import annotations

# stdlib
Expand Down
1 change: 1 addition & 0 deletions tests/acceptance_tests/test_feat6.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Define acceptance tests for feat(#6)."""

from __future__ import annotations

# stdlib
Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Reuse `pytest` configuration from the `pyspry` package."""

from __future__ import annotations

# stdlib
Expand Down
1 change: 1 addition & 0 deletions tests/test_base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Execute component-level tests for the `pyspry` package."""

from __future__ import annotations

# stdlib
Expand Down
1 change: 1 addition & 0 deletions tests/test_nested_dict.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Execute tests for the `pyspry.nested_dict` module."""

from __future__ import annotations

# stdlib
Expand Down

0 comments on commit a3ec1c7

Please sign in to comment.