Skip to content

Commit

Permalink
#81 Merge pull request from deshima-dev/astropenguin/issue80
Browse files Browse the repository at this point in the history
Release v0.4.1
  • Loading branch information
astropenguin authored Jun 14, 2022
2 parents 3d949dc + 6b4d9f7 commit eacae1c
Show file tree
Hide file tree
Showing 10 changed files with 34 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9-slim
FROM python:3.10-slim

ENV POETRY_VIRTUALENVS_CREATE=false

Expand Down
10 changes: 5 additions & 5 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"name": "deshima-sensitivity",
"build": {
"context": "..",
"dockerfile": "Dockerfile",
"dockerfile": "Dockerfile"
},
"postCreateCommand": "poetry install",
"extensions": [
"github.vscode-pull-request-github",
"mhutchie.git-graph",
"ms-python.python",
"streetsidesoftware.code-spell-checker",
"tamasfe.even-better-toml",
"tamasfe.even-better-toml"
],
"settings": {
"files.insertFinalNewline": true,
Expand All @@ -21,7 +21,7 @@
"[python]": {
"editor.formatOnSave": true,
"editor.insertSpaces": true,
"editor.tabSize": 4,
},
},
"editor.tabSize": 4
}
}
}
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion deshima_sensitivity/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"""
# flake8: noqa
__version__ = "0.4.0"
__version__ = "0.4.1"


# modules
Expand Down
27 changes: 16 additions & 11 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -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/",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 = [
Expand Down
2 changes: 1 addition & 1 deletion sensitivity.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install -q \"deshima-sensitivity==0.4.0\""
"! pip install -q \"deshima-sensitivity==0.4.1\""
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion tests/test_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@


def test_version():
assert __version__ == "0.4.0"
assert __version__ == "0.4.1"

0 comments on commit eacae1c

Please sign in to comment.