Skip to content

tox.ini: avoid one tox warning when running py3-mypy #54

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

Merged

Conversation

phlogistonjohn
Copy link
Collaborator

Rework how the tox.ini file is organized in order to remove a command found but not installed in testenv when running tox. We currently need at least one test run to be executed with system site packages enabled, but we don't need it that way for mypy.

Copy link
Collaborator

@synarete synarete left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@obnoxxx obnoxxx left a comment

Choose a reason for hiding this comment

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

just a small irrelevant typo ...

tox.ini Outdated
[testenv:py3]
# In order to run tests that rely on "system level" packages (samba,
# xattr, etc.), and not have a lot of test skips, we have to enable the
# sitepackages option. However when it is eanbled and you already have a tool
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# sitepackages option. However when it is eanbled and you already have a tool
# sitepackages option. However when it is enabled and you already have a tool

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

typo fixed. thanks!

Rework how the tox.ini file is organized in order to remove a `command
found but not installed in testenv` when running tox.
We currently need at least one test run to be executed with system
site packages enabled, but we don't need it that way for mypy.

Signed-off-by: John Mulligan <[email protected]>
Copy link
Contributor

@obnoxxx obnoxxx left a comment

Choose a reason for hiding this comment

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

Thanks for fixing the typo ! I don't know enough about tox etc, to provide a knowledgeable review, but it looks clean enough and seems to work ... LGTM

@obnoxxx obnoxxx merged commit 69bd0e2 into samba-in-kubernetes:master Nov 23, 2022
@phlogistonjohn phlogistonjohn deleted the jjm-one-less-warning branch December 5, 2022 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants