René's URL Explorer Experiment


Title: ModuleNotFoundError: toml with 'black' hook · Issue #863 · pre-commit/pre-commit · GitHub

Open Graph Title: ModuleNotFoundError: toml with 'black' hook · Issue #863 · pre-commit/pre-commit

X Title: ModuleNotFoundError: toml with 'black' hook · Issue #863 · pre-commit/pre-commit

Description: I have this config: panman master $ cat .pre-commit-config.yaml repos: - repo: https://github.com/ambv/black rev: stable hooks: - id: black language_version: python3.6 And I've pip-installed the latest pre-commit 1.12.0 to the Python 3.7...

Open Graph Description: I have this config: panman master $ cat .pre-commit-config.yaml repos: - repo: https://github.com/ambv/black rev: stable hooks: - id: black language_version: python3.6 And I've pip-installed the la...

X Description: I have this config: panman master $ cat .pre-commit-config.yaml repos: - repo: https://github.com/ambv/black rev: stable hooks: - id: black language_version: python3.6 And I've pip-installed th...

Opengraph URL: https://github.com/pre-commit/pre-commit/issues/863

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ModuleNotFoundError: toml with 'black' hook","articleBody":"I have this config:\r\n\r\n```\r\npanman master $ cat .pre-commit-config.yaml\r\nrepos:\r\n-   repo: https://github.com/ambv/black\r\n    rev: stable\r\n    hooks:\r\n    - id: black\r\n      language_version: python3.6\r\n```\r\n\r\nAnd I've pip-installed the latest pre-commit 1.12.0 to the Python 3.7.1 environment, but when I run pre-commit, it fails thus:\r\n\r\n```\r\npanman master $ pre-commit run --all-files\r\nblack....................................................................Failed\r\nhookid: black\r\n\r\nTraceback (most recent call last):\r\n  File \"/Users/jaraco/.cache/pre-commit/repoogmwxpko/py_env-python3.6/bin/black\", line 7, in \u003cmodule\u003e\r\n    from black import main\r\n  File \"/Users/jaraco/.cache/pre-commit/repoogmwxpko/py_env-python3.6/lib/python3.6/site-packages/black.py\", line 41, in \u003cmodule\u003e\r\n    import toml\r\nModuleNotFoundError: No module named 'toml'\r\nTraceback (most recent call last):\r\n  File \"/Users/jaraco/.cache/pre-commit/repoogmwxpko/py_env-python3.6/bin/black\", line 7, in \u003cmodule\u003e\r\n    from black import main\r\n  File \"/Users/jaraco/.cache/pre-commit/repoogmwxpko/py_env-python3.6/lib/python3.6/site-packages/black.py\", line 41, in \u003cmodule\u003e\r\n    import toml\r\nModuleNotFoundError: No module named 'toml'\r\nTraceback (most recent call last):\r\n  File \"/Users/jaraco/.cache/pre-commit/repoogmwxpko/py_env-python3.6/bin/black\", line 7, in \u003cmodule\u003e\r\n    from black import main\r\n  File \"/Users/jaraco/.cache/pre-commit/repoogmwxpko/py_env-python3.6/lib/python3.6/site-packages/black.py\", line 41, in \u003cmodule\u003e\r\n    import toml\r\nModuleNotFoundError: No module named 'toml'\r\nTraceback (most recent call last):\r\n  File \"/Users/jaraco/.cache/pre-commit/repoogmwxpko/py_env-python3.6/bin/black\", line 7, in \u003cmodule\u003e\r\n    from black import main\r\n  File \"/Users/jaraco/.cache/pre-commit/repoogmwxpko/py_env-python3.6/lib/python3.6/site-packages/black.py\", line 41, in \u003cmodule\u003e\r\n    import toml\r\nModuleNotFoundError: No module named 'toml'\r\n```\r\n\r\nWhat am I doing wrong?","author":{"url":"https://github.com/jaraco","@type":"Person","name":"jaraco"},"datePublished":"2018-11-09T17:25:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/863/pre-commit/issues/863"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e05f4686-6659-0b74-0091-9ab720b25ab8
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC07C:17AD18:6390D2:89264B:6A55A26F
html-safe-nonce6d45160f1ec8a109b96d433320b65861208e6be4ae15a5b2aa9afa1a8151d0c4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDdDOjE3QUQxODo2MzkwRDI6ODkyNjRCOjZBNTVBMjZGIiwidmlzaXRvcl9pZCI6IjY3MDI2NzAxOTM3NzEyNTg0NzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca304dde10fd6d7d1b3988df58a468de47d27b270c49f90f650af693d9ab3282f
hovercard-subject-tagissue:379252143
github-keyboard-shortcutsrepository,issues,commits,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pre-commit/pre-commit/863/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3d8b3793059270664a2aff1c64aba5d97a9fe241851dc7377cde905403856742/pre-commit/pre-commit/issues/863
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3d8b3793059270664a2aff1c64aba5d97a9fe241851dc7377cde905403856742/pre-commit/pre-commit/issues/863
og:image:altI have this config: panman master $ cat .pre-commit-config.yaml repos: - repo: https://github.com/ambv/black rev: stable hooks: - id: black language_version: python3.6 And I've pip-installed the la...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejaraco
hostnamegithub.com
expected-hostnamegithub.com
Noneb5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e
turbo-cache-controlno-preview
go-importgithub.com/pre-commit/pre-commit git https://github.com/pre-commit/pre-commit.git
octolytics-dimension-user_id6943086
octolytics-dimension-user_loginpre-commit
octolytics-dimension-repository_id17689377
octolytics-dimension-repository_nwopre-commit/pre-commit
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id17689377
octolytics-dimension-repository_network_root_nwopre-commit/pre-commit
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release653fccf1e27344851c0d3de3fa6faa526197f072
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/pre-commit/pre-commit/issues/863#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpre-commit%2Fpre-commit%2Fissues%2F863
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpre-commit%2Fpre-commit%2Fissues%2F863
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=pre-commit%2Fpre-commit
Reloadhttps://github.com/pre-commit/pre-commit/issues/863
Reloadhttps://github.com/pre-commit/pre-commit/issues/863
Reloadhttps://github.com/pre-commit/pre-commit/issues/863
Please reload this pagehttps://github.com/pre-commit/pre-commit/issues/863
pre-commit https://github.com/pre-commit
pre-commithttps://github.com/pre-commit/pre-commit
Please reload this pagehttps://github.com/pre-commit/pre-commit/issues/863
Notifications https://github.com/login?return_to=%2Fpre-commit%2Fpre-commit
Fork 985 https://github.com/login?return_to=%2Fpre-commit%2Fpre-commit
Star 15.4k https://github.com/login?return_to=%2Fpre-commit%2Fpre-commit
Code https://github.com/pre-commit/pre-commit
Issues 22 https://github.com/pre-commit/pre-commit/issues
Pull requests 13 https://github.com/pre-commit/pre-commit/pulls
Actions https://github.com/pre-commit/pre-commit/actions
Security and quality 0 https://github.com/pre-commit/pre-commit/security
Insights https://github.com/pre-commit/pre-commit/pulse
Code https://github.com/pre-commit/pre-commit
Issues https://github.com/pre-commit/pre-commit/issues
Pull requests https://github.com/pre-commit/pre-commit/pulls
Actions https://github.com/pre-commit/pre-commit/actions
Security and quality https://github.com/pre-commit/pre-commit/security
Insights https://github.com/pre-commit/pre-commit/pulse
ModuleNotFoundError: toml with 'black' hookhttps://github.com/pre-commit/pre-commit/issues/863#top
https://github.com/jaraco
jaracohttps://github.com/jaraco
on Nov 9, 2018https://github.com/pre-commit/pre-commit/issues/863#issue-379252143
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.