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

Run import sorting tests in a temporary Git repo #583

Merged
merged 1 commit into from
Apr 13, 2024

Conversation

akaihola
Copy link
Owner

This fixes test failures when running tests from a cwd which isn't in a Git repository.

Fixes #510

@akaihola akaihola added the CI label Apr 13, 2024
@akaihola akaihola added this to the Darker 2.1.1 milestone Apr 13, 2024
@akaihola akaihola self-assigned this Apr 13, 2024
@akaihola akaihola force-pushed the isort-tests-outside-repo branch from 6a2d386 to 199938c Compare April 13, 2024 17:38
This fixes test failures when running tests from a cwd which isn't in a
Git repository.
@akaihola akaihola force-pushed the isort-tests-outside-repo branch from 199938c to 7f5d2d5 Compare April 13, 2024 17:42
@akaihola akaihola merged commit 4989d91 into master Apr 13, 2024
38 checks passed
@akaihola akaihola deleted the isort-tests-outside-repo branch April 13, 2024 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

test_import_sorting.py failures when run from outside the source tree
1 participant