Skip to content

fix get_count_rate and get_elapsed_time #1038

fix get_count_rate and get_elapsed_time

fix get_count_rate and get_elapsed_time #1038

Workflow file for this run

name: linting
# Triggers the workflow on push for all branches
on:
push:
paths-ignore:
pyproject.toml
jobs:
lint:
runs-on: ubuntu-latest
steps:
# Check out repo and set up Python
- uses: actions/checkout@v4
with:
lfs: true
# Use cached python and dependencies, install poetry
- name: "Setup Python, Poetry and Dependencies"
uses: packetcoders/action-setup-cache-python-poetry@main
with:
python-version: 3.8
poetry-version: 1.2.2
# Linting steps, execute all linters even if one fails
- name: ruff
run:
poetry run ruff sed tests
- name: ruff formatting
if: ${{ always() }}
run:
poetry run ruff format --check sed tests
- name: mypy
if: ${{ always() }}
run:
poetry run mypy sed tests
- name: spellcheck
if: ${{ always() }}
uses: streetsidesoftware/cspell-action@v6
with:
check_dot_files: false
incremental_files_only: false
config: './cspell.json'