Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
sfermigier committed May 12, 2020
1 parent 3dcb54e commit 9cb8a79
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 15 deletions.
15 changes: 2 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,32 +1,22 @@
.PHONY: test unit full-test clean setup stage deploy

.PHONY: default run test test-with-coverage clean develop lint tidy format

SRC=olapy
PKG=$(SRC)

.PHONY:
default: test lint


.PHONY:
run:
python manage.py runserver

#
# testing
#
.PHONY:
test:
pytest . --durations=10

.PHONY:
test-with-coverage:
pytest --tb=short --cov $(PKG) --cov-report term-missing .

.PHONY:
tox:
tox

#
# setup
#
Expand Down Expand Up @@ -60,7 +50,6 @@ lint-py3k:
@echo "Checking Py3k (basic) compatibility"
pylint --py3k -d W1637 *.py $(SRC) tests


lint-mypy:
mypy olapy tests

Expand All @@ -82,7 +71,7 @@ clean:
rm -rf htmlcov

tidy: clean
rm -rf .tox
rm -rf .tox .nox

format:
black $(SRC) tests micro_bench demos *.py
Expand Down
6 changes: 4 additions & 2 deletions olapy/core/services/xmla.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# -*- encoding: utf8 -*-
"""The main Module to manage
"""
The main Module to manage
`XMLA <https://technet.microsoft.com/fr-fr/library/ms187178(v=sql.90).aspx>`_
requests and responses, and the Spyne SOAP server."""
requests and responses, and the Spyne SOAP server.
"""
from __future__ import absolute_import, division, print_function, \
unicode_literals

Expand Down

0 comments on commit 9cb8a79

Please sign in to comment.