Title: Support for conda as a language · Issue #1204 · pre-commit/pre-commit · GitHub
Open Graph Title: Support for conda as a language · Issue #1204 · pre-commit/pre-commit
X Title: Support for conda as a language · Issue #1204 · pre-commit/pre-commit
Description: It would be nice to have support for conda in pre-commit as a "language"/environment manager. This would enable setups where packages are installed through conda. The typical usage for this will be for Python and R setups (e.g. lorenzwal...
Open Graph Description: It would be nice to have support for conda in pre-commit as a "language"/environment manager. This would enable setups where packages are installed through conda. The typical usage for this will be...
X Description: It would be nice to have support for conda in pre-commit as a "language"/environment manager. This would enable setups where packages are installed through conda. The typical usage for th...
Opengraph URL: https://github.com/pre-commit/pre-commit/issues/1204
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support for conda as a language","articleBody":"It would be nice to have support for conda in `pre-commit` as a \"language\"/environment manager. This would enable setups where packages are installed through conda. The typical usage for this will be for Python and R setups (e.g. https://github.com/lorenzwalthert/precommit/issues/99) where conda is most popular but as `conda` is language independent.\r\n\r\nThe implementation would work as follows:\r\n\r\n- A hook is expected to have a requirements.txt that is installed using `conda create -p \u003cprefix\u003e --file=requirements.txt`. I would not use the conda `environment.yml` as this already dictates the name of the environment.\r\n- The hook is run using `conda run -p \u003cprefix\u003e \u003centry\u003e`\r\n- We will use the `conda` executable that is available on the `PATH`.\r\n\r\nNote: I would volunteer to implement this once there are some 👍 that the proposal is sound.","author":{"url":"https://github.com/xhochy","@type":"Person","name":"xhochy"},"datePublished":"2019-11-04T16:55:51.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/1204/pre-commit/issues/1204"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:84a7b83d-4192-30aa-8f09-3d93b2188102 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E8F6:1418:F844F5:16885AA:6A5618BF |
| html-safe-nonce | e88c2304f9897a2214b4d3a61426b11eaeee3d78c87af53fc950d3633fe02407 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOEY2OjE0MTg6Rjg0NEY1OjE2ODg1QUE6NkE1NjE4QkYiLCJ2aXNpdG9yX2lkIjoiNzU5MjE5ODUyOTY4ODY3MjQ0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d7a51d8e3e2ab2f040ba6785e0c7c7b5564600e03c9da81283eafd4071214c81 |
| hovercard-subject-tag | issue:517279583 |
| github-keyboard-shortcuts | repository,issues,commits,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pre-commit/pre-commit/1204/issue_layout |
| twitter:image | https://opengraph.githubassets.com/05c32f515339b464cd340be2a54eb7f5e96709a381b5726e79961f70537e26d6/pre-commit/pre-commit/issues/1204 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/05c32f515339b464cd340be2a54eb7f5e96709a381b5726e79961f70537e26d6/pre-commit/pre-commit/issues/1204 |
| og:image:alt | It would be nice to have support for conda in pre-commit as a "language"/environment manager. This would enable setups where packages are installed through conda. The typical usage for this will be... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | xhochy |
| hostname | github.com |
| expected-hostname | github.com |
| None | f4368738fc918fecd9b3958f6b49218bbe60d4185f38e72e3954e11f1ad0213a |
| turbo-cache-control | no-preview |
| go-import | github.com/pre-commit/pre-commit git https://github.com/pre-commit/pre-commit.git |
| octolytics-dimension-user_id | 6943086 |
| octolytics-dimension-user_login | pre-commit |
| octolytics-dimension-repository_id | 17689377 |
| octolytics-dimension-repository_nwo | pre-commit/pre-commit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 17689377 |
| octolytics-dimension-repository_network_root_nwo | pre-commit/pre-commit |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b76b9cc70d30da50674184c9c66c56423fd0b93c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width