Skip to content

Commit

Permalink
Merge pull request #5 from AidanJohnston/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
AidanJohnston authored May 22, 2024
2 parents 699eaae + 995409a commit 0cef9c8
Show file tree
Hide file tree
Showing 36 changed files with 728 additions and 402 deletions.
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: Bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/spec-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Spec Request
about: Suggest an idea for this project
title: ''
labels: spec request
assignees: AidanJohnston

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
186 changes: 186 additions & 0 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
name: build
on: [push, pull_request]
jobs:
test:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
include:
- name: 'check'
python: '3.11'
toxpython: 'python3.11'
tox_env: 'check'
os: 'ubuntu-latest'
- name: 'docs'
python: '3.11'
toxpython: 'python3.11'
tox_env: 'docs'
os: 'ubuntu-latest'
- name: 'py38 (ubuntu)'
python: '3.8'
toxpython: 'python3.8'
python_arch: 'x64'
tox_env: 'py38'
os: 'ubuntu-latest'
- name: 'py38 (windows)'
python: '3.8'
toxpython: 'python3.8'
python_arch: 'x64'
tox_env: 'py38'
os: 'windows-latest'
- name: 'py38 (macos)'
python: '3.8'
toxpython: 'python3.8'
python_arch: 'x64'
tox_env: 'py38'
os: 'macos-latest'
- name: 'py39 (ubuntu)'
python: '3.9'
toxpython: 'python3.9'
python_arch: 'x64'
tox_env: 'py39'
os: 'ubuntu-latest'
- name: 'py39 (windows)'
python: '3.9'
toxpython: 'python3.9'
python_arch: 'x64'
tox_env: 'py39'
os: 'windows-latest'
- name: 'py39 (macos)'
python: '3.9'
toxpython: 'python3.9'
python_arch: 'x64'
tox_env: 'py39'
os: 'macos-latest'
- name: 'py310 (ubuntu)'
python: '3.10'
toxpython: 'python3.10'
python_arch: 'x64'
tox_env: 'py310'
os: 'ubuntu-latest'
- name: 'py310 (windows)'
python: '3.10'
toxpython: 'python3.10'
python_arch: 'x64'
tox_env: 'py310'
os: 'windows-latest'
- name: 'py310 (macos)'
python: '3.10'
toxpython: 'python3.10'
python_arch: 'x64'
tox_env: 'py310'
os: 'macos-latest'
- name: 'py311 (ubuntu)'
python: '3.11'
toxpython: 'python3.11'
python_arch: 'x64'
tox_env: 'py311'
os: 'ubuntu-latest'
- name: 'py311 (windows)'
python: '3.11'
toxpython: 'python3.11'
python_arch: 'x64'
tox_env: 'py311'
os: 'windows-latest'
- name: 'py311 (macos)'
python: '3.11'
toxpython: 'python3.11'
python_arch: 'x64'
tox_env: 'py311'
os: 'macos-latest'
- name: 'py312 (ubuntu)'
python: '3.12'
toxpython: 'python3.12'
python_arch: 'x64'
tox_env: 'py312'
os: 'ubuntu-latest'
- name: 'py312 (windows)'
python: '3.12'
toxpython: 'python3.12'
python_arch: 'x64'
tox_env: 'py312'
os: 'windows-latest'
- name: 'py312 (macos)'
python: '3.12'
toxpython: 'python3.12'
python_arch: 'x64'
tox_env: 'py312'
os: 'macos-latest'
- name: 'pypy38 (ubuntu)'
python: 'pypy-3.8'
toxpython: 'pypy3.8'
python_arch: 'x64'
tox_env: 'pypy38'
os: 'ubuntu-latest'
- name: 'pypy38 (windows)'
python: 'pypy-3.8'
toxpython: 'pypy3.8'
python_arch: 'x64'
tox_env: 'pypy38'
os: 'windows-latest'
- name: 'pypy38 (macos)'
python: 'pypy-3.8'
toxpython: 'pypy3.8'
python_arch: 'x64'
tox_env: 'pypy38'
os: 'macos-latest'
- name: 'pypy39 (ubuntu)'
python: 'pypy-3.9'
toxpython: 'pypy3.9'
python_arch: 'x64'
tox_env: 'pypy39'
os: 'ubuntu-latest'
- name: 'pypy39 (windows)'
python: 'pypy-3.9'
toxpython: 'pypy3.9'
python_arch: 'x64'
tox_env: 'pypy39'
os: 'windows-latest'
- name: 'pypy39 (macos)'
python: 'pypy-3.9'
toxpython: 'pypy3.9'
python_arch: 'x64'
tox_env: 'pypy39'
os: 'macos-latest'
- name: 'pypy310 (ubuntu)'
python: 'pypy-3.10'
toxpython: 'pypy3.10'
python_arch: 'x64'
tox_env: 'pypy310'
os: 'ubuntu-latest'
- name: 'pypy310 (windows)'
python: 'pypy-3.10'
toxpython: 'pypy3.10'
python_arch: 'x64'
tox_env: 'pypy310'
os: 'windows-latest'
- name: 'pypy310 (macos)'
python: 'pypy-3.10'
toxpython: 'pypy3.10'
python_arch: 'x64'
tox_env: 'pypy310'
os: 'macos-latest'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
architecture: ${{ matrix.python_arch }}
- name: install dependencies
run: |
python -mpip install --progress-bar=off -r ci/requirements.txt
virtualenv --version
pip --version
tox --version
pip list --format=freeze
- name: test
env:
TOXPYTHON: '${{ matrix.toxpython }}'
run: >
tox -e ${{ matrix.tox_env }} -v
7 changes: 0 additions & 7 deletions .gitmodules

This file was deleted.

5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
Changelog
=========

0.1.0 (2024-05-21)
------------------

* Initial dataclasses for sensor and resolution.

0.0.0 (2024-01-08)
------------------

Expand Down
5 changes: 2 additions & 3 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ graft ci
graft tests

include .bumpversion.cfg
include .cookiecutterrc
include .coveragerc
include CMakeLists.txt
include .editorconfig
include .github/workflows/github-actions.yml
include .pre-commit-config.yaml
include .readthedocs.yml
include .readthedocs.yaml
include pytest.ini
include tox.ini

Expand Down
43 changes: 23 additions & 20 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,36 @@
RASAL
=====


Resolution and Sensors and Lens.

.. class:: center
.. start-badges
.. image:: https://readthedocs.org/projects/rasal/badge/?version=latest&style=flat-square
:target: https://rasal.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status

.. image:: https://img.shields.io/pypi/v/rasal.svg?style=flat-square
:alt: PyPI Package latest release
:target: https://pypi.org/project/rasal

.. image:: https://readthedocs.org/projects/rasal/badge/?version=latest&style=flat-square
:target: https://rasal.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://img.shields.io/pypi/dm/rasal?style=flat-square
:alt: PyPi Package Downloads
:target: https://pypi.org/project/rasal

.. image:: https://img.shields.io/pypi/v/rasal.svg?style=flat-square
:alt: PyPI Package latest release
:target: https://pypi.org/project/rasal
.. image:: https://img.shields.io/pypi/wheel/rasal.svg?style=flat-square
:alt: PyPI Wheel
:target: https://pypi.org/project/rasal

.. image:: https://img.shields.io/pypi/dm/rasal?style=flat-square
:alt: PyPi Package Downloads
:target: https://pypi.org/project/rasal

.. image:: https://img.shields.io/pypi/wheel/rasal.svg?style=flat-square
:alt: PyPI Wheel
:target: https://pypi.org/project/rasal
.. image:: https://img.shields.io/pypi/pyversions/rasal.svg?style=flat-square
:alt: Supported versions
:target: https://pypi.org/project/rasal

.. image:: https://img.shields.io/pypi/pyversions/rasal.svg?style=flat-square
:alt: Supported versions
:target: https://pypi.org/project/rasal
.. image:: https://img.shields.io/pypi/implementation/rasal.svg?style=flat-square
:alt: Supported implementations
:target: https://pypi.org/project/rasal

.. image:: https://img.shields.io/pypi/implementation/rasal.svg?style=flat-square
:alt: Supported implementations
:target: https://pypi.org/project/rasal
.. end-badges
Installation
============
Expand Down
1 change: 1 addition & 0 deletions ci/templates/.github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- uses: actions/setup-python@v5
with:
python-version: {{ '${{ matrix.python }}' }}
Expand Down
1 change: 0 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import furo

extensions = [
"sphinx.ext.autodoc",
Expand Down
1 change: 0 additions & 1 deletion extern/json
Submodule json deleted from 7efe87
1 change: 0 additions & 1 deletion extern/pybind11
Submodule pybind11 deleted from 8b03ff
Loading

0 comments on commit 0cef9c8

Please sign in to comment.