Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
version: 2.0
jobs:
check:
docker:
- image: circleci/python:3.7.2
steps:
- run:
name: Add python user PATH into PATH
command: echo "export PATH=$PATH:$HOME/.local/bin" >> $BASH_ENV
- run:
name: Install python tools
command: pip install --user pipenv
- checkout
- run:
name: Install dependencies
command: pipenv install -d
- run:
name: Type check the project
command: pipenv run pytype dataprep && pipenv run mypy dataprep --strict --ignore-missing-imports
- run:
name: Test the project
command: pipenv run pytest dataprep
- run:
name: Style check the project
command: pipenv run pylint dataprep
workflows:
version: 2
build_and_test:
jobs:
- check
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,6 @@ venv.bak/

# mypy
.mypy_cache/

# pytype
.pytype/
6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[packages]
"dask[complete]" = "*"
pandas = "*"
numpy = "*"

[dev-packages]
pylint = "*"
pytype = "*"
pytest = "*"
mypy = "*"
316 changes: 316 additions & 0 deletions Pipfile.lock

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions dataprep/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

"""Docstring
Data preparation module
"""
import logging

logging.basicConfig(level=logging.INFO, format="%(message)")
11 changes: 11 additions & 0 deletions dataprep/eda/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

"""Docstring
Data preparation module
"""
import logging

# Dask Default partitions
DEFAULT_PARTITIONS = 1

logging.basicConfig(level=logging.INFO, format="%(message)")
LOGGER = logging.getLogger(__name__)
Loading