René's URL Explorer Experiment


Title: mypy hook alternating between passing and failing on subsequent runs · Issue #1966 · pre-commit/pre-commit · GitHub

Open Graph Title: mypy hook alternating between passing and failing on subsequent runs · Issue #1966 · pre-commit/pre-commit

X Title: mypy hook alternating between passing and failing on subsequent runs · Issue #1966 · pre-commit/pre-commit

Description: I have some doubts that is a pre-commit bug but I am encountering some very weird behaviors from the mypy hook, which makes mypy to alternate between passing or reporting errors on the same codebase. The behavior is clear, after a failur...

Open Graph Description: I have some doubts that is a pre-commit bug but I am encountering some very weird behaviors from the mypy hook, which makes mypy to alternate between passing or reporting errors on the same codebas...

X Description: I have some doubts that is a pre-commit bug but I am encountering some very weird behaviors from the mypy hook, which makes mypy to alternate between passing or reporting errors on the same codebas...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"mypy hook alternating between passing and failing on subsequent runs","articleBody":"I  have some doubts that is a pre-commit bug but I am encountering some very weird behaviors from the mypy hook, which makes mypy to alternate between passing or reporting errors on the same codebase. The behavior is clear, after a failure you will get a pass, and a failure if running again.\r\n\r\n```\r\nmypy.....................................................................Failed\r\n- hook id: mypy\r\n- exit code: 1\r\n- files were modified by this hook\r\n\r\n/Users/ssbarnea/.cache/pre-commit/repo6v6byaj_/py_env-python3.9/lib/python3.9/site-packages/ansiblelint/__init__.py:1: error: Skipping analyzing 'ruamel': found module but no type hints or library stubs\r\n... \u003csimilar errors>\r\nFound 138 errors in 138 files (checked 134 source files)\r\n```\r\n\r\nThat is happening on MacOS and I suspect some cached files may cause these inconsistency in execution,  the even more interesting is the pattern:\r\n\r\n* execution 1: failed\r\n* execution 2: passed\r\n* execution 3: failed\r\n* execution 4: passed\r\n\r\nThe full configuration can be seen at https://github.com/ansible-community/molecule/blob/master/.pre-commit-config.yaml#L48-L60 but the pattern is very clear: swapping between the two states.\r\n\r\nAny idea what could cause this weird behavior? I mention that I did not observe this issue on CI.  It may be specific to MacOS?","author":{"url":"https://github.com/ssbarnea","@type":"Person","name":"ssbarnea"},"datePublished":"2021-07-03T08:02:01Z","url":"https://github.com/pre-commit/pre-commit/issues/1966"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:c5579665-0b71-f37e-42d5-dbd157801bb4
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA4DC:2D8919:3750E2:4A6C7C:6B0028C8
html-safe-nonceff135957ec24d489b4fdd8c2ca4e37a0ad6b6b8ac950e31684120b784a5e5322
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNERDOjJEODkxOTozNzUwRTI6NEE2QzdDOjZCMDAyOEM4IiwidmlzaXRvcl9pZCI6IjcwMjM1MjQ4MDIyMTIxNDUzNTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc9299f496cb7e329a70a2e6327584f03bc57b64e4ddcad85c8f479a7382b559f
hovercard-subject-tagissue:936200608
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/1966/issue_layout
twitter:imagehttps://opengraph.githubassets.com/6e212d756d1fe2319a161b5bea815dab5750631b741f3ace46514a78f3d5bd2f/pre-commit/pre-commit/issues/1966
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6e212d756d1fe2319a161b5bea815dab5750631b741f3ace46514a78f3d5bd2f/pre-commit/pre-commit/issues/1966
og:image:altI have some doubts that is a pre-commit bug but I am encountering some very weird behaviors from the mypy hook, which makes mypy to alternate between passing or reporting errors on the same codebas...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamessbarnea
hostnamegithub.com
expected-hostnamegithub.com
None4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0
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
release44c658b24abf00491fb7ae5f56d42c9f38cbeab2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/pre-commit/pre-commit/issues/1966#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpre-commit%2Fpre-commit%2Fissues%2F1966
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpre-commit%2Fpre-commit%2Fissues%2F1966
Sign uphttps://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/1966
Reloadhttps://github.com/pre-commit/pre-commit/issues/1966
Reloadhttps://github.com/pre-commit/pre-commit/issues/1966
pre-commithttps://github.com/pre-commit
pre-commithttps://github.com/pre-commit/pre-commit
Codehttps://github.com/pre-commit/pre-commit
Issues17 (17)https://github.com/pre-commit/pre-commit/issues
Pull requests8 (8)https://github.com/pre-commit/pre-commit/pulls
Actionshttps://github.com/pre-commit/pre-commit/actions
Security and qualityhttps://github.com/pre-commit/pre-commit/security
Insightshttps://github.com/pre-commit/pre-commit/insights
https://github.com/pre-commit/pre-commit
New issuehttps://github.com/login?return_to=https://github.com/pre-commit/pre-commit/issues/1966
New issuehttps://github.com/login?return_to=https://github.com/pre-commit/pre-commit/issues/1966
mypy hook alternating between passing and failing on subsequent runshttps://github.com/pre-commit/pre-commit/issues/1966#top
https://github.com/ssbarnea
ssbarneahttps://github.com/ssbarnea
on Jul 3, 2021https://github.com/pre-commit/pre-commit/issues/1966#issue-936200608
https://github.com/ansible-community/molecule/blob/master/.pre-commit-config.yaml#L48-L60https://github.com/ansible-community/molecule/blob/master/.pre-commit-config.yaml#L48-L60
https://github.com/asottile
asottilehttps://github.com/asottile
on Jul 3, 2021https://github.com/pre-commit/pre-commit/issues/1966#issuecomment-873403840
asottilehttps://github.com/asottile
completedhttps://github.com/pre-commit/pre-commit/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jul 3, 2021https://github.com/pre-commit/pre-commit/issues/1966#event-4974183260
Sign up for freehttps://github.com/signup?return_to=https://github.com/pre-commit/pre-commit/issues/1966
Sign in to commenthttps://github.com/login?return_to=https://github.com/pre-commit/pre-commit/issues/1966
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.