1
Fork 0
mirror of https://github.com/RGBCube/GitHubWrapper synced 2025-07-27 00:17:44 +00:00

Used poetry for package management

This commit is contained in:
RGBCube 2022-06-25 14:10:03 +03:00
parent ce197a71b4
commit 7bd3d48eab
5 changed files with 764 additions and 55 deletions

View file

@ -1,14 +1,58 @@
[tool.poetry]
name = "github"
version = "2.0.0a"
description = "Easy to use Python wrapper for the GitHub API."
authors = [ "VarMonke", "sudosnok", "contributors" ]
readme = "README.md"
license = "MIT"
repository = "https://github.com/Varmonke/GitHub-API-Wrapper"
packages = [
{ include = "github" }
]
keywords = [ "github", "sync", "async", "github-api" ]
classifiers = [
"Typing :: Typed",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/Varmonke/GitHub-API-Wrapper/issues"
[tool.poetry.dependencies]
python = "^3.8"
aiohttp = "^3.8.1"
typing-extensions = "*"
[tool.poetry.dev-dependencies]
black = "*"
flynt = "*"
isort = "*"
unimport = "*"
[tool.black]
line-length = 125
skip-string-normalization = true
line-length = 100
preview = true # better formatting basically
[tool.isort]
line_length = 125
py_version = 38
line_length = 100
combine_as_imports = true
combine_star = true
[tool.pyright]
pythonVersion = "3.8"
include = [
"github",
]
exclude = [
"**/__pycache__",
"build",
"dist",
"docs",
"venv",
"setup.py"
]
typeCheckingMode = "basic"
strictListInference = true
strictDictionaryInference = true