Merge branch 'Hanaasagi'

This commit is contained in:
konstin 2018-10-09 18:21:09 +02:00
commit 39fa3dbbb4
4 changed files with 2 additions and 6 deletions

1
.gitignore vendored
View File

@ -3,6 +3,7 @@ Cargo.lock
/doc
/gh-pages
build/
*.py[co]
__pycache__/
.cache
.pytest_cache/

View File

@ -23,9 +23,8 @@ class PyTest(TestCommand):
self.run_command("test_rust")
import subprocess
import sys
subprocess.check_call([sys.executable, "-m", "pytest", "tests"])
subprocess.check_call(["pytest", "tests"])
setup_requires = ["setuptools-rust>=0.10.1", "wheel"]

View File

@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import
import os
import pytest

View File

@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from .word_count import WordCounter, count_line
__all__ = ["WordCounter", "count_line", "search_py"]