Skip to content

Commit

Permalink
feat: add basic init file
Browse files Browse the repository at this point in the history
  • Loading branch information
ooliver1 committed Sep 12, 2022
1 parent 4aedce6 commit 4475195
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
poetry.lock
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repos:
hooks:
- id: flake8
name: Running flake8 in all files.
additional_dependencies: [flake8-isort]
additional_dependencies: [flake8-isort, Flake8-pyproject]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
Expand Down
18 changes: 18 additions & 0 deletions gabbro/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# SPDX-License-Identifier: MIT
"""
Lavalink Client for Python
~~~~~~~~~~~~~~~~~~~~~~~~~~
A properly typehinted lavalink client for discord.py, nextcord, disnake and py-cord.
:copyright: (c) 2022-present ooliver1
:license: MIT, see LICENSE for more details.
"""

__title__ = "gabbro"
__author__ = "ooliver1"
__license__ = "MIT"
__copyright__ = "Copyright 2022-present ooliver1"
__version__ = "0.1.0"

import logging

logging.getLogger(__name__).addHandler(logging.NullHandler())
20 changes: 19 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "gabbro"
version = "0.1.0"
description = "A properly typehinted python library to use discord.py, nextcord, disnake and py-cord with lavalink."
description = "A properly typehinted lavalink client for discord.py, nextcord, disnake and py-cord."
authors = ["ooliver1 <oliverwilkes2006@icloud.com>"]
license = "MIT"
readme = "README.md"
Expand All @@ -19,6 +19,7 @@ flake8 = "^5.0.4"
pre-commit = "^2.20.0"
python-dotenv = "^0.21.0"
slotscheck = "^0.15.0"
Flake8-pyproject = "^1.1.0.post0"

[tool.taskipy.tasks]
pre-commit = "pre-commit install --install-hooks"
Expand Down Expand Up @@ -49,6 +50,9 @@ require-subclass = false
typeCheckingMode = "strict"
pythonVersion = "3.8"

[tool.flake8]
max-line-length = 88

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
Empty file added tox.ini
Empty file.

0 comments on commit 4475195

Please sign in to comment.