Skip to content

Commit

Permalink
0.2.5b6 release. (#19)
Browse files Browse the repository at this point in the history
* 0.2.5b6 release.

* Missing files.

* fix __future__ annotations.

* Remove Unused import.
  • Loading branch information
nxtlo authored Aug 24, 2021
1 parent 0978d10 commit 5b8698f
Show file tree
Hide file tree
Showing 58 changed files with 4,596 additions and 3,732 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ venv/
*.sqlite3
*.sqlite*.db
dropped/
season.py

# Cache
.cache/
Expand Down
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ nox is a helper to run all the tests for you. We have 6 tests
* docs generator.
* pytest
* for testing and mocking aiobungie itself.
* codespell
* File text spell checks.

You can list all available session by typing `nox -l`

## Pull requests

Expand Down
19 changes: 2 additions & 17 deletions aiobungie/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,7 @@

from __future__ import annotations

__all__: tuple[str, ...] = (
# __init__.py
"__about__",
"__author__",
"__version__",
"__url__",
"__email__",
"__docs__",
"__license__",
__all__ = (
# client.py
"Client",
# error.py
Expand Down Expand Up @@ -65,16 +57,9 @@
"Item",
"Place",
"CredentialType",
"GroupType",
)

from .client import Client
from .error import *
from .internal.enums import *

__version__ = "0.2.5b5"
__about__ = "A Pythonic `async`/`await` framework / wrapper for interacting with the Bungie API."
__author__ = "nxtlo"
__docs__ = "https://nxtlo.github.io/aiobungie/"
__license__ = "MIT"
__url__ = "https://github.com/nxtlo/aiobungie"
__email__ = "[email protected]"
10 changes: 3 additions & 7 deletions aiobungie/__init__.pyi
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
from .error import *
from .internal.enums import *
from .client import Client as Client
from typing import Any

__version__: str
__about__: str
__author__: str
__docs__: str
__license__: str
__url__: str
__email__: str
__all__: Any

# Names in __all__ with no definition:
# ActivityNotFound
Expand All @@ -21,6 +16,7 @@ __email__: str
# Forbidden
# GameMode
# Gender
# GroupType
# HTTPException
# Item
# MembershipType
Expand Down
47 changes: 47 additions & 0 deletions aiobungie/_info.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# MIT License
#
# Copyright (c) 2020 - Present nxtlo
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

"""Information about aiobungie"""

# This is only used to avoid circular imports errors.

__all__ = (
"__version__",
"__about__",
"__author__",
"__docs__",
"__license__",
"__url__",
"__email__",
)

import typing

__version__: typing.Final[str] = "0.2.5b6"
__about__: typing.Final[
str
] = "A Pythonic `async`/`await` framework / wrapper for interacting with the Bungie API."
__author__: typing.Final[str] = "nxtlo"
__docs__: typing.Final[str] = "https://nxtlo.github.io/aiobungie/"
__license__: typing.Final[str] = "MIT"
__url__: typing.Final[str] = "https://github.com/nxtlo/aiobungie"
__email__: typing.Final[str] = "[email protected]"
Loading

0 comments on commit 5b8698f

Please sign in to comment.