-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update copier template to v0.10.1 (#18)
Co-authored-by: quant-ranger[bot] <132915763+quant-ranger[bot]@users.noreply.github.com> Co-authored-by: kklein <[email protected]>
- Loading branch information
1 parent
05338cc
commit e9d95bf
Showing
7 changed files
with
60 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Type check | ||
on: [push] | ||
|
||
concurrency: | ||
group: "${{ github.workflow }}-${{ github.ref }}" | ||
cancel-in-progress: true | ||
|
||
defaults: | ||
run: | ||
shell: "bash -el {0}" | ||
|
||
env: | ||
QUETZ_API_KEY: "${{ secrets.QUETZ_API_KEY }}" | ||
|
||
jobs: | ||
mypy: | ||
name: Run Mypy | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout branch | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: "${{ github.head_ref }}" | ||
fetch-depth: 0 | ||
- name: Set up Conda env | ||
uses: mamba-org/setup-micromamba@422500192359a097648154e8db4e39bdb6c6eed7 | ||
with: | ||
condarc-file: .github/assets/.condarc | ||
environment-file: environment.yml | ||
cache-environment: true | ||
- name: Install repository | ||
run: >- | ||
python -m pip install --no-build-isolation --no-deps | ||
--disable-pip-version-check -e . | ||
- name: Run mypy | ||
run: mypy . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ jobs: | |
ref: ${{ github.head_ref }} | ||
fetch-depth: 0 | ||
- name: Build conda package | ||
uses: quantco/[email protected].2 | ||
uses: quantco/[email protected].3 | ||
with: | ||
quetz-api-key: ${{ secrets.QUETZ_API_KEY }} | ||
upload-quetz: ${{ startsWith(github.ref, 'refs/tags/') }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,6 @@ version_scheme = "post-release" | |
[project] | ||
name = "metalearners" | ||
description = "MetaLearners for CATE estimation" | ||
readme = "README.md" | ||
dynamic = ["version"] | ||
authors = [ | ||
{name = "QuantCo, Inc.", email = "[email protected]"}, | ||
|
@@ -72,9 +71,13 @@ ignore_missing_imports = true | |
no_implicit_optional = true | ||
check_untyped_defs = true | ||
|
||
exclude = ["docs/"] | ||
|
||
[tool.pytest.ini_options] | ||
addopts = "--import-mode=importlib --cov=metalearners --cov-report term-missing --color=yes" | ||
testpaths = [ | ||
"tests", | ||
] | ||
|
||
[tool.typos.default] | ||
extend-ignore-re = ["HTE"] |