Skip to content

Commit

Permalink
LF-52351 Update black to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierMilesSeequent committed Aug 21, 2024
1 parent c21391f commit 7b03d35
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: pre-commit

on:
push:
branches:
branches:
- master

pull_request:
Expand All @@ -16,7 +16,7 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Test

on:
push:
branches:
branches:
- master

pull_request:
Expand All @@ -12,7 +12,7 @@ on:
jobs:
test:
runs-on: "ubuntu-latest"

steps:
- name: Checkout repo
uses: actions/checkout@v4
Expand Down
5 changes: 3 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-toml
- id: check-toml
- id: trailing-whitespace

- repo: https://github.com/psf/black
rev: 23.1.0
rev: 24.8.0
hooks:
- id: black
language_version: python3.10
Expand Down
1 change: 1 addition & 0 deletions pure_interface/_sub_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
The decorator checks that the sub-interface is infact a subset and
registers the larger interface as an implementation of the sub-interface.
"""

from inspect import signature
from typing import Callable, Type, TypeVar

Expand Down
1 change: 1 addition & 0 deletions pure_interface/interface.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
pure_interface enforces empty functions and properties on interfaces and provides adaption and structural type checking.
"""

from __future__ import absolute_import, division, print_function

import abc
Expand Down

0 comments on commit 7b03d35

Please sign in to comment.