Skip to content

Commit 7d9a15e

Browse files
Merge pull request #31 from Quantmetry/dev
Dev
2 parents 1fa9338 + 268f39f commit 7d9a15e

File tree

342 files changed

+4004
-39025
lines changed

Some content is hidden

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

342 files changed

+4004
-39025
lines changed

.flake8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[flake8]
22
exclude = .git,__pycache__,.vscode,tests
33
max-line-length=99
4-
ignore=E302,E305,W503,E203,E731,E402,E501,E266,E712,F401,F821
4+
ignore=E302,E305,W503,E203,E731,E402,E266,E712,F401,F821
55
indent-size = 4
66
per-file-ignores=
77
qolmat/imputations/imputers.py:F401

.github/workflows/test.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
11
name: Unit test Qolmat
22

3-
on: [push, pull_request,workflow_dispatch]
4-
3+
on: [push, pull_request, workflow_dispatch]
54

65
jobs:
76
build-linux:
87
runs-on: ${{matrix.os}}
98
strategy:
109
matrix:
11-
os: [ubuntu-latest,windows-latest]
12-
python-version: [3.8,3.9]
10+
os: [ubuntu-latest, windows-latest]
11+
python-version: [3.8, 3.9]
1312
defaults:
1413
run:
1514
shell: bash -l {0}
1615

1716
steps:
18-
- name: Git clone
19-
uses: actions/checkout@v3
20-
- name: Set up venv for ci
21-
uses: conda-incubator/setup-miniconda@v2
22-
with:
23-
python-version: ${{matrix.python-version}}
24-
channels: default, conda-forge
25-
- name: Lint with flake8
26-
run: |
27-
conda install flake8
28-
flake8
29-
- name: Test with pytest
30-
run: |
31-
conda install pytest
32-
#pytest
33-
echo you should uncomment pytest and delete this line
34-
- name: typing with mypy
35-
run: |
36-
#mypy qolmat
37-
echo you should uncomment mypy qolmat and delete this line
17+
- name: Git clone
18+
uses: actions/checkout@v3
19+
- name: Set up venv for ci
20+
uses: conda-incubator/setup-miniconda@v2
21+
with:
22+
python-version: ${{matrix.python-version}}
23+
environment-file: environment.ci.yml
24+
channels: default, conda-forge
25+
- name: Lint with flake8
26+
run: |
27+
conda install flake8
28+
flake8
29+
- name: Test with pytest
30+
run: |
31+
conda install pytest
32+
pytest
33+
echo you should uncomment pytest and delete this line
34+
- name: typing with mypy
35+
run: |
36+
mypy qolmat
37+
echo you should uncomment mypy qolmat and delete this line

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ __pycache__/
66
.DS_Store
77
.mypy*
88

9-
9+
# documentation specific
10+
docs/_build/
11+
docs/generated/
1012

1113
# Distribution / packaging
1214

.pre-commit-config.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,14 @@ repos:
1212
rev: 22.8.0
1313
hooks:
1414
- id: black
15-
exclude: (tests/)
1615
args:
1716
- "-l 99"
1817
# Flake8
1918
- repo: https://github.com/PyCQA/flake8
2019
rev: 4.0.1
2120
hooks:
2221
- id: flake8
22+
- repo: https://github.com/pre-commit/mirrors-mypy
23+
rev: v1.1.1
24+
hooks:
25+
- id: mypy

LICENSE

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Copyright (c) 2023, Hong-Lan BOTTERMAN, Julien ROUSSEL, Thomas MORZADEC, Rima HAJOU, Firas DAKHLI and qolmat contributors.
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions are met:
6+
7+
1. Redistributions of source code must retain the above copyright notice, this
8+
list of conditions and the following disclaimer.
9+
10+
2. Redistributions in binary form must reproduce the above copyright notice,
11+
this list of conditions and the following disclaimer in the documentation
12+
and/or other materials provided with the distribution.
13+
14+
3. Neither the name of the copyright holder nor the names of its
15+
contributors may be used to endorse or promote products derived from
16+
this software without specific prior written permission.
17+
18+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
22+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
24+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
25+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)