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

Switch to env r-precommit #147

Merged
merged 8 commits into from
Apr 19, 2020
Merged

Switch to env r-precommit #147

merged 8 commits into from
Apr 19, 2020

Conversation

lorenzwalthert
Copy link
Owner

@lorenzwalthert lorenzwalthert commented Apr 10, 2020

Closes #146. Offers isolation from other envs. The key was to use conda run -n r-precommit /path/to/exec instead of /path/to/exec whenever we need the executable if the installation method was conda (which can be checked from the pre-commit executable path).

@lorenzwalthert lorenzwalthert merged commit 69fcb3a into master Apr 19, 2020
@lorenzwalthert lorenzwalthert deleted the issue-146 branch April 19, 2020 14:35
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.

Allow to choose installation environment
1 participant