Skip to content

Commit

Permalink
use types-setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
dimbleby authored and radoering committed May 22, 2022
1 parent 7dad983 commit a117550
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
14 changes: 13 additions & 1 deletion poetry.lock

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

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ vendoring = {version = "^1.0", python = "^3.8"}
build = "^0.7.0"
mypy = ">=0.950"
types-jsonschema = ">=4.4.4"
types-setuptools = ">=57.4.14"

[tool.black]
line-length = 88
Expand Down Expand Up @@ -86,7 +87,6 @@ exclude = "(?x)(^tests/.*/fixtures | ^src/poetry/core/_vendor)"
[[tool.mypy.overrides]]
module = [
'lark.*',
'setuptools.*',
'tomlkit.*',
'virtualenv.*',
]
Expand Down
5 changes: 1 addition & 4 deletions tests/fixtures/project_with_setup/setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup


kwargs = dict(
setup(
name="my-package",
license="MIT",
version="0.1.2",
Expand All @@ -12,6 +12,3 @@
packages=["my_package"],
install_requires=["pendulum>=1.4.4", "cachy[msgpack]>=0.2.0"],
)


setup(**kwargs)

0 comments on commit a117550

Please sign in to comment.