From f580e0931c2545803df5282bd5c6943ae0337439 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Echedey=20Luis=20=C3=81lvarez?= <80125792+echedey-ls@users.noreply.github.com> Date: Tue, 18 Mar 2025 00:51:11 +0000 Subject: [PATCH 01/12] =?UTF-8?q?Update=20.gitignore=20(not=20venv=20in=20?= =?UTF-8?q?it,=20what=20crime=20was=20that=20=F0=9F=91=80=20)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/github/gitignore/blob/main/Python.gitignore --- .gitignore | 177 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 177 insertions(+) diff --git a/.gitignore b/.gitignore index 50129fd..1f4d1ee 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +## .gititnore template file retrieved from +## https://github.com/github/gitignore/blob/main/Python.gitignore in 2025-03-18 + .ipynb_checkpoints .vscode */.ipynb_checkpoints/* @@ -12,3 +15,177 @@ dist/ docs/source/generated .coverage +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +*.py,cover +.hypothesis/ +.pytest_cache/ +cover/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 +db.sqlite3-journal + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +.pybuilder/ +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv +# For a library or package, you might want to ignore these files since the code is +# intended to run in multiple environments; otherwise, check them in: +# .python-version + +# pipenv +# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. +# However, in case of collaboration, if having platform-specific dependencies or dependencies +# having no cross-platform support, pipenv may install dependencies that don't work, or not +# install all needed dependencies. +#Pipfile.lock + +# UV +# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control. +# This is especially recommended for binary packages to ensure reproducibility, and is more +# commonly ignored for libraries. +#uv.lock + +# poetry +# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control. +# This is especially recommended for binary packages to ensure reproducibility, and is more +# commonly ignored for libraries. +# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control +#poetry.lock + +# pdm +# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control. +#pdm.lock +# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it +# in version control. +# https://pdm.fming.dev/latest/usage/project/#working-with-version-control +.pdm.toml +.pdm-python +.pdm-build/ + +# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm +__pypackages__/ + +# Celery stuff +celerybeat-schedule +celerybeat.pid + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ + +# pytype static type analyzer +.pytype/ + +# Cython debug symbols +cython_debug/ + +# PyCharm +# JetBrains specific template is maintained in a separate JetBrains.gitignore that can +# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore +# and can be added to the global gitignore or merged into this file. For a more nuclear +# option (not recommended) you can uncomment the following to ignore the entire idea folder. +#.idea/ + +# Ruff stuff: +.ruff_cache/ + +# PyPI configuration file +.pypirc From b6d3fdd72494c32fec505e006c2411c988d18e38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Echedey=20Luis=20=C3=81lvarez?= <80125792+echedey-ls@users.noreply.github.com> Date: Tue, 18 Mar 2025 00:56:28 +0000 Subject: [PATCH 02/12] Update publish CI --- .github/workflows/publish.yml | 92 ++++++++++++++++++++++++++++++----- 1 file changed, 80 insertions(+), 12 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2735923..86b18b0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,37 +1,105 @@ name: Publish distributions to PyPI -# if this workflow is modified to be a generic CI workflow then -# add an if statement to the publish step so it only runs on tags. +# CI setup instructions: +# 1. Create a new environment for additional protection and security in the GitHub UI: +# Settings > Environments +# Name: release +# Description: Environment for publishing releases to PyPI +# 2. Setup trusted publishing for the release environment: +# https://docs.pypi.org/trusted-publishers/ + +# This workflow is triggered on pull requests that target the main branch +# on pushes to the main branch new tags that start with 'v' (for example, 'v1.0.0'). +# Only the main branch is used for publishing to PyPI, in the second job. on: + pull_request: + branches: + - main push: + branches: + - main tags: - "v*" +env: + python-version: "3.12" + base-repo: "pvlib/twoaxistracking" + jobs: - build-n-publish: - name: Build and publish distributions to PyPI - if: github.repository == 'pvlib/twoaxistracking' + build-distribution: + name: Build distribution + if: github.repository == env.base-repo runs-on: ubuntu-latest permissions: id-token: write # This is required for requesting the JWT contents: read # This is required for actions/checkout steps: - # fetch all commits and tags so versioneer works - uses: actions/checkout@v4 + # Shallow clone to fetch only the latest commit, which is faster with: - fetch-depth: 0 + fetch-depth: 1 + + - name: Fetch latest tag + # Fetch the latest tag explicitly, so setuptools-scm can use it for the version + run: | + git fetch --tags - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.12" + python-version: ${{ env.python-version }} - name: Install build tools run: | python -m pip install --upgrade pip - python -m pip install --upgrade setuptools wheel build + python -m pip install --upgrade setuptools wheel build twine + - name: Build packages - run: python -m build --sdist --wheel + # creates the necessary distribution files to /dist + run: python -m build + + - name: Check metadata verification + # this step ensures the metadata is correct and complete + # it is a good practice to run this before publishing to PyPI + run: python -m twine check --strict dist/* + + - name: Distribution files & installation sizes + # this step is useful to get some useful metrics and ensure changes do not break the size of the distribution + run: | + echo "Distribution files sizes" + du -sh dist/* + python -m pip install dist/*.whl --target /tmp/${{ env.base-repo }} --quiet --quiet + echo "Installation size of wheel" + du -sh /tmp/${{ env.base-repo }} + + - name: Upload artifact with distribution files + # this step uploads the distribution files to the GitHub artifact store if they are needed later to publish to PyPI + if: github.repository == env.base-repo && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + uses: actions/upload-artifact@v4 + with: + name: distro-files + path: dist/ + if-no-files-found: error # files are required in the next job + retention-days: 1 # delete the artifact after 1 day, no need to keep it for too long + compression-level: 0 # no need to compress the files + + publish-distribution: + name: Upload distribution to PyPI + runs-on: ubuntu-latest + needs: build-distribution # first build, then publish + # only publish distribution to PyPI in tagged commits + if: github.repository == env.base-repo && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + environment: release + permissions: + id-token: write # this permission mandatory for trusted publishing + steps: + - name: Download artifact with distribution files + uses: actions/download-artifact@v4 + with: + name: distro-files + path: dist/ - - name: Publish distribution to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 + - name: Publish distribution to PyPI + # this step publishes the distribution files to PyPI by using PyPI trusted publishers + # https://docs.pypi.org/trusted-publishers/ + uses: pypa/gh-action-pypi-publish@release/v1 From 998ba58c8897c0edbfe6eb6e4118fcb79c2a67c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Echedey=20Luis=20=C3=81lvarez?= <80125792+echedey-ls@users.noreply.github.com> Date: Tue, 18 Mar 2025 01:04:18 +0000 Subject: [PATCH 03/12] refine instructions --- .github/workflows/publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 86b18b0..824d51d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,6 +7,7 @@ name: Publish distributions to PyPI # Description: Environment for publishing releases to PyPI # 2. Setup trusted publishing for the release environment: # https://docs.pypi.org/trusted-publishers/ +# 3. Ensure your main development branch is named 'main'; if not, update the workflow or the branch name # This workflow is triggered on pull requests that target the main branch # on pushes to the main branch new tags that start with 'v' (for example, 'v1.0.0'). From 7181eccddcc8ec93139b4a8d3e911baccbcfa527 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Echedey=20Luis=20=C3=81lvarez?= <80125792+echedey-ls@users.noreply.github.com> Date: Tue, 18 Mar 2025 01:10:28 +0000 Subject: [PATCH 04/12] Update publish.yml --- .github/workflows/publish.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 824d51d..3d8b20f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,10 +4,10 @@ name: Publish distributions to PyPI # 1. Create a new environment for additional protection and security in the GitHub UI: # Settings > Environments # Name: release -# Description: Environment for publishing releases to PyPI +# Description (e.g.): Environment for publishing releases to PyPI # 2. Setup trusted publishing for the release environment: # https://docs.pypi.org/trusted-publishers/ -# 3. Ensure your main development branch is named 'main'; if not, update the workflow or the branch name +# 3. Ensure your main development branch is named 'main'; if not, update the workflow or rename the branch # This workflow is triggered on pull requests that target the main branch # on pushes to the main branch new tags that start with 'v' (for example, 'v1.0.0'). @@ -31,9 +31,6 @@ jobs: name: Build distribution if: github.repository == env.base-repo runs-on: ubuntu-latest - permissions: - id-token: write # This is required for requesting the JWT - contents: read # This is required for actions/checkout steps: - uses: actions/checkout@v4 # Shallow clone to fetch only the latest commit, which is faster From eda66f2a8eb7dd02cab54dea76bcfbf39e2b30de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Echedey=20Luis=20=C3=81lvarez?= <80125792+echedey-ls@users.noreply.github.com> Date: Tue, 18 Mar 2025 13:46:31 +0000 Subject: [PATCH 05/12] retrigger RTD by removing an optional instruction --- .github/workflows/publish.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3d8b20f..54b23a8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,7 +4,6 @@ name: Publish distributions to PyPI # 1. Create a new environment for additional protection and security in the GitHub UI: # Settings > Environments # Name: release -# Description (e.g.): Environment for publishing releases to PyPI # 2. Setup trusted publishing for the release environment: # https://docs.pypi.org/trusted-publishers/ # 3. Ensure your main development branch is named 'main'; if not, update the workflow or rename the branch From 7448482e5ebd9af1f4d3fcd7ffa74ab5fefdfb2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Echedey=20Luis=20=C3=81lvarez?= <80125792+echedey-ls@users.noreply.github.com> Date: Wed, 19 Mar 2025 21:44:03 +0000 Subject: [PATCH 06/12] Change CI name --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 54b23a8..154da46 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,4 @@ -name: Publish distributions to PyPI +name: Build & Publish package to PyPI # CI setup instructions: # 1. Create a new environment for additional protection and security in the GitHub UI: From b32c5e9e745416eb65c931c92d45847d62340be8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Echedey=20Luis=20=C3=81lvarez?= <80125792+echedey-ls@users.noreply.github.com> Date: Wed, 19 Mar 2025 21:48:47 +0000 Subject: [PATCH 07/12] Fix using env in if statements --- .github/workflows/publish.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 154da46..c8e0c62 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,12 +23,14 @@ on: env: python-version: "3.12" + +vars: base-repo: "pvlib/twoaxistracking" jobs: build-distribution: name: Build distribution - if: github.repository == env.base-repo + if: github.repository == vars.base-repo runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -65,13 +67,13 @@ jobs: run: | echo "Distribution files sizes" du -sh dist/* - python -m pip install dist/*.whl --target /tmp/${{ env.base-repo }} --quiet --quiet + python -m pip install dist/*.whl --target /tmp/${{ vars.base-repo }} --quiet --quiet echo "Installation size of wheel" - du -sh /tmp/${{ env.base-repo }} + du -sh /tmp/${{ vars.base-repo }} - name: Upload artifact with distribution files # this step uploads the distribution files to the GitHub artifact store if they are needed later to publish to PyPI - if: github.repository == env.base-repo && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + if: github.repository == vars.base-repo && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') uses: actions/upload-artifact@v4 with: name: distro-files @@ -85,7 +87,7 @@ jobs: runs-on: ubuntu-latest needs: build-distribution # first build, then publish # only publish distribution to PyPI in tagged commits - if: github.repository == env.base-repo && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + if: github.repository == vars.base-repo && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') environment: release permissions: id-token: write # this permission mandatory for trusted publishing From 465b605fe7d9014d620d113d23e338fc8a609fdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Echedey=20Luis=20=C3=81lvarez?= <80125792+echedey-ls@users.noreply.github.com> Date: Wed, 19 Mar 2025 22:40:26 +0000 Subject: [PATCH 08/12] Hard-coding it cause GH did not thought about constants --- .github/workflows/publish.yml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c8e0c62..fe30a11 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,12 +1,13 @@ name: Build & Publish package to PyPI # CI setup instructions: -# 1. Create a new environment for additional protection and security in the GitHub UI: +# 1. Replace 'pvlib/twoaxistracking' with your GitHub repository name +# 2. Create a new environment for additional protection and security in the GitHub UI: # Settings > Environments # Name: release -# 2. Setup trusted publishing for the release environment: +# 3. Setup trusted publishing for the release environment: # https://docs.pypi.org/trusted-publishers/ -# 3. Ensure your main development branch is named 'main'; if not, update the workflow or rename the branch +# 4. Ensure your main development branch is named 'main'; if not, update the workflow or rename the branch # This workflow is triggered on pull requests that target the main branch # on pushes to the main branch new tags that start with 'v' (for example, 'v1.0.0'). @@ -23,14 +24,11 @@ on: env: python-version: "3.12" - -vars: base-repo: "pvlib/twoaxistracking" jobs: build-distribution: name: Build distribution - if: github.repository == vars.base-repo runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -67,13 +65,13 @@ jobs: run: | echo "Distribution files sizes" du -sh dist/* - python -m pip install dist/*.whl --target /tmp/${{ vars.base-repo }} --quiet --quiet + python -m pip install dist/*.whl --target /tmp/${{ env.base-repo }} --quiet --quiet echo "Installation size of wheel" - du -sh /tmp/${{ vars.base-repo }} + du -sh /tmp/${{ env.base-repo }} - name: Upload artifact with distribution files # this step uploads the distribution files to the GitHub artifact store if they are needed later to publish to PyPI - if: github.repository == vars.base-repo && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + if: github.repository == 'pvlib/twoaxistracking' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') uses: actions/upload-artifact@v4 with: name: distro-files @@ -87,7 +85,7 @@ jobs: runs-on: ubuntu-latest needs: build-distribution # first build, then publish # only publish distribution to PyPI in tagged commits - if: github.repository == vars.base-repo && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + if: github.repository == 'pvlib/twoaxistracking' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') environment: release permissions: id-token: write # this permission mandatory for trusted publishing From 3729c5c9a9e7e00775e3bb53d1aa26dbada7cb71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Echedey=20Luis=20=C3=81lvarez?= <80125792+echedey-ls@users.noreply.github.com> Date: Wed, 19 Mar 2025 23:15:38 +0000 Subject: [PATCH 09/12] setuptools-scm did not work with a shallow copy --- .github/workflows/publish.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fe30a11..a38043b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -32,14 +32,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - # Shallow clone to fetch only the latest commit, which is faster + # Deep clone to fetch all commits and tags, by setting the fetch-depth to 0 with: - fetch-depth: 1 - - - name: Fetch latest tag - # Fetch the latest tag explicitly, so setuptools-scm can use it for the version - run: | - git fetch --tags + fetch-depth: 0 - name: Set up Python uses: actions/setup-python@v5 From dd6fa2312539535c7f9cac5576148b278ceb63b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Echedey=20Luis=20=C3=81lvarez?= <80125792+echedey-ls@users.noreply.github.com> Date: Wed, 19 Mar 2025 23:43:45 +0000 Subject: [PATCH 10/12] fix installation size listing --- .github/workflows/publish.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a38043b..8d1b7b6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,7 +1,7 @@ name: Build & Publish package to PyPI # CI setup instructions: -# 1. Replace 'pvlib/twoaxistracking' with your GitHub repository name +# 1. Replace 'pvlib/twoaxistracking' and 'twoaxistracking' with your GitHub organization and repository name # 2. Create a new environment for additional protection and security in the GitHub UI: # Settings > Environments # Name: release @@ -24,7 +24,6 @@ on: env: python-version: "3.12" - base-repo: "pvlib/twoaxistracking" jobs: build-distribution: @@ -60,9 +59,9 @@ jobs: run: | echo "Distribution files sizes" du -sh dist/* - python -m pip install dist/*.whl --target /tmp/${{ env.base-repo }} --quiet --quiet + python -m pip install dist/*.whl --target /tmp/pvlib --quiet --quiet echo "Installation size of wheel" - du -sh /tmp/${{ env.base-repo }} + du -sh /tmp/pvlib/twoaxistracking - name: Upload artifact with distribution files # this step uploads the distribution files to the GitHub artifact store if they are needed later to publish to PyPI From 7f109d4a1f50205470a5ceec876411be1118f5b5 Mon Sep 17 00:00:00 2001 From: "Adam R. Jensen" <39184289+AdamRJensen@users.noreply.github.com> Date: Fri, 21 Mar 2025 09:47:39 +0100 Subject: [PATCH 11/12] Switch to SPDX license format --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 194d75c..560c194 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ description = "twoaxistracking is a python package for simulating two-axis track readme = "README.md" requires-python = ">=3.9" keywords = ["solar energy", "photovoltaics", "solar collector", "shading"] -license = {file = "LICENSE"} +license = "BSD-3-Clause" classifiers = [ "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.9", @@ -32,7 +32,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Topic :: Scientific/Engineering", "Intended Audience :: Science/Research", From 0fb3d48f2e304e5819cb858f1a95b19b661af451 Mon Sep 17 00:00:00 2001 From: "Adam R. Jensen" <39184289+AdamRJensen@users.noreply.github.com> Date: Fri, 21 Mar 2025 09:56:55 +0100 Subject: [PATCH 12/12] Add license-file field to pyproject.toml --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 560c194..2aae426 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,6 +25,7 @@ readme = "README.md" requires-python = ">=3.9" keywords = ["solar energy", "photovoltaics", "solar collector", "shading"] license = "BSD-3-Clause" +license-files = ["LICEN[CS]E*"] classifiers = [ "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.9", @@ -58,6 +59,7 @@ doc = [ Documentation = "https://twoaxistracking.readthedocs.io" Issues = "https://github.com/pvlib/twoaxistracking/issues" Repository = "https://github.com/pvlib/twoaxistracking.git" +Changelog = "https://github.com/pvlib/twoaxistracking/blob/main/docs/source/whatsnew.md" [tool.pytest.ini_options] addopts = "--cov=twoaxistracking --cov-fail-under=100 --cov-report=term-missing"