Skip to content

Commit

Permalink
update GdbController API, add IoMangager, other dev improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
cs01 committed Aug 15, 2020
1 parent 3c8c92e commit abbe28c
Show file tree
Hide file tree
Showing 11 changed files with 439 additions and 514 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# pygdbmi release history

## 0.10.0.0

**Breaking Changes**

* Drop support for 3.5
* Update `GdbController` API.
* gdb mi parsing remains unchanged
* Remove `NoGdbProcessError` error

Other Changes

* Add new `IoManager` class to handle more generic use-cases
* [dev] use pytest for testing

## 0.9.0.3

* Drop support for 2.7, 3.4
Expand Down
1 change: 1 addition & 0 deletions docs/api/iomanager.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: pygdbmi.IoManager
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ nav:
- Api:
- "gdbmiparser": "api/gdbmiparser.md"
- "gdbcontroller": "api/gdbcontroller.md"
- "iomanager": "api/iomanager.md"
- Changelog: "CHANGELOG.md"

markdown_extensions:
Expand Down
11 changes: 6 additions & 5 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
import shutil

nox.options.sessions = ["tests", "lint", "docs"]
nox.options.reuse_existing_virtualenvs = True


@nox.session(python=["3.5", "3.6", "3.7", "3.8"])
@nox.session(python=["3.6", "3.7", "3.8"])
def tests(session):
session.install(".")
session.run("python", "-m", "unittest", "discover")
session.install(".", "pytest")
session.run("pytest", *session.posargs)


@nox.session(python="3.7")
@nox.session()
def lint(session):
session.install(*["black", "flake8", "mypy", "check-manifest"])
files = ["pygdbmi", "tests"] + [str(p) for p in Path(".").glob("*.py")]
Expand All @@ -24,7 +25,7 @@ def lint(session):

doc_dependencies = [
".",
"git+https://github.com/cs01/mkdocstrings.git",
"mkdocstrings",
"mkdocs",
"mkdocs-material",
"pygments",
Expand Down
Loading

0 comments on commit abbe28c

Please sign in to comment.