René's URL Explorer Experiment


Title: pre-commit autoupdate (Windows), reports: `.pre-commit-hooks.yaml is not a file` · Issue #2865 · pre-commit/pre-commit · GitHub

Open Graph Title: pre-commit autoupdate (Windows), reports: `.pre-commit-hooks.yaml is not a file` · Issue #2865 · pre-commit/pre-commit

X Title: pre-commit autoupdate (Windows), reports: `.pre-commit-hooks.yaml is not a file` · Issue #2865 · pre-commit/pre-commit

Description: search you tried in the issue tracker is:issue "not a file" describe your issue Summary The last version I used successfully was 2.17.0 and pre-commit 3.2.2, installed using Python 3.11.3 Additional debugging tried I tried manually speci...

Open Graph Description: search you tried in the issue tracker is:issue "not a file" describe your issue Summary The last version I used successfully was 2.17.0 and pre-commit 3.2.2, installed using Python 3.11.3 Additiona...

X Description: search you tried in the issue tracker is:issue "not a file" describe your issue Summary The last version I used successfully was 2.17.0 and pre-commit 3.2.2, installed using Python 3.11.3...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"pre-commit autoupdate (Windows), reports: `.pre-commit-hooks.yaml is not a file`","articleBody":"### search you tried in the issue tracker\n\nis:issue \"not a file\"\n\n### describe your issue\n\n#### Summary\r\nThe last version I used successfully was `2.17.0` and `pre-commit 3.2.2, installed using Python 3.11.3`\r\n \r\n#### Additional debugging tried\r\nI tried manually specifying the `pre-commit-config.yaml` file, but I realise now that the error is related to the `pre-commit-`**hooks**`.yaml` file. ~~As this works outside of the tox env I suspect it is a bug.~~\r\n\r\nI have the following tox file:\r\n\r\n```ini\r\n[tox]\r\nminversion = 4.4.4\r\n# We rely on the build agent configuration for setting the right Py version\r\nenvlist =\r\n    py\r\nskip_missing_interpreters = True\r\nskipdist = True\r\n\r\n[testenv]\r\nusedevelop = True\r\nextras =\r\n    test\r\ncommands=\r\n    git clean -xdf src tests\r\n    pytest {posargs}\r\nsetenv =\r\n    # Has problems with spaces in the path in Windows when using: {toxinidir}/constraints.txt\r\n    PIP_CONSTRAINT=constraints.txt\r\n    PIP_LOG={envdir}/pip.log\r\n    PIP_DISABLE_PIP_VERSION_CHECK=1\r\npassenv =\r\n    PIP_*\r\n    TWINE_*\r\nallowlist_externals =\r\n    git\r\n\r\n[testenv:deps]\r\ndescription = Update dependency lock files\r\ndeps =\r\n    pip-tools \u003e= 6.4.0\r\n    pre-commit \u003e= 2.13.0\r\ncommands =\r\n    # pip-compile --upgrade -o constraints.txt pyproject.toml --extra docs --extra test --extra exe --strip-extras\r\n    {envpython} -m pre_commit autoupdate --config=\"{toxinidir}{/}.pre-commit-config.yaml\"\r\n```\r\n\r\nand this is the full output.\r\n(For completeness I should mentioned that `MY_PROJECT` is actually a longer path)\r\n\r\n```shell\r\n\u003e tox run -e deps                                                                                                                                                                                 \r\nROOT: provision\u003e D:\\dev\\MY_PROJECT\\.tox\\.tox\\Scripts\\python.exe -m tox run -e deps\r\n.pkg: _optional_hooks D:\\dev\\MY_PROJECT\u003e python D:\\dev\\MY_PROJECT\\.tox\\.tox\\Lib\\site-packages\\pyproject_api\\_backend.py True hatchling.build\r\n.pkg: get_requires_for_build_editable D:\\dev\\MY_PROJECT\u003e python D:\\dev\\MY_PROJECT\\.tox\\.tox\\Lib\\site-packages\\pyproject_api\\_backend.py True hatchling.build\r\n.pkg: build_editable D:\\dev\\MY_PROJECT\u003e python D:\\dev\\MY_PROJECT\\.tox\\.tox\\Lib\\site-packages\\pyproject_api\\_backend.py True hatchling.build\r\ndeps: install_package D:\\dev\\MY_PROJECT\u003e python -I -m pip install --force-reinstall --no-deps D:\\dev\\MY_PROJECT\\.tox\\.tmp\\package\\8\\MY_PROJECT-1.0.1.dev49+ge471ddf.d20230502-py3-none-any.whl\r\ndeps: commands[0] D:\\dev\\MY_PROJECT\u003e .tox\\deps\\Scripts\\python.exe -m pre_commit autoupdate --config=D:\\dev\\MY_PROJECT\\.pre-commit-config.yaml\r\n[https://github.com/psf/black] \r\n=====\u003e C:\\Users\\ADEHA~1\\AppData\\Local\\Temp\\tmp55jx9hj6\\.pre-commit-hooks.yaml is not a file\r\n[https://github.com/pre-commit/pre-commit-hooks] \r\n=====\u003e C:\\Users\\ADEHA~1\\AppData\\Local\\Temp\\tmpkqy_t829\\.pre-commit-hooks.yaml is not a file\r\n[https://github.com/codespell-project/codespell.git] \r\n=====\u003e C:\\Users\\ADEHA~1\\AppData\\Local\\Temp\\tmprw3q8l3b\\.pre-commit-hooks.yaml is not a file\r\n[https://github.com/charliermarsh/ruff-pre-commit] \r\n=====\u003e C:\\Users\\ADEHA~1\\AppData\\Local\\Temp\\tmp27qxr3kd\\.pre-commit-hooks.yaml is not a file\r\n[https://github.com/adrienverge/yamllint.git] \r\n=====\u003e C:\\Users\\ADEHA~1\\AppData\\Local\\Temp\\tmpssemasfd\\.pre-commit-hooks.yaml is not a file\r\n[https://github.com/pre-commit/mirrors-mypy.git] \r\n=====\u003e C:\\Users\\ADEHA~1\\AppData\\Local\\Temp\\tmpasg5xk_r\\.pre-commit-hooks.yaml is not a file\r\n[https://github.com/asottile/pyupgrade] \r\n=====\u003e C:\\Users\\ADEHA~1\\AppData\\Local\\Temp\\tmpo5pgj08h\\.pre-commit-hooks.yaml is not a file\r\ndeps: exit 1 (26.53 seconds) D:\\dev\\MY_PROJECT\u003e .tox\\deps\\Scripts\\python.exe -m pre_commit autoupdate --config=D:\\dev\\MY_PROJECT\\.pre-commit-config.yaml pid=40900\r\n```\n\n### pre-commit --version\n\n3.3.0\n\n### .pre-commit-config.yaml\n\n```yaml\n---\r\nrepos:\r\n  - repo: https://github.com/psf/black\r\n    rev: 23.3.0\r\n    hooks:\r\n      - id: black\r\n        language_version: python3\r\n  - repo: https://github.com/pre-commit/pre-commit-hooks\r\n    rev: v4.4.0\r\n    hooks:\r\n      - id: end-of-file-fixer\r\n      - id: trailing-whitespace\r\n      - id: mixed-line-ending\r\n      - id: check-byte-order-marker\r\n      - id: check-executables-have-shebangs\r\n      - id: check-merge-conflict\r\n      - id: check-symlinks\r\n      - id: check-vcs-permalinks\r\n      - id: debug-statements\r\n      - id: check-yaml\r\n        files: .*\\.(yaml|yml)$\r\n  - repo: https://github.com/codespell-project/codespell\r\n    rev: v2.2.4\r\n    hooks:\r\n      - id: codespell\r\n        name: codespell\r\n        description: Checks for common misspellings in text files.\r\n        entry: codespell\r\n        language: python\r\n        types: [text]\r\n        args: []\r\n        require_serial: false\r\n        additional_dependencies: []\r\n  - repo: https://github.com/charliermarsh/ruff-pre-commit\r\n    rev: 'v0.0.264'\r\n    hooks:\r\n      - id: ruff\r\n        args: [--fix]\r\n  - repo: https://github.com/adrienverge/yamllint\r\n    rev: v1.31.0\r\n    hooks:\r\n      - id: yamllint\r\n        files: \\.(yaml|yml)$\r\n  - repo: https://github.com/pre-commit/mirrors-mypy\r\n    rev: v1.2.0\r\n    hooks:\r\n      - id: mypy\r\n        additional_dependencies:\r\n          - .[docs,test]\r\n  - repo: https://github.com/asottile/pyupgrade\r\n    rev: v3.3.2\r\n    hooks:\r\n      - id: pyupgrade\r\n        args: [--py38-plus]\n```\n\n\n### ~/.cache/pre-commit/pre-commit.log (if present)\n\n_No response_","author":{"url":"https://github.com/adehad","@type":"Person","name":"adehad"},"datePublished":"2023-05-02T09:13:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/2865/pre-commit/issues/2865"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e9e17999-2ae0-0683-8381-fdd8f01742a0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD314:31738E:11002F6:18456FA:6A58C020
html-safe-nonce8d8c79fba90c33e198b49e60b1569e58875a2079d44ab44a7036d679358a2ed2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzE0OjMxNzM4RToxMTAwMkY2OjE4NDU2RkE6NkE1OEMwMjAiLCJ2aXNpdG9yX2lkIjoiNTc3ODg4ODY1MDczMjgzMTA0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacc5768aa19a07c9a02c964bf28753d95eaed5c1b9dfef62e76502434cc2cb6207
hovercard-subject-tagissue:1692063440
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/2865/issue_layout
twitter:imagehttps://opengraph.githubassets.com/079dfa26fec2550b0f505fcfb3ad958c6eabcfff438efebdda4bfbf93bace0e9/pre-commit/pre-commit/issues/2865
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/079dfa26fec2550b0f505fcfb3ad958c6eabcfff438efebdda4bfbf93bace0e9/pre-commit/pre-commit/issues/2865
og:image:altsearch you tried in the issue tracker is:issue "not a file" describe your issue Summary The last version I used successfully was 2.17.0 and pre-commit 3.2.2, installed using Python 3.11.3 Additiona...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameadehad
hostnamegithub.com
expected-hostnamegithub.com
None5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6
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
release8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/pre-commit/pre-commit/issues/2865#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpre-commit%2Fpre-commit%2Fissues%2F2865
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%2F2865
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/2865
Reloadhttps://github.com/pre-commit/pre-commit/issues/2865
Reloadhttps://github.com/pre-commit/pre-commit/issues/2865
Please reload this pagehttps://github.com/pre-commit/pre-commit/issues/2865
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/2865
Notifications https://github.com/login?return_to=%2Fpre-commit%2Fpre-commit
Fork 986 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 21 https://github.com/pre-commit/pre-commit/issues
Pull requests 10 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
#2866https://github.com/pre-commit/pre-commit/pull/2866
pre-commit autoupdate (Windows), reports: .pre-commit-hooks.yaml is not a filehttps://github.com/pre-commit/pre-commit/issues/2865#top
#2866https://github.com/pre-commit/pre-commit/pull/2866
upstream-bughttps://github.com/pre-commit/pre-commit/issues?q=state%3Aopen%20label%3A%22upstream-bug%22
windowshttps://github.com/pre-commit/pre-commit/issues?q=state%3Aopen%20label%3A%22windows%22
https://github.com/adehad
adehadhttps://github.com/adehad
on May 2, 2023https://github.com/pre-commit/pre-commit/issues/2865#issue-1692063440
upstream-bughttps://github.com/pre-commit/pre-commit/issues?q=state%3Aopen%20label%3A%22upstream-bug%22
windowshttps://github.com/pre-commit/pre-commit/issues?q=state%3Aopen%20label%3A%22windows%22
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.