Skip to content

Commit f6afb9d

Browse files
Bump psf/black from 24.8.0 to 26.3.0 in /.github/workflows (#63)
* Bump psf/black from 24.8.0 to 26.3.0 in /.github/workflows Bumps [psf/black](https://github.com/psf/black) from 24.8.0 to 26.3.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](psf/black@24.8.0...26.3.0) --- updated-dependencies: - dependency-name: psf/black dependency-version: 26.3.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * version updates * python version updates * review comments --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matt Metcalf <mrm9084@gmail.com>
1 parent de9af8e commit f6afb9d

11 files changed

Lines changed: 12 additions & 17 deletions

.github/workflows/validate.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: ["3.8", "3.9", "3.10"]
10+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
1111
steps:
1212
- uses: actions/checkout@v3
1313
- name: Set up Python ${{ matrix.python-version }}
@@ -22,7 +22,7 @@ jobs:
2222
- name: Analysing the code with pylint
2323
run: |
2424
pylint featuremanagement
25-
- uses: psf/black@24.8.0
25+
- uses: psf/black@26.3.0
2626
- name: Run mypy
2727
run: |
2828
mypy featuremanagement

dev_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
pytest < 9.0.0
22
pytest-cov < 8.0.0
33
pytest-asyncio < 2.0.0
4-
black < 26.0.0
4+
black < 27.0.0
55
pylint < 5.0.0
66
mypy < 2.0.0
77
sphinx < 9.0.0

featuremanagement/_featuremanagerbase.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
from typing import List, Optional, Dict, Tuple, Any, Mapping, Callable
1010
from ._models import FeatureFlag, Variant, VariantAssignmentReason, TargetingContext, EvaluationEvent, VariantReference
1111

12-
1312
FEATURE_MANAGEMENT_KEY = "feature_management"
1413
FEATURE_FLAG_KEY = "feature_flags"
1514

featuremanagement/_time_window_filter/_recurrence_validator.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from typing import List
88
from ._models import RecurrencePatternType, RecurrenceRangeType, Recurrence, RecurrencePattern, RecurrenceRange
99

10-
1110
DAYS_PER_WEEK = 7
1211
TEN_YEARS = 3650
1312
RECURRENCE_PATTERN = "Pattern"

featuremanagement/azuremonitor/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
# -------------------------------------------------------------------------
66
from ._send_telemetry import publish_telemetry, track_event, TargetingSpanProcessor
77

8-
98
__all__ = [
109
"publish_telemetry",
1110
"track_event",

mypy.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[mypy]
2-
python_version = 3.8
2+
python_version = 3.10
33
# Start off with these
44
warn_unused_configs = True
55
warn_redundant_casts = True

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,17 @@ authors = [
2626
description = "A library for enabling/disabling features at runtime."
2727
readme = "README.md"
2828
license.file = "LICENSE"
29-
requires-python = ">=3.8"
29+
requires-python = ">=3.10"
3030
classifiers = [
3131
"Development Status :: 5 - Production/Stable",
3232
"Programming Language :: Python",
3333
"Programming Language :: Python :: 3 :: Only",
3434
"Programming Language :: Python :: 3",
35-
"Programming Language :: Python :: 3.8",
36-
"Programming Language :: Python :: 3.9",
3735
"Programming Language :: Python :: 3.10",
3836
"Programming Language :: Python :: 3.11",
37+
"Programming Language :: Python :: 3.12",
38+
"Programming Language :: Python :: 3.13",
39+
"Programming Language :: Python :: 3.14",
3940
"License :: OSI Approved :: MIT License",
4041
]
4142

samples/feature_variant_sample.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
from random_filter import RandomFilter
1111
from featuremanagement import FeatureManager, TargetingContext
1212

13-
1413
script_directory = os.path.dirname(os.path.abspath(sys.argv[0]))
1514

1615
with open(script_directory + "/formatted_feature_flags.json", "r", encoding="utf-8") as f:

samples/feature_variant_sample_with_targeting_accessor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
from random_filter import RandomFilter
1111
from featuremanagement import FeatureManager, TargetingContext
1212

13-
1413
script_directory = os.path.dirname(os.path.abspath(sys.argv[0]))
1514

1615
with open(script_directory + "/formatted_feature_flags.json", "r", encoding="utf-8") as f:

samples/feature_variant_sample_with_telemetry.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
from featuremanagement import FeatureManager
1111
from featuremanagement.azuremonitor import publish_telemetry, track_event
1212

13-
1413
try:
1514
from azure.monitor.opentelemetry import configure_azure_monitor
1615

0 commit comments

Comments
 (0)