Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.0 #474

Open
wants to merge 24 commits into
base: 2.0
Choose a base branch
from
Open

2.0 #474

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
26 changes: 17 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
*.py[cod]
# Python cruft
__pycache__

# MacOS Cruft
.DS_Store

# Packages
*.egg
Expand All @@ -10,23 +14,27 @@ parts
sdist
develop-eggs
tmp

# Caches
.mypy_cache

# Testing
.tox
.coverage
htmlcov

# Installer logs
pip-log.txt

# Other
# Tools (editors, IDEs, local config)
*.iml
.idea
*.swp
doc/_build/
.vim
.venv

# Other
doc/_build/

# Local sandbox/playground
/sandbox

.DS_Store

# Coverage output
.coverage
htmlcov
17 changes: 12 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
dist: xenial

language: python

python:
- 3.6-dev
install:
- pip install -r requirements.txt
- pip install -r requirements-optional.txt
script: python setup.py develop && python setup.py test
- "3.6"
- "3.7"

install:
- pip install -U pip setuptools wheel
- pip install -U -e .[dev]
- pip install -U -r requirements-optional.txt

script:
- pytest
18 changes: 18 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.PHONY:
test:
pytest tests

.PHONY:
lint:
# for now, extend to other directories later
flake8 cubes

.PHONY:
clean:
find . \( -path '*/__pycache__/*' -o -name __pycache__ \) -delete


.PHONY:
format:
isort -rc cubes
black cubes
16 changes: 7 additions & 9 deletions cubes/__init__.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
"""OLAP Cubes"""
"""OLAP Cubes."""

__version__ = "1.1"

from .auth import *
from .calendar import *
from .common import *
from .query import *
from .metadata import *
from .workspace import *
from .errors import *
from .formatters import *
from .mapper import *
from .calendar import *
from .auth import *
from .logging import *
from .mapper import *
from .metadata import *
from .namespace import *


from .query import *
from .workspace import *
Loading