René's URL Explorer Experiment


Title: Update readme and tox.ini for recent tooling changes by EliahKagan · Pull Request #1868 · gitpython-developers/GitPython · GitHub

Open Graph Title: Update readme and tox.ini for recent tooling changes by EliahKagan · Pull Request #1868 · gitpython-developers/GitPython

X Title: Update readme and tox.ini for recent tooling changes by EliahKagan · Pull Request #1868 · gitpython-developers/GitPython

Description: There are some changes that I should have proposed and/or made in README.md and tox.ini related to #1862, which are made slightly more needed by #1865. This brings the readme and tox configuration up to date for both #1862, which was merged, and #1865, which I think will be merged soon pending one small change. Further related changes should be eventually be made in both, but they will depend on future decisions, and nothing bad will happen if changes end up not being made for an extended time after merging both #1865 and this PR. The changes here seem significantly more cumbersome to recommend be included in #1865 than to do separately, and because they also apply to the situation brought about since #1862, I don't think they need to be done there or done before that is merged. I suggest #1865 be merged before this; the changes here will not be all correct until #1865 comes in anyway. #1865 could be merged and then this immediately merged, but I think it is also fine to merge #1865 and request changes here; that is, I think #1865 is reasonable to merge even if this is delayed. Merging them in the other order would also be okay, I think. The core issue is that some actions that were presented as not changing file contents now change them. Currently on the main branch: I believe running tox with no arguments is always in practice assumed not to change source code in the working tree. But its lint environment changes source code due to running ruff with --fix through pre-commit. With #1865, this will happen in more cases, but the issue already exists. As noted below and in commit messages, I believe --fix is nonetheless good and should be kept. (When I reviewed #1862 I did not mention this, because I agreed with the change, which is what users of pre-commit will expect. In hindsight, I could've simplified things by proposing these changes at that time.) The readme documents make lint as linting and running a formatting check without modifying any files. This is likewise not fully accurate since #1862. The issue is not that make lint needs to behave differently, because (a) in hindsight I shouldn't have added that target, (b) I'm not sure anyone uses it, and (c) it was added to address a situation where checking for code style and formatting problems involved multiple commands and tool and plugin packages, instead of just ruff. So it's sufficient for the readme to stop recommending it as a way to avoid linting without automatic code changes. This PR fixes (1) by making the tox lint environment not run unless explicitly listed on the command line, for now, and fixes (2) by changing the readme. This also fixes some related outdated material in the readme, improves how tools are described, and makes some some other small improvements when it seemed like I could do them without significantly complicating this PR or its review. Most information about these changes is in the two most important commits, c66257e and 91f967a. This includes some information about why I believe --fix should be kept. I've also included information in 91f967a about what it does not do and why it does not do it, which may be considered excessive in a commit message, and I'd be pleased to amend that and move that information into this PR description on request. The reason I've included that information is so that no matter what order things happen in, and even if some are omitted, and regardless of what related changes do or don't happen in the future, and even if I am making a mistake in thinking that it is better to have this additional PR rather than delay and expand the scope of #1865, the full context will still be readily available to anyone who looks at that commit while trying to figure something out.

Open Graph Description: There are some changes that I should have proposed and/or made in README.md and tox.ini related to #1862, which are made slightly more needed by #1865. This brings the readme and tox configuration ...

X Description: There are some changes that I should have proposed and/or made in README.md and tox.ini related to #1862, which are made slightly more needed by #1865. This brings the readme and tox configuration ...

Opengraph URL: https://github.com/gitpython-developers/GitPython/pull/1868

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:7600e5e2-341b-1ce6-292d-2511bf7442a9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idECF8:3E0E7:56A30C:777242:6968CC93
html-safe-noncec3ce475aec423515898c42b691aa752bea43167b6cb4bc0e1b79b43a6727052b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0Y4OjNFMEU3OjU2QTMwQzo3NzcyNDI6Njk2OENDOTMiLCJ2aXNpdG9yX2lkIjoiMTg4NzczMTQyNzkzNTA0NjgwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0735a248c5fa96f70f400a1fd68a17a8b3c4b930ba6a4903a513a43eb2e24e78
hovercard-subject-tagpull_request:1768748951
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/gitpython-developers/GitPython/pull/1868/files
twitter:imagehttps://avatars.githubusercontent.com/u/1771172?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1771172?s=400&v=4
og:image:altThere are some changes that I should have proposed and/or made in README.md and tox.ini related to #1862, which are made slightly more needed by #1865. This brings the readme and tox configuration ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneaf2d7af0cc84117fa10bf36808605ef68a335c9d8a804b9cdac55f8d77230b00
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git
octolytics-dimension-user_id503709
octolytics-dimension-user_logingitpython-developers
octolytics-dimension-repository_id1126087
octolytics-dimension-repository_nwogitpython-developers/GitPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1126087
octolytics-dimension-repository_network_root_nwogitpython-developers/GitPython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecc844ab6ee0198cc2e2c142dcb8a5c2a61d48743
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/gitpython-developers/GitPython/pull/1868/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F1868%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2Fgitpython-developers%2FGitPython%2Fpull%2F1868%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=gitpython-developers%2FGitPython
Reloadhttps://github.com/gitpython-developers/GitPython/pull/1868/files
Reloadhttps://github.com/gitpython-developers/GitPython/pull/1868/files
Reloadhttps://github.com/gitpython-developers/GitPython/pull/1868/files
gitpython-developers https://github.com/gitpython-developers
GitPythonhttps://github.com/gitpython-developers/GitPython
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/1868/files
Notifications https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython
Fork 964 https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython
Star 5k https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython
Code https://github.com/gitpython-developers/GitPython
Issues 169 https://github.com/gitpython-developers/GitPython/issues
Pull requests 8 https://github.com/gitpython-developers/GitPython/pulls
Discussions https://github.com/gitpython-developers/GitPython/discussions
Actions https://github.com/gitpython-developers/GitPython/actions
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/gitpython-developers/GitPython/security
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/1868/files
Insights https://github.com/gitpython-developers/GitPython/pulse
Code https://github.com/gitpython-developers/GitPython
Issues https://github.com/gitpython-developers/GitPython/issues
Pull requests https://github.com/gitpython-developers/GitPython/pulls
Discussions https://github.com/gitpython-developers/GitPython/discussions
Actions https://github.com/gitpython-developers/GitPython/actions
Security https://github.com/gitpython-developers/GitPython/security
Insights https://github.com/gitpython-developers/GitPython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fgitpython-developers%2FGitPython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgitpython-developers%2FGitPython%2Fissues%2Fnew%2Fchoose
Byronhttps://github.com/Byron
gitpython-developers:mainhttps://github.com/gitpython-developers/GitPython/tree/main
EliahKagan:linthttps://github.com/EliahKagan/GitPython/tree/lint
Conversation 4 https://github.com/gitpython-developers/GitPython/pull/1868
Commits 4 https://github.com/gitpython-developers/GitPython/pull/1868/commits
Checks 0 https://github.com/gitpython-developers/GitPython/pull/1868/checks
Files changed https://github.com/gitpython-developers/GitPython/pull/1868/files
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/1868/files
Update readme and tox.ini for recent tooling changes https://github.com/gitpython-developers/GitPython/pull/1868/files#top
Show all changes 4 commits https://github.com/gitpython-developers/GitPython/pull/1868/files
395b70a Very slightly improve readme presentation EliahKagan Mar 12, 2024 https://github.com/gitpython-developers/GitPython/pull/1868/commits/395b70ae2fdf01590f157e94d96e7ddac7893ba9
3a6ee9e Make installation instructions more consistent EliahKagan Mar 12, 2024 https://github.com/gitpython-developers/GitPython/pull/1868/commits/3a6ee9e0e478eea5f6defe2b851a7ca6c74976ca
8262343 Update readme for recent tooling changes EliahKagan Mar 12, 2024 https://github.com/gitpython-developers/GitPython/pull/1868/commits/826234384d38126130388102355a274a353bfade
b059cd5 Have tox skip linting unless requested, for now EliahKagan Mar 12, 2024 https://github.com/gitpython-developers/GitPython/pull/1868/commits/b059cd580b71b44488bf3cc77000a6dea3cb1898
Clear filters https://github.com/gitpython-developers/GitPython/pull/1868/files
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/1868/files
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/1868/files
README.md https://github.com/gitpython-developers/GitPython/pull/1868/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
tox.ini https://github.com/gitpython-developers/GitPython/pull/1868/files#diff-ef2cef9f88b4fe09ca3082140e67f5ad34fb65fb6e228f119d3812261ae51449
README.mdhttps://github.com/gitpython-developers/GitPython/pull/1868/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
View file https://github.com/EliahKagan/GitPython/blob/b059cd580b71b44488bf3cc77000a6dea3cb1898/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/gitpython-developers/GitPython/pull/1868/{{ revealButtonHref }}
https://github.com/gitpython-developers/GitPython/pull/1868/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/gitpython-developers/GitPython/pull/1868/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/gitpython-developers/GitPython/pull/1868/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/gitpython-developers/GitPython/pull/1868/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/gitpython-developers/GitPython/pull/1868/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/gitpython-developers/GitPython/pull/1868/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/gitpython-developers/GitPython/pull/1868/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/gitpython-developers/GitPython/pull/1868/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/gitpython-developers/GitPython/pull/1868/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
tox.inihttps://github.com/gitpython-developers/GitPython/pull/1868/files#diff-ef2cef9f88b4fe09ca3082140e67f5ad34fb65fb6e228f119d3812261ae51449
View file https://github.com/EliahKagan/GitPython/blob/b059cd580b71b44488bf3cc77000a6dea3cb1898/tox.ini
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/gitpython-developers/GitPython/pull/1868/{{ revealButtonHref }}
https://github.com/gitpython-developers/GitPython/pull/1868/files#diff-ef2cef9f88b4fe09ca3082140e67f5ad34fb65fb6e228f119d3812261ae51449
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.