Skip to content

Commit

Permalink
Merge pull request #11 from tzussman/vgerror-cleanup
Browse files Browse the repository at this point in the history
vgerror cleanup and version bump
  • Loading branch information
tzussman authored May 1, 2023
2 parents 6ff7eba + ec80911 commit 81c8fdd
Show file tree
Hide file tree
Showing 8 changed files with 544 additions and 550 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ name = "valparse"
authors = [{name = "Tal Zussman", email = "[email protected]"}]
description="Package to parse Valgrind XML files."
readme = "README.md"
version = "0.1"
version = "0.2.0"
requires-python = ">=3.7"

dependencies = []
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setuptools.setup(
name="valparse",
version="0.1",
version="0.2.0",
author="valparse contributors",
author_email="[email protected]",
description="Package to parse Valgrind XML files.",
Expand Down
7 changes: 2 additions & 5 deletions valparse/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
from . import parser # noqa: F401
from .parser import Parser # noqa: F401
from . import vgerror # noqa: F401
from . import util # noqa: F401
from .valparse import * # noqa: F401, F403

__version__ = "0.1.0"
__version__ = "0.2.0"
251 changes: 0 additions & 251 deletions valparse/parser.py

This file was deleted.

5 changes: 2 additions & 3 deletions valparse/tests/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
from pathlib import Path

import valparse
from valparse import Parser
from valparse.vgerror import ValgrindErrorKind
from valparse import Parser, ValgrindErrorKind


def test_Parser():
Expand Down Expand Up @@ -65,5 +64,5 @@ def test_suppression_dump():

print(valfile.suppressions)

valparse.parser.dumpSuppressions(test_supp_file, [('definite-leak-ignore', valfile.suppressions[0])])
valparse.dumpSuppressions(test_supp_file, [('definite-leak-ignore', valfile.suppressions[0])])
assert filecmp.cmp(supp_file, test_supp_file, shallow=False)
Loading

0 comments on commit 81c8fdd

Please sign in to comment.