-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#94 Merge pull request from deshima-dev/astropenguin/issue93
Update project dependencies
- Loading branch information
Showing
27 changed files
with
2,818 additions
and
1,637 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"name": "deshima-sensitivity", | ||
"image":"python:3.11", | ||
"features": { | ||
"ghcr.io/devcontainers-contrib/features/poetry:2": { | ||
"version": "1.8.3" | ||
} | ||
}, | ||
"containerEnv": { | ||
"POETRY_VIRTUALENVS_CREATE": "false" | ||
}, | ||
"runArgs": [ | ||
"--name=deshima-sensitivity" | ||
], | ||
"postCreateCommand": "poetry install", | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"github.vscode-pull-request-github", | ||
"mhutchie.git-graph", | ||
"ms-python.black-formatter", | ||
"ms-python.python", | ||
"streetsidesoftware.code-spell-checker", | ||
"tamasfe.even-better-toml" | ||
], | ||
"settings": { | ||
"files.insertFinalNewline": true, | ||
"files.trimTrailingWhitespace": true, | ||
"[python]": { | ||
"editor.defaultFormatter": "ms-python.black-formatter", | ||
"editor.formatOnSave": true, | ||
"editor.insertSpaces": true, | ||
"editor.tabSize": 4, | ||
"python.languageServer": "Pylance" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
name: Tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- deshima2.0 | ||
pull_request: | ||
branches: | ||
- master | ||
- develop | ||
- main | ||
- deshima2.0 | ||
|
||
jobs: | ||
test: | ||
name: Test (Python ${{ matrix.python-version }}) | ||
job: | ||
name: Test (Python ${{ matrix.python }}) | ||
runs-on: ubuntu-latest | ||
env: | ||
POETRY_VIRTUALENVS_CREATE: false | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: [3.7, 3.8, 3.9] | ||
env: | ||
TESTED_DIRS: deshima_sensitivity docs tests | ||
python: ["3.10", "3.11", "3.12", "3.13"] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
- uses: abatilo/actions-poetry@v3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
sudo apt install pandoc | ||
pip install poetry | ||
poetry install | ||
- name: Test code format (Black) | ||
run: poetry run black --check ${TESTED_DIRS} | ||
- name: Test code style (Flake8) | ||
run: poetry run flake8 ${TESTED_DIRS} | ||
- name: Test package (pytest) | ||
run: poetry run pytest -v tests | ||
- name: Test docs building (Sphinx) | ||
run: poetry run etc/builddocs | ||
poetry-version: "1.8.3" | ||
- run: poetry install | ||
- run: black --check decode docs tests | ||
- run: pytest -v tests | ||
- run: docs/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
cff-version: 1.2.0 | ||
message: "If you use this software, please cite it as below." | ||
|
||
title: "deshima-sensitivity" | ||
abstract: "Sensitivity calculator for DESHIMA-type spectrometers" | ||
version: 0.3.1 | ||
date-released: 2024-12-11 | ||
license: "MIT" | ||
doi: "10.5281/zenodo.3966839" | ||
url: "https://github.com/deshima-dev/deshima-sensitivity" | ||
authors: | ||
- given-names: "Akira" | ||
family-names: "Endo" | ||
affiliation: "Delft University of Technology" | ||
orcid: "https://orcid.org/0000-0003-0379-2341" | ||
- given-names: "Akio" | ||
family-names: "Taniguchi" | ||
affiliation: "Kitami Institute of Technology" | ||
orcid: "https://orcid.org/0000-0002-9695-6183" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ | |
but the power (in transmission) couples to the sky. | ||
""" | ||
|
||
# flake8: noqa | ||
__version__ = "0.3.1" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.