Skip to content

Commit

Permalink
Merge pull request #871 from sfu-db/revise_doc
Browse files Browse the repository at this point in the history
docs(clean):revise __init_.py
  • Loading branch information
jinglinpeng committed Mar 31, 2022
2 parents 4309f76 + 0893474 commit a1a1c29
Show file tree
Hide file tree
Showing 6 changed files with 94 additions and 93 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Expand Up @@ -77,7 +77,6 @@ jobs:

docs-build:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v2

Expand Down
60 changes: 30 additions & 30 deletions .github/workflows/release.yml
Expand Up @@ -6,39 +6,39 @@ on:
- release

jobs:
docs-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Install dependencies
run: |
pip install poetry
curl -L https://github.com/jgm/pandoc/releases/download/2.11.2/pandoc-2.11.2-1-amd64.deb -o /tmp/pandoc.deb && sudo dpkg -i /tmp/pandoc.deb
- name: Cache venv
uses: actions/cache@v2
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-build-${{ matrix.python }}-${{ secrets.CACHE_VERSION }}-${{ hashFiles('poetry.lock') }}

- name: Install dependencies
run: |
pip install poetry
poetry install
- name: Build docs
run: poetry run sphinx-build -M html docs/source docs/build

- name: Archive docs
uses: actions/upload-artifact@v2
with:
name: docs
path: docs/build/html
# docs-build:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2

# - name: Install dependencies
# run: |
# pip install poetry
# curl -L https://github.com/jgm/pandoc/releases/download/2.11.2/pandoc-2.11.2-1-amd64.deb -o /tmp/pandoc.deb && sudo dpkg -i /tmp/pandoc.deb

# - name: Cache venv
# uses: actions/cache@v2
# with:
# path: ~/.cache/pypoetry/virtualenvs
# key: ${{ runner.os }}-build-${{ matrix.python }}-${{ secrets.CACHE_VERSION }}-${{ hashFiles('poetry.lock') }}

# - name: Install dependencies
# run: |
# pip install poetry
# poetry install

# - name: Build docs
# run: poetry run sphinx-build -M html docs/source docs/build

# - name: Archive docs
# uses: actions/upload-artifact@v2
# with:
# name: docs
# path: docs/build/html

build:
runs-on: ubuntu-latest
needs: docs-build
# needs: docs-build
steps:
- uses: actions/checkout@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion dataprep/__init__.py
Expand Up @@ -10,4 +10,4 @@

logging.basicConfig(level=logging.INFO, format="%(message)s")

__version__ = "0.4.2"
__version__ = "0.4.3"
2 changes: 1 addition & 1 deletion dataprep/clean/__init__.py
Expand Up @@ -20,7 +20,7 @@

from .clean_date import clean_date, validate_date

# from .clean_duplication import clean_duplication
from .clean_duplication import clean_duplication

from .clean_currency import clean_currency, validate_currency

Expand Down

1 comment on commit a1a1c29

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DataPrep.EDA Benchmarks

Benchmark suite Current: a1a1c29 Previous: 4309f76 Ratio
dataprep/tests/benchmarks/eda.py::test_create_report 0.17353407099169546 iter/sec (stddev: 0.0262162429040161) 0.14149880425304928 iter/sec (stddev: 0.053844768687070735) 0.82

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.