Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
seebi committed May 22, 2024
2 parents a583eb5 + 882694a commit 22b6b1e
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 3 deletions.
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](https://semver.org/)

## [6.3.0] 2024-05-22

### Changed

- update ruff

### Fixed

- exampe test


## [6.2.0] 2024-05-06

### Added
Expand All @@ -14,7 +25,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p

- coverage report does some advanced exclusion:
- https://coverage.readthedocs.io/en/7.5.0/excluding.html#advanced-exclusion
- update dependencies
- update dependencies, esp. ruff

### Security

Expand Down
1 change: 1 addition & 0 deletions src/cmem_plugin_{{ project_slug }}/example_transform.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""lifetime(age) transform plugin module"""

import datetime
from collections.abc import Sequence
from datetime import date
Expand Down
1 change: 1 addition & 0 deletions src/cmem_plugin_{{ project_slug }}/example_workflow.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Random values workflow plugin module"""

import uuid
from collections.abc import Sequence
from secrets import token_urlsafe
Expand Down
2 changes: 1 addition & 1 deletion src/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pytest-cov = "^4.1.0"
pytest-dotenv = "^0.5.2"
pytest-html = "^4.1.1"
pytest-memray = { version = "^1.6.0", markers = "platform_system != 'Windows'" }
ruff = "^0.1.15"
ruff = "^0.4.4"
safety = "^1.10.3"

[build-system]
Expand Down
3 changes: 2 additions & 1 deletion src/tests/test_example.py.jinja
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Plugin tests."""

import io

import pytest
Expand Down Expand Up @@ -60,7 +61,7 @@ def test_transform_execution_with_optional_input() -> None:
"""Test Lifetime with optional input"""
result = Lifetime(start_date="2000-05-22").transform(inputs=[])
for item in result:
assert item == "23"
assert item == "24"


def test_transform_execution_with_inputs() -> None:
Expand Down
1 change: 1 addition & 0 deletions src/tests/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Testing utilities."""

import os
from typing import ClassVar

Expand Down

0 comments on commit 22b6b1e

Please sign in to comment.