Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#146)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 24.10.0 → 25.1.0](psf/black@24.10.0...25.1.0)
- [github.com/pycqa/isort: 5.13.2 → 6.0.0](PyCQA/isort@5.13.2...6.0.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Feb 4, 2025
1 parent 00cf4f0 commit 8b89304
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: 24.10.0
rev: 25.1.0
hooks:
- id: black
args: [--safe, --quiet]
Expand All @@ -17,7 +17,7 @@ repos:
- id: end-of-file-fixer
- id: debug-statements
- repo: https://github.com/pycqa/isort
rev: 5.13.2
rev: 6.0.0
hooks:
- id: isort
name: isort
Expand Down
4 changes: 2 additions & 2 deletions src/oop_ext/foundation/immutable.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# mypy: disallow-untyped-defs
"""
Defines types and functions to generate immutable structures.
Defines types and functions to generate immutable structures.
USER: The cache-manager uses this module to generate a valid KEY for its cache dictionary.
USER: The cache-manager uses this module to generate a valid KEY for its cache dictionary.
"""
from typing import Any
from typing import Dict
Expand Down
18 changes: 9 additions & 9 deletions src/oop_ext/interface/__init__.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
"""
Interfaces module.
Interfaces module.
A Interface describes a behaviour that some objects must implement.
A Interface describes a behaviour that some objects must implement.
To declare a interface, just subclass from Interface::
To declare a interface, just subclass from Interface::
class IFoo(interface.Interface):
...
class IFoo(interface.Interface):
...
To create a class that implements that interface, use interface.Implements:
To create a class that implements that interface, use interface.Implements:
class Foo(object):
interface.Implements(IFoo)
class Foo(object):
interface.Implements(IFoo)
If Foo doesn't implement some method from IFoo, an exception is raised at class creation time.
If Foo doesn't implement some method from IFoo, an exception is raised at class creation time.
"""

from ._adaptable_interface import IAdaptable
Expand Down

0 comments on commit 8b89304

Please sign in to comment.