Repository: deshima-dev/deshima-sensitivity

Issue:
Release v0.4.1

Discussion:

Patch:
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
index 143c0f4..595477a 100644
--- a/.devcontainer/Dockerfile
+++ b/.devcontainer/Dockerfile
@@ -1,4 +1,4 @@
-FROM python:3.9-slim
+FROM python:3.10-slim
 
 ENV POETRY_VIRTUALENVS_CREATE=false
 
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index f45819a..948b7c7 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -2,7 +2,7 @@
     "name": "deshima-sensitivity",
     "build": {
         "context": "..",
-        "dockerfile": "Dockerfile",
+        "dockerfile": "Dockerfile"
     },
     "postCreateCommand": "poetry install",
     "extensions": [
@@ -10,7 +10,7 @@
         "mhutchie.git-graph",
         "ms-python.python",
         "streetsidesoftware.code-spell-checker",
-        "tamasfe.even-better-toml",
+        "tamasfe.even-better-toml"
     ],
     "settings": {
         "files.insertFinalNewline": true,
@@ -21,7 +21,7 @@
         "[python]": {
             "editor.formatOnSave": true,
             "editor.insertSpaces": true,
-            "editor.tabSize": 4,
-        },
-    },
+            "editor.tabSize": 4
+        }
+    }
 }
diff --git a/LICENSE b/LICENSE
index 46cacd5..e252ea6 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
 MIT License
 
-Copyright (c) 2020 DESHIMA software team
+Copyright (c) 2020-2022 DESHIMA software team
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
diff --git a/README.md b/README.md
index 39c93e6..d00b7dc 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,10 @@
 # deshima-sensitivity
 
-[![PyPI](https://img.shields.io/pypi/v/deshima-sensitivity.svg?label=PyPI&style=flat-square)](https://pypi.org/pypi/deshima-sensitivity/)
-[![Python](https://img.shields.io/pypi/pyversions/deshima-sensitivity.svg?label=Python&color=yellow&style=flat-square)](https://pypi.org/pypi/deshima-sensitivity/)
-[![Test](https://img.shields.io/github/workflow/status/deshima-dev/deshima-sensitivity/Test?logo=github&label=Test&style=flat-square)](https://github.com/deshima-dev/deshima-sensitivity/actions)
-[![License](https://img.shields.io/badge/license-MIT-blue.svg?label=License&style=flat-square)](LICENSE)
-[![DOI](https://img.shields.io/badge/DOI-10.5281/zenodo.3966839-blue?style=flat-square)](https://doi.org/10.5281/zenodo.3966839)
+[![Release](https://img.shields.io/pypi/v/deshima-sensitivity?label=Release&color=cornflowerblue&style=flat-square)](https://pypi.org/pypi/deshima-sensitivity/)
+[![Python](https://img.shields.io/pypi/pyversions/deshima-sensitivity?label=Python&color=cornflowerblue&style=flat-square)](https://pypi.org/pypi/deshima-sensitivity/)
+[![Downloads](https://img.shields.io/pypi/dm/deshima-sensitivity?label=Downloads&color=cornflowerblue&style=flat-square)](https://pepy.tech/project/deshima-sensitivity)
+[![DOI](https://img.shields.io/badge/DOI-10.5281/zenodo.3966839-cornflowerblue?style=flat-square)](https://doi.org/10.5281/zenodo.3966839)
+[![Tests](https://img.shields.io/github/workflow/status/deshima-dev/deshima-sensitivity/Tests?label=Tests&style=flat-square)](https://github.com/deshima-dev/deshima-sensitivity/actions/tests.yml)
 
 Sensitivity calculator for DESHIMA-type spectrometers
 
@@ -18,7 +18,7 @@ Click the budge below to open it in [Google colaboratory](http://colab.research.
 
 ### Stable version (recommended)
 
-[![open stable version in colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/deshima-dev/deshima-sensitivity/blob/v0.4.0/sensitivity.ipynb)
+[![open stable version in colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/deshima-dev/deshima-sensitivity/blob/v0.4.1/sensitivity.ipynb)
 
 ### Latest version
 
diff --git a/deshima_sensitivity/__init__.py b/deshima_sensitivity/__init__.py
index 10e394d..eefa46f 100644
--- a/deshima_sensitivity/__init__.py
+++ b/deshima_sensitivity/__init__.py
@@ -13,7 +13,7 @@ A.  It is included in the main beam efficiency.
 
 """
 # flake8: noqa
-__version__ = "0.4.0"
+__version__ = "0.4.1"
 
 
 # modules
diff --git a/docs/conf.py b/docs/conf.py
index 2693688..c919b4b 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -1,25 +1,30 @@
-# Project information
-project = "deshima-sensitivity"
-copyright = "2020 DESHIMA software team"
-author = "Akira Endo"
-release = "0.4.0"
+# project information
+author = "DESHIMA software team"
+copyright = "2020-2022 DESHIMA software team"
 
 
-# General configuration
+# general configuration
+add_module_names = False
+autodoc_typehints = "both"
+autodoc_typehints_format = "short"
+exclude_patterns = [
+    "_build",
+    "Thumbs.db",
+    ".DS_Store",
+]
 extensions = [
     "myst_parser",
     "sphinx.ext.autodoc",
-    "sphinx.ext.viewcode",
-    "sphinx.ext.napoleon",
     "sphinx.ext.autosummary",
+    "sphinx.ext.napoleon",
+    "sphinx.ext.viewcode",
 ]
 templates_path = ["_templates"]
-exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
 
 
-# Options for HTML output
-html_static_path = ["_static"]
+# options for HTML output
 html_logo = "_static/logo.png"
+html_static_path = ["_static"]
 html_theme = "pydata_sphinx_theme"
 html_theme_options = {
     "github_url": "https://github.com/deshima-dev/deshima-sensitivity/",
diff --git a/pyproject.toml b/pyproject.toml
index 71a37e4..6892e2c 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
 [tool.poetry]
 name = "deshima-sensitivity"
-version = "0.4.0"
+version = "0.4.1"
 description = "Sensitivity calculator for DESHIMA-type spectrometers"
 authors = ["Akira Endo <a.endo@tudelft.nl>"]
 maintainers = [
diff --git a/sensitivity.ipynb b/sensitivity.ipynb
index a92170e..7a98bb7 100644
--- a/sensitivity.ipynb
+++ b/sensitivity.ipynb
@@ -23,7 +23,7 @@
    "metadata": {},
    "outputs": [],
    "source": [
-    "!pip install -q \"deshima-sensitivity==0.4.0\""
+    "! pip install -q \"deshima-sensitivity==0.4.1\""
    ]
   },
   {


Test patch:
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 19b8969..cf1a0c1 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -15,6 +15,7 @@ jobs:
     env:
       POETRY_VIRTUALENVS_CREATE: false
     strategy:
+      fail-fast: false
       matrix:
         python: ["3.7", "3.8", "3.9", "3.10"]
     steps:
diff --git a/tests/test_package.py b/tests/test_package.py
index 33aae5f..eee0d34 100644
--- a/tests/test_package.py
+++ b/tests/test_package.py
@@ -2,4 +2,4 @@ from deshima_sensitivity import __version__
 
 
 def test_version():
-    assert __version__ == "0.4.0"
+    assert __version__ == "0.4.1"