File tree Expand file tree Collapse file tree 7 files changed +28
-18
lines changed
hooks/openfeature-hooks-opentelemetry
openfeature-provider-env-var
openfeature-provider-flagd
openfeature-provider-flipt
openfeature-provider-ofrep Expand file tree Collapse file tree 7 files changed +28
-18
lines changed Original file line number Diff line number Diff line change 11default_stages : [pre-commit]
22repos :
33 - repo : https://github.com/astral-sh/ruff-pre-commit
4- rev : v0.12.7
4+ rev : v0.13.2
55 hooks :
66 - id : ruff-check
77 args : [--fix]
88 - id : ruff-format
99
1010 - repo : https://github.com/pre-commit/pre-commit-hooks
11- rev : v5 .0.0
11+ rev : v6 .0.0
1212 hooks :
1313 - id : check-toml
1414 - id : check-yaml
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ Homepage = "https://github.com/open-feature/python-sdk-contrib"
2727[dependency-groups ]
2828dev = [
2929 " coverage[toml]>=7.10.0,<8.0.0" ,
30- " mypy[faster-cache] >=1.17 .0,<2.0.0" ,
30+ " mypy>=1.18 .0,<2.0.0" ,
3131 " pytest>=8.4.0,<9.0.0" ,
3232]
3333
@@ -43,7 +43,9 @@ files = "src"
4343python_version = " 3.9" # should be identical to the minimum supported version
4444namespace_packages = true
4545explicit_package_bases = true
46- local_partial_types = true
46+ local_partial_types = true # will become the new default from version 2
47+ allow_redefinition_new = true # will become the new default from version 2
48+ fixed_format_cache = true # new caching mechanism
4749pretty = true
4850
4951strict = true
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ Homepage = "https://github.com/open-feature/python-sdk-contrib"
2626[dependency-groups ]
2727dev = [
2828 " coverage[toml]>=7.10.0,<8.0.0" ,
29- " mypy[faster-cache] >=1.17 .0,<2.0.0" ,
29+ " mypy>=1.18 .0,<2.0.0" ,
3030 " pytest>=8.4.0,<9.0.0" ,
3131]
3232
@@ -42,7 +42,9 @@ files = "src"
4242python_version = " 3.9" # should be identical to the minimum supported version
4343namespace_packages = true
4444explicit_package_bases = true
45- local_partial_types = true
45+ local_partial_types = true # will become the new default from version 2
46+ allow_redefinition_new = true # will become the new default from version 2
47+ fixed_format_cache = true # new caching mechanism
4648pretty = true
4749
4850strict = true
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ dev = [
3636 " asserts>=0.13.0,<0.14.0" ,
3737 " coverage[toml]>=7.10.0,<8.0.0" ,
3838 " grpcio-health-checking>=1.74.0,<2.0.0" ,
39- " mypy[faster-cache] >=1.17 .0,<2.0.0" ,
39+ " mypy>=1.18 .0,<2.0.0" ,
4040 " pytest>=8.4.0,<9.0.0" ,
4141 " pytest-bdd>=8.1.0,<9.0.0" ,
4242 " testcontainers>=4.12.0,<5.0.0" ,
@@ -87,7 +87,9 @@ files = "src"
8787python_version = " 3.9" # should be identical to the minimum supported version
8888namespace_packages = true
8989explicit_package_bases = true
90- local_partial_types = true
90+ local_partial_types = true # will become the new default from version 2
91+ allow_redefinition_new = true # will become the new default from version 2
92+ fixed_format_cache = true # new caching mechanism
9193pretty = true
9294
9395strict = true
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ Homepage = "https://github.com/open-feature/python-sdk-contrib"
2727[dependency-groups ]
2828dev = [
2929 " coverage[toml]>=7.10.0,<8.0.0" ,
30- " mypy[faster-cache] >=1.17 .0,<2.0.0" ,
30+ " mypy>=1.18 .0,<2.0.0" ,
3131 " pytest>=8.4.0,<9.0.0" ,
3232 " requests-mock>=1.12.0,<2.0.0" ,
3333 " types-requests>=2.32.0,<3.0.0" ,
@@ -50,7 +50,9 @@ files = "src"
5050python_version = " 3.9" # should be identical to the minimum supported version
5151namespace_packages = true
5252explicit_package_bases = true
53- local_partial_types = true
53+ local_partial_types = true # will become the new default from version 2
54+ allow_redefinition_new = true # will become the new default from version 2
55+ fixed_format_cache = true # new caching mechanism
5456pretty = true
5557
5658strict = true
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ Homepage = "https://github.com/open-feature/python-sdk-contrib"
2828[dependency-groups ]
2929dev = [
3030 " coverage[toml]>=7.10.0,<8.0.0" ,
31- " mypy[faster-cache] >=1.17 .0,<2.0.0" ,
31+ " mypy>=1.18 .0,<2.0.0" ,
3232 " pytest>=8.4.0,<9.0.0" ,
3333 " requests-mock>=1.12.0,<2.0.0" ,
3434 " types-requests>=2.32.0,<3.0.0" ,
@@ -56,7 +56,9 @@ files = "src"
5656python_version = " 3.9" # should be identical to the minimum supported version
5757namespace_packages = true
5858explicit_package_bases = true
59- local_partial_types = true
59+ local_partial_types = true # will become the new default from version 2
60+ allow_redefinition_new = true # will become the new default from version 2
61+ fixed_format_cache = true # new caching mechanism
6062pretty = true
6163
6264strict = true
You can’t perform that action at this time.
0 commit comments