From e8b2f332968d8e51eed46cbea1cd88818f54353e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 04:21:38 +0000 Subject: [PATCH 1/2] Bump black from 23.12.1 to 24.1.1 Bumps [black](https://github.com/psf/black) from 23.12.1 to 24.1.1. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/23.12.1...24.1.1) --- updated-dependencies: - dependency-name: black dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Pipfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pipfile b/Pipfile index 3bd9926..022cce7 100644 --- a/Pipfile +++ b/Pipfile @@ -13,6 +13,6 @@ towncrier = "==23.11.0" pytest-cov = "==4.1.0" coverage = "==7.4.1" mypy = "==1.8.0" -black = "==23.12.1" +black = "==24.1.1" tbump = "==6.11.0" ruff = "==0.1.14" From f1b1bd484cfa8681c680ca14072034d12dc038f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20=C5=9Aliwi=C5=84ski?= Date: Mon, 29 Jan 2024 10:02:46 +0100 Subject: [PATCH 2/2] Updating formatting according to black 24.1 --- newsfragments/422.misc.rst | 1 + tests/app.py | 1 + tests/conftest.py | 1 + tests/test_fixture.py | 1 + 4 files changed, 4 insertions(+) create mode 100644 newsfragments/422.misc.rst diff --git a/newsfragments/422.misc.rst b/newsfragments/422.misc.rst new file mode 100644 index 0000000..c818bcc --- /dev/null +++ b/newsfragments/422.misc.rst @@ -0,0 +1 @@ +Adjusted code formatting to black 24.1 \ No newline at end of file diff --git a/tests/app.py b/tests/app.py index 849ae3a..093072a 100644 --- a/tests/app.py +++ b/tests/app.py @@ -1,4 +1,5 @@ """Define dummy app for tests.""" + from typing import Any, Dict from pyramid.config import Configurator diff --git a/tests/conftest.py b/tests/conftest.py index 6c10c41..3d4ecb2 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,2 +1,3 @@ """Conftest module.""" + from pytest_pyramid.plugin import * # noqa: F403 diff --git a/tests/test_fixture.py b/tests/test_fixture.py index 11029ac..d78888e 100644 --- a/tests/test_fixture.py +++ b/tests/test_fixture.py @@ -1,4 +1,5 @@ """Testing fixtures.""" + import pytest from _pytest.fixtures import FixtureRequest from pyramid.config import Configurator