Skip to content

Commit 916b4cc

Browse files
committed
[MNT] Update maintenance tools
1 parent b166951 commit 916b4cc

File tree

6 files changed

+92
-0
lines changed

6 files changed

+92
-0
lines changed

.codecov.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# PR status check
2+
coverage:
3+
status:
4+
project:
5+
default:
6+
# treshold: 1%
7+
informational: true
8+
patch:
9+
default:
10+
informational: true
11+
12+
# post coverage report as comment on PR
13+
comment: false
14+
15+
# enable codecov to report to GitHub status checks
16+
github_checks:
17+
annotations: false

.gitignore

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
*.pyc
2+
*.dat
3+
*.c
4+
*.pyd
5+
*.so
6+
*.mmap
7+
*.tgn
8+
*.pkl
9+
*.est
10+
*.clf
11+
*.html
12+
*.xml
13+
.coverage
14+
15+
.DS_Store
16+
.idea/
17+
.vscode/
18+
.pytest_cache/
19+
build/
20+
_build/
21+
dist/
22+
deepforest.egg-info/
23+
benchmarks/*.txt
24+
benchmarks/logs
25+
cache/
26+
tmp/

.readthedocs.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: 2
2+
3+
formats: all
4+
5+
sphinx:
6+
configuration: docs/conf.py
7+
8+
python:
9+
version: 3.7
10+
install:
11+
- requirements: docs/requirements.txt
12+

docs/requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
sphinx==3.1.2
2+
sphinx_rtd_theme==0.5.0
3+
sphinx-copybutton==0.3.1

pyproject.toml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
[build-system]
2+
# Minimum requirements for the build system to execute.
3+
# Modified from https://github.com/scikit-learn/scikit-learn/blob/main/pyproject.toml
4+
requires = [
5+
"setuptools",
6+
"wheel",
7+
"Cython>=0.28.5",
8+
9+
# PyPy needs numpy >= 1.14.0
10+
# platform_python_implementation!='CPython' not needed >= Python 3.7 which is numpy 1.14.5
11+
"numpy==1.13.3; python_version=='3.6' and platform_machine!='aarch64' and platform_system!='AIX' and platform_python_implementation=='CPython'",
12+
"numpy==1.14.0; python_version=='3.6' and platform_machine!='aarch64' and platform_system!='AIX' and platform_python_implementation!='CPython'",
13+
14+
# AIX needs numpy >= 1.16.0
15+
# platform_system!='AIX' not needed >= Python 3.8 which is numpy 1.17.3
16+
"numpy==1.16.0; python_version=='3.6' and platform_machine!='aarch64' and platform_system=='AIX'",
17+
"numpy==1.16.0; python_version=='3.7' and platform_machine!='aarch64' and platform_system=='AIX'",
18+
19+
# ARM needs numpy >= 1.19.0
20+
# platform_machine!='aarch64' not needed >= Python 3.9 which is numpy 1.19.3
21+
"numpy==1.19.0; python_version=='3.6' and platform_machine=='aarch64'",
22+
"numpy==1.19.0; python_version=='3.7' and platform_machine=='aarch64'",
23+
"numpy==1.19.0; python_version=='3.8' and platform_machine=='aarch64'",
24+
25+
# default numpy requirements
26+
"numpy==1.14.5; python_version=='3.7' and platform_machine!='aarch64' and platform_system!='AIX'",
27+
"numpy==1.17.3; python_version=='3.8' and platform_machine!='aarch64'",
28+
29+
"scipy>=0.19.1",
30+
]

requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
numpy>=1.13.3
2+
scipy>=0.19.1
3+
joblib>=0.11
4+
scikit-learn>=0.22

0 commit comments

Comments
 (0)