Skip to content

Commit

Permalink
add py typed
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBelthle committed Aug 2, 2024
1 parent 6a89cc5 commit 0abc514
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
Changelog
=========

v0.1.2 (2023-08-02)
-------------------

* Add `py.typed` file to avoid mypy issue in projects importing the code
* Fix little typo inside `README.md` file.


v0.1.1 (2023-08-02)
-------------------

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ cluster = ThermalCluster(
)
```

You then need to provide a random number generator: we provide `MersernneTwisterRNG`
You then need to provide a random number generator: we provide `MersenneTwisterRNG`
to ensure the same generation as in `antares-solver` tool.
```python
rng = MersernneTwisterRNG()
rng = MersenneTwisterRNG()
```

Then perform the timeseries generation:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "antares-timeseries-generation"
version = "0.1.1"
version = "0.1.2"
license = {text="MPL-2.0"}
description = 'Timeseries generation library aiming at creating input data for Antares simulator studies.'
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sonar.projectVersion=0.1.1
sonar.projectVersion=0.1.2
sonar.organization=antaressimulatorteam
sonar.projectKey=AntaresSimulatorTeam_antares-timeseries-generation
sonar.sources=src
Expand Down
Empty file added src/antares/tsgen/py.typed
Empty file.

0 comments on commit 0abc514

Please sign in to comment.