Skip to content

Commit 6cef56b

Browse files
authored
Merge branch 'main' into feature/refactor_and_switch_to_single_client
2 parents c0ab87e + 154d834 commit 6cef56b

File tree

6 files changed

+18
-36
lines changed

6 files changed

+18
-36
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ jobs:
2424
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
2525

2626
steps:
27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2828
with:
2929
submodules: recursive
3030

3131
- name: Set up Python ${{ matrix.python-version }}
32-
uses: actions/setup-python@v5
32+
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
3333
with:
3434
python-version: ${{ matrix.python-version }}
3535
cache: "pip"
@@ -46,7 +46,7 @@ jobs:
4646

4747
- if: matrix.python-version == '3.11'
4848
name: Upload coverage to Codecov
49-
uses: codecov/[email protected]
49+
uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1
5050
with:
5151
flags: unittests # optional
5252
name: coverage # optional
@@ -58,14 +58,14 @@ jobs:
5858
runs-on: ubuntu-latest
5959

6060
steps:
61-
- uses: actions/checkout@v4
62-
- uses: actions/setup-python@v5
61+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
62+
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
6363
with:
6464
python-version: "3.11"
6565
cache: "pip"
6666

6767
- name: Run pre-commit
68-
uses: pre-commit/[email protected]
68+
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
6969

7070
sast:
7171
runs-on: ubuntu-latest
@@ -74,16 +74,16 @@ jobs:
7474
contents: read
7575
security-events: write
7676
steps:
77-
- uses: actions/checkout@v4
78-
- uses: actions/setup-python@v5
77+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
78+
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
7979
with:
8080
python-version: "3.11"
8181

8282
- name: Initialize CodeQL
83-
uses: github/codeql-action/init@v3
83+
uses: github/codeql-action/init@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3
8484
with:
8585
languages: python
8686
config-file: ./.github/codeql-config.yml
8787

8888
- name: Perform CodeQL Analysis
89-
uses: github/codeql-action/analyze@v3
89+
uses: github/codeql-action/analyze@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3

.github/workflows/lint-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ jobs:
2020
name: Validate PR title
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: amannn/action-semantic-pull-request@v5
23+
- uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5
2424
env:
2525
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222

2323
steps:
24-
- uses: googleapis/release-please-action@v4
24+
- uses: googleapis/release-please-action@db8f2c60ee802b3748b512940dde88eabd7b7e01 # v3
2525
id: release
2626
with:
2727
command: manifest

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ repos:
1616
- id: check-merge-conflict
1717

1818
- repo: https://github.com/pre-commit/mirrors-mypy
19-
rev: v1.14.1
19+
rev: v1.15.0
2020
hooks:
2121
- id: mypy
2222
files: openfeature

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,15 +108,15 @@ print("Value: " + str(flag_value))
108108
|| [Domains](#domains) | Logically bind clients with providers. |
109109
|| [Eventing](#eventing) | React to state changes in the provider or flag management system. |
110110
|| [Shutdown](#shutdown) | Gracefully clean up a provider during application shutdown. |
111-
|| [Transaction Context Propagation](#transaction-context-propagation) | Set a specific [evaluation context](/docs/reference/concepts/evaluation-context) for a transaction (e.g. an HTTP request or a thread) |
111+
|| [Transaction Context Propagation](#transaction-context-propagation) | Set a specific [evaluation context](https://openfeature.dev/docs/reference/concepts/evaluation-context) for a transaction (e.g. an HTTP request or a thread) |
112112
|| [Extending](#extending) | Extend OpenFeature with custom providers and hooks. |
113113

114114
<sub>Implemented: ✅ | In-progress: ⚠️ | Not implemented yet: ❌</sub>
115115

116116
### Providers
117117

118118
[Providers](https://openfeature.dev/docs/reference/concepts/provider) are an abstraction between a flag management system and the OpenFeature SDK.
119-
Look [here](https://openfeature.dev/ecosystem?instant_search%5BrefinementList%5D%5Btype%5D%5B0%5D=Provider&instant_search%5BrefinementList%5D%5Btechnology%5D%5B0%5D=python) for a complete list of available providers.
119+
Look [here](https://openfeature.dev/ecosystem/?instant_search%5BrefinementList%5D%5Btype%5D%5B0%5D=Provider&instant_search%5BrefinementList%5D%5Btechnology%5D%5B0%5D=Python) for a complete list of available providers.
120120
If the provider you're looking for hasn't been created yet, see the [develop a provider](#develop-a-provider) section to learn how to build it yourself.
121121

122122
Once you've added a provider as a dependency, it can be registered with OpenFeature like this:
@@ -165,7 +165,7 @@ client.get_string_value("email", "fallback", request_context)
165165
### Hooks
166166

167167
[Hooks](https://openfeature.dev/docs/reference/concepts/hooks) allow for custom logic to be added at well-defined points of the flag evaluation life-cycle.
168-
Look [here](https://openfeature.dev/ecosystem/?instant_search%5BrefinementList%5D%5Btype%5D%5B0%5D=Hook&instant_search%5BrefinementList%5D%5Btechnology%5D%5B0%5D=python) for a complete list of available hooks.
168+
Look [here](https://openfeature.dev/ecosystem/?instant_search%5BrefinementList%5D%5Btype%5D%5B0%5D=Hook&instant_search%5BrefinementList%5D%5Btechnology%5D%5B0%5D=Python) for a complete list of available hooks.
169169
If the hook you're looking for hasn't been created yet, see the [develop a hook](#develop-a-hook) section to learn how to build it yourself.
170170

171171
Once you've added a hook as a dependency, it can be registered at the global, client, or flag invocation level.

renovate.json

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,12 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": [
4-
"config:recommended"
4+
"github>open-feature/community-tooling"
55
],
6-
"semanticCommits": "enabled",
76
"pep621": {
87
"enabled": true
98
},
109
"pre-commit": {
1110
"enabled": true
12-
},
13-
"packageRules": [
14-
{
15-
"description": "Automerge non-major updates",
16-
"matchUpdateTypes": [
17-
"minor",
18-
"patch"
19-
],
20-
"matchCurrentVersion": "!/^0/",
21-
"automerge": true
22-
},
23-
{
24-
"matchManagers": [
25-
"github-actions"
26-
],
27-
"automerge": true
28-
}
29-
]
11+
}
3012
}

0 commit comments

Comments
 (0)