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

Bump black from 23.12.1 to 24.1.1 #534

Merged
merged 2 commits into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pytest = "==8.0.0"
pytest-benchmark = "==4"
pytest-cov = "==4.1.0"
mypy = "==1.8.0"
black = {version = "==23.12.1", markers="python_version >= '3.8'"}
black = {version = "==24.1.1", markers="python_version >= '3.8'"}
tbump = "==6.11.0"
sphinx = {version = "==7.2.6", markers="python_version >= '3.9'"}
ruff = "==0.1.14"
1 change: 0 additions & 1 deletion benchmarks/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""MatchBoxes benchamr tests."""


from collections import namedtuple

Chair = namedtuple(
Expand Down
1 change: 1 addition & 0 deletions benchmarks/test_matchbox_add.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Reference performance tests - adding entities to MatchBox."""

from collections import namedtuple
from typing import Any, Set, Tuple

Expand Down
1 change: 1 addition & 0 deletions benchmarks/test_matchbox_match.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Benchmark tests comparing different approaches to same problem - finiding fitting element."""

from random import Random
from typing import List, Optional, Set, Union

Expand Down
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Documentation configuration."""

import os
import pathlib
import sys
Expand Down
1 change: 1 addition & 0 deletions newsfragments/534.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update code formatting with black 24.1
1 change: 1 addition & 0 deletions tests/test_base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for basic functionality of MatchBox and basic data structure."""

from collections import defaultdict
from typing import Any, List, Union

Expand Down
1 change: 1 addition & 0 deletions tests/test_match.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for match method."""

from typing import Any, List, Union

import pytest
Expand Down
1 change: 1 addition & 0 deletions tests/test_match_complex.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for complex examples of MatchBox."""

from matchbox.box import MatchBox
from tests import Entity

Expand Down
Loading