Skip to content

Commit 717df00

Browse files
authored
511 move to src structure (#512)
* moving to src * path for hatching * fixing pdoc and coverage * fix deptry * fix tests
1 parent c4291e0 commit 717df00

Some content is hidden

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

48 files changed

+10
-1
lines changed

.github/workflows/book.yml

+5
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
uses: cvxgrp/.github/actions/[email protected]
2020

2121
- uses: cvxgrp/.github/actions/[email protected]
22+
with:
23+
source-folder: 'src/cvx'
2224

2325
test:
2426
runs-on: "ubuntu-latest"
@@ -27,6 +29,9 @@ jobs:
2729
uses: cvxgrp/.github/actions/[email protected]
2830

2931
- uses: cvxgrp/.github/actions/[email protected]
32+
with:
33+
tests-folder: 'src/tests'
34+
source-folder: 'src/cvx'
3035

3136
jupyter:
3237
runs-on: "ubuntu-latest"

.github/workflows/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@ jobs:
2121
python-version: ${{ matrix.python-version }}
2222

2323
- uses: cvxgrp/.github/actions/[email protected]
24+
with:
25+
tests-folder: 'src/tests'

.github/workflows/pre-commit.yml

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
uses: cvxgrp/.github/actions/[email protected]
1212

1313
- uses: cvxgrp/.github/actions/[email protected]
14+
with:
15+
source-folder: 'src/cvx'
1416

1517
pre-commit:
1618
runs-on: ubuntu-latest

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ requires = ["hatchling"]
4646
build-backend = "hatchling.build"
4747

4848
[tool.hatch.build.targets.wheel]
49-
packages = ["cvx"]
49+
packages = ["src/cvx"]
5050

5151
[tool.deptry.per_rule_ignores]
5252
DEP002 = ["cvxpy-base", "ipython", "quantstats"]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)