renovate[bot]
f1b0839d16
chore(deps): update dependency pytest to v8 ( #265 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-29 10:37:07 -03:00
Federico Bond
ccbff2c5e4
feat: improve logging setup ( #261 )
...
Signed-off-by: Federico Bond <federicobond@gmail.com>
2024-01-26 23:52:33 -03:00
renovate[bot]
15ce8f9b56
chore(deps): update dependency coverage to v7.4.1 ( #263 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-26 22:44:44 +00:00
renovate[bot]
d1f27e3278
chore(deps): update actions/cache action to v4 ( #260 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 18:26:28 -03:00
Anton Grübel
a1c25e241b
ci: change codecov GHA version to v3 ( #259 )
...
change codecov GHA version to v3
Signed-off-by: gruebel <anton.gruebel@gmail.com>
2024-01-16 17:13:13 -03:00
Anton Grübel
1722848651
ci: use pypi trusted publishing ( #258 )
...
use pypi trusted publishing
Signed-off-by: gruebel <anton.gruebel@gmail.com>
2024-01-11 16:12:47 -05:00
Michael Beemer
4883ab47d8
ci: fix missing CodeQL workflow permissions
...
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2024-01-09 13:36:55 -05:00
Anton Grübel
af9d3da336
chore: enable mypy strict mode ( #257 )
...
Signed-off-by: gruebel <anton.gruebel@gmail.com>
Co-authored-by: Federico Bond <federicobond@gmail.com>
2024-01-08 20:09:53 -03:00
Anton Grübel
30f4e692d8
ci: split lint job into lint and sast ( #256 )
...
split lint job into lint and sast
Signed-off-by: gruebel <anton.gruebel@gmail.com>
Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2024-01-08 19:56:12 -03:00
Anton Grübel
b3c67b6ab3
ci: add mypy type checking and fix/exclude minor issues ( #255 )
...
* add mypy type checking and fix/exclude minor issues
Signed-off-by: gruebel <anton.gruebel@gmail.com>
* enable explicit_package_bases for mypy
Signed-off-by: gruebel <anton.gruebel@gmail.com>
---------
Signed-off-by: gruebel <anton.gruebel@gmail.com>
2024-01-07 12:56:32 -03:00
Anton Grübel
a853b85514
chore: remove excluded ruff rules and fix issues ( #254 )
...
remove excluded ruff rules and fix issues
Signed-off-by: gruebel <anton.gruebel@gmail.com>
2024-01-06 14:25:44 -03:00
Anton Grübel
49aae786fb
ci: ignore tests in CodeQL scan and add missing permission restrictions ( #253 )
...
ignore tests in CodeQL scan and add missing permission restrictions
Signed-off-by: gruebel <anton.gruebel@gmail.com>
2024-01-06 11:21:40 -03:00
Anton Grübel
3b6204daec
chore: replace black, fake8 and isort with ruff and ruff-format ( #249 )
...
* replace black, fake8 and isort with ruff and ruff-format
Signed-off-by: gruebel <anton.gruebel@gmail.com>
* fix workflow
Signed-off-by: gruebel <anton.gruebel@gmail.com>
* use full version tag for pre-commit/action action
Signed-off-by: gruebel <anton.gruebel@gmail.com>
---------
Signed-off-by: gruebel <anton.gruebel@gmail.com>
Signed-off-by: Anton Grübel <anton.gruebel@gmail.com>
2024-01-05 19:45:26 -05:00
renovate[bot]
ab50012460
chore(deps): update dependency pytest to v7.4.4 ( #250 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-31 15:18:16 +00:00
renovate[bot]
3176be5327
chore(deps): update dependency coverage to v7.4.0 ( #248 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-28 03:11:54 +00:00
renovate[bot]
c9a7bb15e3
chore(deps): update dependency black to v23.12.1 ( #246 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-23 03:25:32 +00:00
renovate[bot]
fb11280b66
chore(deps): update dependency coverage to v7.3.4 ( #245 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-20 22:48:55 +00:00
renovate[bot]
270a34c6b8
chore(deps): update dependency coverage to v7.3.3 ( #244 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-14 23:22:17 +00:00
renovate[bot]
4c416b434c
chore(deps): update github/codeql-action action to v3 ( #243 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-13 21:19:13 +00:00
renovate[bot]
48bb2a383c
chore(deps): update dependency pylint to v3.0.3 ( #241 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-12 12:35:46 +00:00
renovate[bot]
b5a6a70134
chore(deps): update dependency black to v23.12.0 ( #242 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-12 09:31:14 +00:00
renovate[bot]
4b59b65ebe
chore(deps): update actions/setup-python action to v5 ( #240 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-06 16:44:28 +00:00
renovate[bot]
56284e36fa
chore(deps): update google-github-actions/release-please-action action to v4 ( #239 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-02 02:21:11 +00:00
Federico Bond
95d69e27b3
docs: document shutdown function ( #237 )
...
Signed-off-by: Federico Bond <federicobond@gmail.com>
2023-11-13 21:34:09 -06:00
github-actions[bot]
e24a6347a1
chore(main): release 0.4.1 ( #235 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-08 06:17:29 -06:00
renovate[bot]
3001cf9b0f
chore(deps): update dependency black to v23.11.0 ( #236 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-08 11:21:38 +00:00
Federico Bond
963b01e66d
fix: replace str with enum value in InMemoryFlag definition ( #234 )
...
Signed-off-by: Federico Bond <federicobond@gmail.com>
2023-11-07 09:51:24 -06:00
Federico Bond
4bdd384544
fix: fix types for HookContext.{client,provider}_metadata ( #233 )
...
Signed-off-by: Federico Bond <federicobond@gmail.com>
2023-11-07 09:44:54 -06:00
Federico Bond
db504946d1
fix: add PEP 561 py.typed marker file ( #232 )
...
Signed-off-by: Federico Bond <federicobond@gmail.com>
2023-11-07 09:33:22 -06:00
github-actions[bot]
d558bb1366
chore(main): release 0.4.0 ( #230 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2023-11-01 15:50:12 -04:00
Michael Beemer
107663a9d1
chore: update readme link in pyproject.toml
...
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2023-11-01 15:27:42 -04:00
Michael Beemer
a25af4854a
chore: update release please extra files config
...
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2023-11-01 15:05:44 -04:00
Todd Baert
1864a3fa57
chore: update readme based on latest template ( #227 )
...
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
Co-authored-by: Federico Bond <federicobond@gmail.com>
2023-11-01 15:02:46 -04:00
Michael Beemer
0c314ab77c
fix!: raise error if the flag wasn't found using the in-memory provider ( #228 )
...
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2023-11-01 14:56:48 -04:00
Federico Bond
f74eda06bd
chore: optimize GitHub CI workflow ( #220 )
...
Signed-off-by: Federico Bond <federicobond@gmail.com>
2023-10-24 19:39:06 -04:00
renovate[bot]
291b4ae7d4
chore(deps): update dependency pytest to v7.4.3 ( #224 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-24 18:38:11 -03:00
renovate[bot]
1a804ee675
chore(deps): update dependency black to v23.10.1 ( #223 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 21:45:19 -03:00
renovate[bot]
0b889b3a81
chore(deps): update dependency pytest-mock to v3.12.0 ( #221 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-22 19:42:03 +00:00
renovate[bot]
1d3db126ac
chore(deps): update dependency pylint to v3.0.2 ( #222 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-22 13:13:41 -03:00
Federico Bond
64f57fdcd4
refactor: use if clauses in list comprehensions to make code more pythonic ( #215 )
...
Signed-off-by: Federico Bond <federicobond@gmail.com>
Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2023-10-19 17:38:11 -03:00
Federico Bond
c661ab20a4
fix: Hook methods should have default non-abstract implementations ( #216 )
...
* fix: Hook methods should have default non-abstract implementations
Signed-off-by: Federico Bond <federicobond@gmail.com>
* fix: use correct return type for Hook.before method
Signed-off-by: Federico Bond <federicobond@gmail.com>
* feat: make EvaluationContext a dataclass
Signed-off-by: Federico Bond <federicobond@gmail.com>
* test: add unit test for evaluation context merging in before_hooks
Signed-off-by: Federico Bond <federicobond@gmail.com>
---------
Signed-off-by: Federico Bond <federicobond@gmail.com>
Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2023-10-18 12:30:29 -03:00
Federico Bond
84af1aec01
feat: implement initialize/shutdown on provider registration ( #213 )
...
Signed-off-by: Federico Bond <federicobond@gmail.com>
Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2023-10-18 12:04:09 -03:00
Federico Bond
88a204dc27
feat: pass flag_metadata from resolution to evaluation details ( #212 )
...
Signed-off-by: Federico Bond <federicobond@gmail.com>
2023-10-18 10:36:30 -04:00
renovate[bot]
d41cea270e
chore(deps): update dependency pylint to v3 ( #206 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-18 01:17:15 -03:00
renovate[bot]
54c018ff85
chore(deps): update dependency black to v23.10.0 ( #211 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-18 01:01:44 -03:00
Federico Bond
4314ef7003
chore: simplify build and dependencies configuration ( #208 )
...
* chore: simplify build and dependencies configuration
Signed-off-by: Federico Bond <federicobond@gmail.com>
* chore: remove unused .env.template
Signed-off-by: Federico Bond <federicobond@gmail.com>
* chore: remove duplicate hook_support.py module
Signed-off-by: Federico Bond <federicobond@gmail.com>
* chore: update pre-commit config and fix format issues
Signed-off-by: Federico Bond <federicobond@gmail.com>
* chore: update github workflows
Signed-off-by: Federico Bond <federicobond@gmail.com>
* chore: update dependencies
Signed-off-by: Federico Bond <federicobond@gmail.com>
* chore: replace virtualenv with built-in venv everywhere
Signed-off-by: Federico Bond <federicobond@gmail.com>
---------
Signed-off-by: Federico Bond <federicobond@gmail.com>
2023-10-18 00:41:54 -03:00
renovate[bot]
059b54a298
chore(deps): update dependency pre-commit to v3.5.0 ( #210 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-13 19:56:31 +00:00
renovate[bot]
af4955dbde
chore(deps): update python docker tag to v3.12 ( #207 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-13 08:08:47 +00:00
renovate[bot]
a53b4a84be
chore(deps): update dependency pycodestyle to v2.11.1 ( #209 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-13 04:36:09 +00:00
renovate[bot]
6fde2a0087
chore(deps): update dependency platformdirs to v3.11.0 ( #204 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-03 00:34:42 +00:00