Skip to content

Commit f8a048c

Browse files
committed
Update configs (openml#1199)
* Update flake8 repo from gitlab to github * Exclude `venv` * Numpy scalar aliases are removed in 1.24 Fix numpy for future 0.13 releases, then fix and bump as needed
1 parent 472531b commit f8a048c

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
*~
22
doc/generated
33
examples/.ipynb_checkpoints
4+
venv
5+
46
# Byte-compiled / optimized / DLL files
57
__pycache__/
68
*.py[cod]

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repos:
1919
additional_dependencies:
2020
- types-requests
2121
- types-python-dateutil
22-
- repo: https://gitlab.com/pycqa/flake8
22+
- repo: https://github.com/pycqa/flake8
2323
rev: 4.0.1
2424
hooks:
2525
- id: flake8

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"python-dateutil", # Installed through pandas anyway.
5454
"pandas>=1.0.0",
5555
"scipy>=0.13.3",
56-
"numpy>=1.6.2",
56+
"numpy>=1.6.2,<1.24",
5757
"minio",
5858
"pyarrow",
5959
],

0 commit comments

Comments
 (0)