Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions HISTORY.rst → CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Changelog
- Support for PyPy (Python 2.7 compatible) has been removed.
- Support for Python 3.8 has been added.
- Support for Python 3.9 has been added.
- Add type hints throughout and support PEP 561 via a py.typed
file. This should allow projects to type check their usage of this dependency.
- Throw ``TypeError`` when creating a priority tree with a ``maximum_streams``
value that is not an integer.
- Throw ``ValueError`` when creating a priority tree with a ``maximum_streams``
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ graft visualizer
graft examples
prune docs/build
recursive-include *.py
include README.rst LICENSE CONTRIBUTORS.rst HISTORY.rst tox.ini
include README.rst LICENSE CHANGELOG.rst CONTRIBUTORS.rst tox.ini
global-exclude *.pyc *.pyo *.swo *.swp *.map *.yml *.DS_Store
11 changes: 11 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,14 @@ source =
[flake8]
max-line-length = 120
max-complexity = 10

[mypy]
strict = true
warn_unused_configs = true
show_error_codes = true

[mypy-test_priority]
allow_untyped_defs = true
check_untyped_defs = false
ignore_missing_imports = true
disallow_subclassing_any = false
15 changes: 11 additions & 4 deletions src/priority/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,17 @@
priority: HTTP/2 priority implementation for Python
"""
from .priority import ( # noqa
Stream, PriorityTree, DeadlockError, PriorityLoop, PriorityError,
DuplicateStreamError, MissingStreamError, TooManyStreamsError,
BadWeightError, PseudoStreamError
Stream,
PriorityTree,
DeadlockError,
PriorityLoop,
PriorityError,
DuplicateStreamError,
MissingStreamError,
TooManyStreamsError,
BadWeightError,
PseudoStreamError,
)


__version__ = '2.0.0+dev'
__version__ = "2.0.0+dev"
Loading