Skip to content

Commit

Permalink
Merge pull request #46 from statisticsnorway/use-bump2version
Browse files Browse the repository at this point in the history
Use bump2version
  • Loading branch information
mmwinther authored Aug 9, 2022
2 parents a1fa8f4 + cebc8ff commit 735778b
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 4 deletions.
10 changes: 10 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[bumpversion]
current_version = 0.1.1
commit = False
tag = False

[bumpversion:file:pyproject.toml]
search = version = "{current_version}"
replace = version = "{new_version}"

[bumpversion:file:datadoc/__init__.py]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Document datasets in Statistics Norway
1. Clone this repo to your Jupyter instance (or local machine)
1. Open the `DataDoc.ipynb` Notebook and run the cell to see the example dataset

![DataDoc](./doc/datadoc.png)
![DataDoc in use](./doc/change-language-example.gif)

## Contributing

Expand Down
2 changes: 2 additions & 0 deletions datadoc/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
from datadoc.DataDocDash import main

__version__ = "0.1.1"
Binary file added doc/change-language-example.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed doc/datadoc.png
Binary file not shown.
13 changes: 11 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
[tool.poetry]
name = "ssb-datadoc"
version = "0.1.0"
version = "0.1.1"
description = "Document dataset metadata. For use in Statistics Norway's metadata system."
authors = ["Statistics Norway <mmw@ssb.no>"]
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/statisticsnorway/datadoc"

packages = [
{ include = "datadoc" },
]
include = ["datadoc/*", "klargjorte_data/*"]

[tool.poetry.scripts]
Expand All @@ -33,6 +36,7 @@ black = "^22.3.0"
pytest = "^7.1.2"
pytest-cov = "^3.0.0"
nbstripout = "^0.5.0"
bump2version = "^1.0.1"

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down

0 comments on commit 735778b

Please sign in to comment.