Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into use-dataframe-api
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Dec 15, 2023
2 parents f774dae + 9a6ab39 commit 74d3fb6
Show file tree
Hide file tree
Showing 212 changed files with 5,421 additions and 8,524 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,23 @@ jobs:
- name: Run Checks
run: |
python tests/scripts/check_pip.py missing cvxpy
python tests/scripts/check_pip.py contains scikit-learn
python tests/scripts/check_pip.py installed scikit-learn
python tests/scripts/import_all.py
- name: Install cvxpy
run: |
python -m pip install -e ".[cvxpy]"
- name: Run Checks
run: |
python tests/scripts/check_pip.py contains cvxpy scikit-learn
python tests/scripts/check_pip.py installed cvxpy scikit-learn
python tests/scripts/import_all.py
- name: Install All
run: |
python -m pip install -e ".[all]"
- name: Run Checks
run: |
python tests/scripts/check_pip.py contains cvxpy scikit-learn
python tests/scripts/check_pip.py installed cvxpy formulaic patsy scikit-learn umap-learn
- name: Docs can Build
run: |
sudo apt-get update && sudo apt-get install pandoc
python -m pip install -e ".[docs]"
sphinx-build doc docs
mkdocs build
25 changes: 0 additions & 25 deletions .github/workflows/renderdocs.yml

This file was deleted.

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ dmypy.json
# editor
.vscode
.idea
docs/
.DS_Store

# Local Netlify folder
Expand Down
17 changes: 4 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,32 +9,23 @@ install:
pip install -e ".[dev]"
pre-commit install

doctest:
python -m doctest -v sklego/*.py

test-notebooks:
pytest --nbval-lax doc/*.ipynb

test: doctest
test:
pytest --disable-warnings --cov=sklego
rm -rf .coverage*
pytest --nbval-lax doc/*.ipynb

precommit:
pre-commit run

docs:
rm -rf doc/.ipynb_checkpoints
sphinx-build -a -E doc docs
mkdocs serve

docs-deploy: docs
netlify deploy --dir=docs --prod
docs-deploy:
mkdocs gh-deploy

clean:
rm -rf .pytest_cache
rm -rf build
rm -rf dist
rm -rf docs
rm -rf scikit_lego.egg-info
rm -rf .ipynb_checkpoints
rm -rf .coverage*
Expand Down
19 changes: 0 additions & 19 deletions doc/Makefile

This file was deleted.

16 changes: 0 additions & 16 deletions doc/_static/css/custom.css

This file was deleted.

Binary file removed doc/_static/decay1.png
Binary file not shown.
Binary file removed doc/_static/decay2.png
Binary file not shown.
Binary file removed doc/_static/grouped-chick-1.png
Binary file not shown.
Binary file removed doc/_static/grouped-chick-2.png
Binary file not shown.
Binary file removed doc/_static/grouped-chick-3.png
Binary file not shown.
Binary file removed doc/_static/grouped-model.png
Binary file not shown.
Binary file removed doc/_static/lowess-base.png
Binary file not shown.
Binary file removed doc/_static/lowess-pred-1.gif
Binary file not shown.
Binary file removed doc/_static/lowess-pred-2.gif
Binary file not shown.
Binary file removed doc/_static/lowess-rolling.gif
Binary file not shown.
Binary file removed doc/_static/lowess-span-1.png
Binary file not shown.
Binary file removed doc/_static/lowess-span-2.png
Binary file not shown.
Binary file removed doc/_static/lowess-two-predictions.gif
Binary file not shown.
Binary file removed doc/_static/naive-bayes-1.png
Binary file not shown.
Binary file removed doc/_static/naive-bayes-2.png
Binary file not shown.
Binary file removed doc/_static/naive-bayes-22.png
Binary file not shown.
Binary file removed doc/_static/naive-bayes-3.png
Binary file not shown.
Binary file removed doc/_static/outlier-clf.png
Binary file not shown.
Binary file removed doc/_static/outlier-mixture-stddev.png
Binary file not shown.
Binary file removed doc/_static/outlier-mixture-threshold.png
Binary file not shown.
Binary file removed doc/_static/outlier-mixture.png
Binary file not shown.
Binary file removed doc/_static/skewed-data.png
Binary file not shown.
Binary file removed doc/_static/threshold-results.png
Binary file not shown.
Binary file removed doc/_static/timegapsplit.png
Binary file not shown.
14 changes: 0 additions & 14 deletions doc/_templates/layout.html

This file was deleted.

11 changes: 0 additions & 11 deletions doc/api/base.rst

This file was deleted.

11 changes: 0 additions & 11 deletions doc/api/common.rst

This file was deleted.

11 changes: 0 additions & 11 deletions doc/api/datasets.rst

This file was deleted.

11 changes: 0 additions & 11 deletions doc/api/decomposition.rst

This file was deleted.

11 changes: 0 additions & 11 deletions doc/api/dummy.rst

This file was deleted.

11 changes: 0 additions & 11 deletions doc/api/linear_model.rst

This file was deleted.

11 changes: 0 additions & 11 deletions doc/api/meta.rst

This file was deleted.

11 changes: 0 additions & 11 deletions doc/api/metrics.rst

This file was deleted.

11 changes: 0 additions & 11 deletions doc/api/mixture.rst

This file was deleted.

11 changes: 0 additions & 11 deletions doc/api/model_selection.rst

This file was deleted.

20 changes: 0 additions & 20 deletions doc/api/modules.rst

This file was deleted.

11 changes: 0 additions & 11 deletions doc/api/naive_bayes.rst

This file was deleted.

11 changes: 0 additions & 11 deletions doc/api/pandas_utils.rst

This file was deleted.

11 changes: 0 additions & 11 deletions doc/api/pipeline.rst

This file was deleted.

11 changes: 0 additions & 11 deletions doc/api/preprocessing.rst

This file was deleted.

Loading

0 comments on commit 74d3fb6

Please sign in to comment.