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

Avoid polluting tests with a .nox directory #445

Merged
merged 1 commit into from
Jun 10, 2021

Conversation

cjolowicz
Copy link
Collaborator

@cjolowicz cjolowicz commented Jun 10, 2021

Fixes #443
Follow-up to #434

The test test_main_with_normalized_session_names from #434 creates a .nox directory under tests/resources. This breaks the linting session. Avoid this by passing venv_backend="none" to the session decorator.

@cjolowicz cjolowicz changed the title Avoid polluting tests/resources with a .nox directory Avoid polluting tests with a .nox directory Jun 10, 2021
@theacodes
Copy link
Collaborator

Nice.

@theacodes theacodes merged commit 24fc263 into wntrblm:main Jun 10, 2021
@cjolowicz cjolowicz deleted the fix-noxdir-in-tests branch June 10, 2021 12:39
@cjolowicz cjolowicz mentioned this pull request Jun 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Lint session fails following tests-3.x session runs
2 participants