Skip to content

Commit

Permalink
Arangopipe Updates (#187)
Browse files Browse the repository at this point in the history
* Removed frontend and foxx directories

* Added database parameters

* Fixes after review

* Post running black

* Post flake8 on directory

* Reformatted arangopipe_admin_api.py

* Removed config

* Reformatted

* Cleaned code

* Remove config-related code

* Removed arangopipe-admin

* Added arangopipe_test and pre-commit

* adds graph privisioning during init

* updates tests

* adds empty cursor check

* adds cursor none check

* adds cursor check

* removes redundant graph assignment

* formatting code

* formatting code

* formatting code

* cursor validation

* cursor validation

* Revert "cursor validation"

This reverts commit 99be866.

* Revert "cursor validation"

This reverts commit 0b52ef3.

* Revert "formatting code"

This reverts commit 96cb827.

* Revert "formatting code"

This reverts commit e5f450f.

* reverts to previous commit

* reverts to previous commit

Co-authored-by: Chris Woodward <[email protected]>
  • Loading branch information
tjoubert and cw00dw0rd authored Jan 19, 2023
1 parent a683cec commit 507356f
Show file tree
Hide file tree
Showing 1,266 changed files with 1,674 additions and 363,625 deletions.
32 changes: 32 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: check-merge-conflict
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 22.10.0
hooks:
- id: black
args:
- -l 88
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v0.990"
hooks:
- id: mypy
additional_dependencies: [types-requests]
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
hooks:
- id: flake8
args:
- "--max-line-length=88"
- "--ignore=E203, W503, E251"
- repo: https://github.com/PyCQA/bandit
rev: 1.7.4
hooks:
- id: bandit
exclude: ^tests/
Binary file removed arangopipe/aisis-foxx/aisis-foxx.zip
Binary file not shown.
1 change: 0 additions & 1 deletion arangopipe/aisis-foxx/passwd.txt

This file was deleted.

Binary file removed arangopipe/arangopipe/aisis-foxx/aisis-foxx.zip
Binary file not shown.
1 change: 0 additions & 1 deletion arangopipe/arangopipe/aisis-foxx/passwd.txt

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
from sklearn.ensemble import RandomForestClassifier
from sklearn.model_selection import train_test_split

from arangopipe.arangopipe_analytics.dataset_shift_detector import DatasetShiftDetector
from arangopipe.arangopipe.arangopipe_analytics.dataset_shift_detector import (
DatasetShiftDetector,
)


class RF_DatasetShiftDetector(DatasetShiftDetector):
Expand Down
Loading

0 comments on commit 507356f

Please sign in to comment.