Skip to content

Commit 6bf0592

Browse files
committed
Merge branch 'main' into mmg/update-test-workflow
2 parents e74d0a2 + 1254b92 commit 6bf0592

File tree

93 files changed

+3335
-730
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+3335
-730
lines changed

.all-contributorsrc

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,27 @@
9393
"contributions": [
9494
"bug"
9595
]
96+
},
97+
{
98+
"login": "ElisR",
99+
"name": "Elis Roberts",
100+
"avatar_url": "https://avatars.githubusercontent.com/u/19764906?v=4",
101+
"profile": "https://github.com/ElisR",
102+
"contributions": [
103+
"bug",
104+
"doc"
105+
]
106+
},
107+
{
108+
"login": "ASKabalan",
109+
"name": "Wassim KABALAN",
110+
"avatar_url": "https://avatars.githubusercontent.com/u/83787080?v=4",
111+
"profile": "https://github.com/ASKabalan",
112+
"contributions": [
113+
"code",
114+
"review",
115+
"test"
116+
]
96117
}
97118
],
98119
"contributorsPerLine": 7,

.clang-format

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
Language: Cpp
3+
BasedOnStyle: Google
4+
ColumnLimit: 110
5+
IndentWidth: 4
6+
AccessModifierOffset: -4
7+
SortIncludes: false # reordering may break existing code
8+
ConstructorInitializerIndentWidth: 8
9+
ContinuationIndentWidth: 8
10+
...
11+
# LSST C++ style guide: https://developer.lsst.io/cpp/clang-format.html#general

.coveragerc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@
22
omit =
33
*test_*
44
*__init__*
5-
*plotting*
5+
*plotting*
6+
exclude_also =
7+
; Exclude functions requiring CUDA from coverage
8+
def \w+_cuda(?:|_\w+)\(

.github/release.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
changelog:
2+
exclude:
3+
labels:
4+
- infrastructure
5+
authors:
6+
- allcontributors
7+
categories:
8+
- title: ✨ New features
9+
labels:
10+
- enhancement
11+
- title: 📖 Documentation improvements
12+
labels:
13+
- documentation
14+
- title: 🐛 Bug fixes
15+
labels:
16+
- bug
17+
- title: 📦 Dependency updates
18+
labels:
19+
- dependencies
20+
- title: 🛠 Other changes
21+
labels:
22+
- "*"

.github/workflows/docs.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@ jobs:
2626
run: |
2727
sudo apt install pandoc
2828
python -m pip install --upgrade pip
29-
pip install jaxlib
30-
pip install -r requirements/requirements-core.txt
31-
pip install -r requirements/requirements-docs.txt
32-
pip install .
29+
pip install .[docs]
3330
3431
- name: Build Documentation
3532
run: |

.github/workflows/linting.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Linting
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
linting:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout source
14+
uses: actions/checkout@v4
15+
16+
- name: Cache pre-commit
17+
uses: actions/cache@v4
18+
with:
19+
path: ~/.cache/pre-commit
20+
key: pre-commit-${{ '{{' }} hashFiles('.pre-commit-config.yaml') {{ '}}' }}
21+
22+
- name: Set up Python
23+
uses: actions/setup-python@v5
24+
with:
25+
python-version: "3.x"
26+
cache: pip
27+
cache-dependency-path: pyproject.toml
28+
29+
- name: Install dependencies
30+
run: python -m pip install pre-commit
31+
32+
- name: Run pre-commit
33+
run: pre-commit run --all-files --color always --verbose

.github/workflows/tests.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ jobs:
4343
- name: Install dependencies
4444
run: |
4545
python -m pip install --upgrade pip
46-
pip install -r requirements/requirements-core.txt -r requirements/requirements-tests.txt
47-
pip install .
46+
pip install .[tests]
4847
4948
- name: Run tests
5049
run: |

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,18 @@ resources/
2020
.matrices/
2121
s2fft.code-workspace
2222
.tox
23+
s2fft/_version.py
24+
25+
#c++/cuda/cmake
26+
venv
27+
CMakeLists.txt.user
28+
CMakeCache.txt
29+
CMakeFiles
30+
CMakeScripts
31+
Testing
32+
Makefile
33+
cmake_install.cmake
34+
install_manifest.txt
35+
compile_commands.json
36+
CTestTestfile.cmake
37+
_deps

.gitmodules

Whitespace-only changes.

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
repos:
2+
- repo: https://github.com/astral-sh/ruff-pre-commit
3+
rev: v0.6.9
4+
hooks:
5+
- id: ruff
6+
- id: ruff-format

0 commit comments

Comments
 (0)