Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set explicitly packages for setuptools #1782

Merged
merged 2 commits into from Dec 16, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions pyproject.toml
Expand Up @@ -90,8 +90,8 @@ warn_unused_ignores = true
# https://github.com/python/mypy/issues/4008
exclude = "^tests/test_data/"

[tool.mypy.overrides]
modules = ["tests.*"]
[[tool.mypy.overrides]]
module = ["tests.*"]
Comment on lines +93 to +94
Copy link
Contributor Author

@q0w q0w Dec 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed the error:
pyproject.toml: tool.mypy.overrides sections must be an array. Please make sure you are using double brackets like so: [[tool.mypy.overrides]]

disallow_untyped_defs = false

[tool.pytest.ini_options]
Expand All @@ -106,6 +106,6 @@ markers = ["network: mark tests that require internet access"]

[tool.setuptools.packages.find]
# needed only because we did not adopt src layout yet
exclude = ["img"]
include = ["piptools"]

[tool.setuptools_scm]