add mypy config for stubs

also remove setuptools stubs now that it is not used in the codebase
This commit is contained in:
odrling 2024-03-22 00:31:29 +01:00
parent 7f1fbf3094
commit 57927955cf
Signed by: odrling
GPG key ID: 2D8C2F151EDB7392
2 changed files with 4 additions and 5 deletions

View file

@ -22,7 +22,6 @@ Issues = "https://codeberg.org/odrling/hikari_uploader/issues"
[project.scripts]
hikari = "hikari.hikari:main"
[tool.hatch.version]
path = "hikari/__init__.py"
@ -30,3 +29,7 @@ path = "hikari/__init__.py"
include = [
"/hikari",
]
[tool.mypy]
mypy_path = "stubs"

View file

@ -1,4 +0,0 @@
def setup(**attrs): ...
def find_packages(): ...