Skip to content

Commit

Permalink
Merge pull request #25 from melexis/issue_22
Browse files Browse the repository at this point in the history
Fix #22: different main approach
  • Loading branch information
Letme authored Jun 27, 2017
2 parents b12c0b1 + 35fe4ef commit 75fb697
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 15 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from setuptools import find_packages, setup

PROJECT_URL = 'https://github.com/melexis/warnings-plugin'
VERSION = '0.0.6'
VERSION = '0.0.7'


def read(*names, **kwargs):
Expand Down
14 changes: 0 additions & 14 deletions src/mlx/__main__.py

This file was deleted.

4 changes: 4 additions & 0 deletions src/mlx/warnings.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,3 +271,7 @@ def main():
warnings.return_count()
sys.exit(warnings.return_check_limits())


if __name__ == '__main__':
main()

1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ deps =
commands =
{posargs:py.test --cov --cov-report=term-missing -vv tests}
mlx-warnings -h
python -m mlx.warnings -h

[testenv:bootstrap]
deps =
Expand Down

0 comments on commit 75fb697

Please sign in to comment.