Skip to content

Commit

Permalink
test install
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbant committed Aug 2, 2024
1 parent 78653aa commit c15035e
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: oldest supported versions
os: ubuntu-latest
python-version: '3.9'
toxenv: py38-test-oldest
toxenv: py39-test-oldest

- name: macOS latest
os: macos-latest
Expand All @@ -32,8 +32,8 @@ jobs:

- name: Windows latest
os: windows-latest
python-version: '3.12'
toxenv: py312-test-latest
python-version: '3.11'
toxenv: py311-test-latest
env:
PYTHONIOENCODING: utf-8
PYTHONUTF8: 1
Expand Down
13 changes: 8 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
name = "soliket"
dynamic = ['version']
authors = [
{name = "Simons Observatory"}
{ name = "Simons Observatory" }
]
description = "Likelihood and Theory codes for the Simons Observatory."
readme = "README.rst"
requires-python = ">=3.9"
license = {text = "MIT"}
license = { text = "MIT" }
dependencies = [
"requests",
"numpy",
Expand Down Expand Up @@ -55,7 +55,7 @@ include = [
"soliket.poisson",
"soliket.ps",
"soliket.xcorr",
]
]

[tool.setuptools.package-data]
"*" = ['*.yaml', '*.fits', '*.txt', '*.pkl', '*.gz']
Expand All @@ -72,11 +72,14 @@ docs = [
"sphinx",
"sphinx_rtd_theme",
]
tests = [
"scikit-learn",
]

[tool.flake8]
select = ["E713","E704","E703","E714","E741","E10","E11","E20","E22","E23","E25","E262","E27","E301","E302","E304","E9","F405","F406","F5","F6","F7","F8","E501","W191","F401","W1","W292","W293","W3"]
select = ["E713", "E704", "E703", "E714", "E741", "E10", "E11", "E20", "E22", "E23", "E25", "E262", "E27", "E301", "E302", "E304", "E9", "F405", "F406", "F5", "F6", "F7", "F8", "E501", "W191", "F401", "W1", "W292", "W293", "W3"]
max-line-length = 90
exclude = [".tox","build","cobaya_packages","test",".eggs"]
exclude = [".tox", "build", "cobaya_packages", "test", ".eggs"]

[tool.coverage.run]
omit = [
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ pyccl >= 3.0; platform_system!='Windows'
sacc
fgspectra>=1.1.0
syslibrary
pyhalomodel
pyhalomodel
2 changes: 1 addition & 1 deletion soliket/cosmopower/cosmopower.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""
r"""
.. module:: soliket.cosmopower
:Synopsis: Simple CosmoPower theory wrapper for Cobaya.
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ requires =
setuptools_scm >= 8
pip >= 19.3.1
envlist =
py{39,310,311.312}-test{,-all}{,-latest,-oldest}{,-cov}
py{39,310,311}-test{,-all}{,-latest,-oldest}{,-cov}
codestyle

[testenv]
Expand Down Expand Up @@ -39,6 +39,7 @@ description =
cov: and test coverage

extras =
tests
all: all

commands =
Expand Down

0 comments on commit c15035e

Please sign in to comment.