Skip to content

Commit

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

Bumps [black](https://github.com/psf/black) from 23.11.0 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.11.0...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: ludeeus <[email protected]>
  • Loading branch information
dependabot[bot] and ludeeus authored Feb 6, 2024
1 parent c1e393c commit 5515595
Show file tree
Hide file tree
Showing 23 changed files with 47 additions and 22 deletions.
1 change: 1 addition & 0 deletions awesomeversion/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Initialize the AwesomeVersion package."""

from .awesomeversion import AwesomeVersion, AwesomeVersionDiff
from .exceptions import (
AwesomeVersionCompareException,
Expand Down
1 change: 1 addition & 0 deletions awesomeversion/awesomeversion.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""AwesomeVersion."""

from __future__ import annotations

from typing import TYPE_CHECKING, Any, Dict
Expand Down
1 change: 1 addition & 0 deletions awesomeversion/comparehandlers/container.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Special handler for container."""

from __future__ import annotations

from typing import TYPE_CHECKING
Expand Down
1 change: 1 addition & 0 deletions awesomeversion/comparehandlers/modifier.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Special handler for modifier."""

from __future__ import annotations

from typing import TYPE_CHECKING
Expand Down
1 change: 1 addition & 0 deletions awesomeversion/comparehandlers/sections.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Special handler for sections."""

from __future__ import annotations

from typing import TYPE_CHECKING
Expand Down
1 change: 1 addition & 0 deletions awesomeversion/comparehandlers/simple.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Special handler for simple."""

from __future__ import annotations

from typing import TYPE_CHECKING
Expand Down
1 change: 1 addition & 0 deletions awesomeversion/strategy.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Strategies for AwesomeVersion."""

from __future__ import annotations

from collections.abc import Callable
Expand Down
1 change: 1 addition & 0 deletions awesomeversion/typing.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""""Custom types for AwesomeVersion."""

from __future__ import annotations

from typing import TYPE_CHECKING, List, Tuple, Union
Expand Down
1 change: 1 addition & 0 deletions awesomeversion/utils/regex.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Regex utils for AwesomeVersion."""

import re
from typing import Pattern

Expand Down
46 changes: 25 additions & 21 deletions poetry.lock

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

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ version = "0"
python = "^3.8"

[tool.poetry.dev-dependencies]
black = "^23.11"
black = "^24.1"
isort = "^5.12.0"
mypy = "^1.6"
pylint = "^3.0.1"
Expand Down
1 change: 1 addition & 0 deletions tests/issues/test_issue14.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test for issue #14."""

# https://github.com/ludeeus/awesomeversion/issues/14
from awesomeversion import AwesomeVersion
from awesomeversion.strategy import AwesomeVersionStrategy
Expand Down
1 change: 1 addition & 0 deletions tests/issues/test_issue153.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test for issue #153."""

# https://github.com/ludeeus/awesomeversion/issues/153
from awesomeversion import AwesomeVersion

Expand Down
1 change: 1 addition & 0 deletions tests/issues/test_issue26.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test for issue #26."""

# https://github.com/ludeeus/awesomeversion/issues/26
from awesomeversion import AwesomeVersion

Expand Down
1 change: 1 addition & 0 deletions tests/issues/test_issue96.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test for issue #96."""

# https://github.com/ludeeus/awesomeversion/issues/96
import re

Expand Down
1 change: 1 addition & 0 deletions tests/test_awesomeversion.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test awesomeversion."""

from __future__ import annotations

import json
Expand Down
1 change: 1 addition & 0 deletions tests/test_compare.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test compare."""

import pytest

from awesomeversion import AwesomeVersion
Expand Down
1 change: 1 addition & 0 deletions tests/test_equals.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test equals."""

import pytest

from awesomeversion import AwesomeVersion
Expand Down
1 change: 1 addition & 0 deletions tests/test_handlers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test compare handlers."""

from __future__ import annotations

import pytest
Expand Down
1 change: 1 addition & 0 deletions tests/test_snapshots.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Testing with snapshots."""

import json

import pytest
Expand Down
1 change: 1 addition & 0 deletions tests/test_strategy.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test match."""

import pytest

from awesomeversion import AwesomeVersion
Expand Down
1 change: 1 addition & 0 deletions tests/test_version_scheme.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test test_version_scheme."""

from __future__ import annotations

import pytest
Expand Down
1 change: 1 addition & 0 deletions tests/utils/test_validate.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for the validate util."""

import pytest

from awesomeversion.utils.validate import value_is_base16
Expand Down

0 comments on commit 5515595

Please sign in to comment.