Skip to content

Commit f64f8b1

Browse files
committed
added copier stuff
1 parent 01606dc commit f64f8b1

6 files changed

Lines changed: 25 additions & 48 deletions

File tree

.copier-answers.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changes here will be overwritten by Copier
2+
_commit: v0.4
3+
_src_path: gh:LSSTDESC/RAIL-project-template
4+
author_email: lsst-desc-rail-admin@slac.stanford.edu
5+
author_name: LSST Dark Energy Science Collaboration (DESC)
6+
create_example_module: false
7+
package_name: sompz
8+
project_name: pz-rail-sompz

.github/workflows/linting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Python
1818
uses: actions/setup-python@v4
1919
with:
20-
python-version: '3.11'
20+
python-version: '3.12'
2121
- name: Install dependencies
2222
run: |
2323
sudo apt-get update

.github/workflows/publish-to-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Set up Python
2727
uses: actions/setup-python@v4
2828
with:
29-
python-version: '3.10'
29+
python-version: '3.12'
3030
- name: Install dependencies
3131
run: |
3232
python -m pip install --upgrade pip

.github/workflows/smoke-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
strategy:
1818
matrix:
19-
python-version: ['3.10', '3.11']
19+
python-version: ['3.11', '3.12', '3.13']
2020

2121
steps:
2222
- uses: actions/checkout@v3

.github/workflows/testing-and-coverage.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: ['3.10', '3.11']
18+
python-version: ['3.11', '3.12', '3.13']
19+
1920
steps:
2021
- uses: actions/checkout@v3
2122
- name: Set up Python ${{ matrix.python-version }}
@@ -31,7 +32,7 @@ jobs:
3132
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
3233
- name: Run unit tests with pytest
3334
run: |
34-
python -m pytest tests --cov=rail --cov-report=xml
35+
python -m pytest tests --cov=sompz --cov-report=xml
3536
- name: Upload coverage report to codecov
3637
uses: codecov/codecov-action@v4
3738
with:

.gitignore

Lines changed: 11 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
out/
2-
tests/old
3-
*.hdf5
4-
*.h5
5-
*.out
6-
*.npz
7-
*.pkl
8-
*.py~
9-
*.DS_Store
10-
misc/
11-
121
# Byte-compiled / optimized / DLL files
132
__pycache__/
143
*.py[cod]
@@ -18,7 +7,6 @@ __pycache__/
187
*.so
198

209
# Distribution / packaging
21-
_version.py
2210
.Python
2311
build/
2412
develop-eggs/
@@ -32,11 +20,13 @@ parts/
3220
sdist/
3321
var/
3422
wheels/
23+
pip-wheel-metadata/
3524
share/python-wheels/
3625
*.egg-info/
3726
.installed.cfg
3827
*.egg
3928
MANIFEST
29+
_version.py
4030

4131
# PyInstaller
4232
# Usually these files are written by a python script from a template
@@ -61,7 +51,6 @@ coverage.xml
6151
*.py,cover
6252
.hypothesis/
6353
.pytest_cache/
64-
cover/
6554

6655
# Translations
6756
*.mo
@@ -82,9 +71,9 @@ instance/
8271

8372
# Sphinx documentation
8473
docs/_build/
74+
_readthedocs/
8575

8676
# PyBuilder
87-
.pybuilder/
8877
target/
8978

9079
# Jupyter Notebook
@@ -95,9 +84,7 @@ profile_default/
9584
ipython_config.py
9685

9786
# pyenv
98-
# For a library or package, you might want to ignore these files since the code is
99-
# intended to run in multiple environments; otherwise, check them in:
100-
# .python-version
87+
.python-version
10188

10289
# pipenv
10390
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
@@ -106,22 +93,7 @@ ipython_config.py
10693
# install all needed dependencies.
10794
#Pipfile.lock
10895

109-
# poetry
110-
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
111-
# This is especially recommended for binary packages to ensure reproducibility, and is more
112-
# commonly ignored for libraries.
113-
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
114-
#poetry.lock
115-
116-
# pdm
117-
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
118-
#pdm.lock
119-
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
120-
# in version control.
121-
# https://pdm.fming.dev/#use-with-ide
122-
.pdm.toml
123-
124-
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
96+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
12597
__pypackages__/
12698

12799
# Celery stuff
@@ -158,15 +130,11 @@ dmypy.json
158130
# Pyre type checker
159131
.pyre/
160132

161-
# pytype static type analyzer
162-
.pytype/
133+
# vscode
134+
.vscode/
163135

164-
# Cython debug symbols
165-
cython_debug/
136+
# dask
137+
dask-worker-space/
166138

167-
# PyCharm
168-
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
169-
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
170-
# and can be added to the global gitignore or merged into this file. For a more nuclear
171-
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
172-
#.idea/
139+
# tmp directory
140+
tmp/

0 commit comments

Comments
 (0)