Title: `usethis tool import-linter` can break `pyproject.toml` · Issue #862 · usethis-python/usethis-python · GitHub
Open Graph Title: `usethis tool import-linter` can break `pyproject.toml` · Issue #862 · usethis-python/usethis-python
X Title: `usethis tool import-linter` can break `pyproject.toml` · Issue #862 · usethis-python/usethis-python
Description: Steps to reproduce on an empty dir uvx usethis init uvx pyproject-fmt pyproject.toml uvx usethis tool import-linter It's related to the Ruff configuration [tool.ruff] line-length = 88 format.docstring-code-format = true lint.select = [ "...
Open Graph Description: Steps to reproduce on an empty dir uvx usethis init uvx pyproject-fmt pyproject.toml uvx usethis tool import-linter It's related to the Ruff configuration [tool.ruff] line-length = 88 format.docstr...
X Description: Steps to reproduce on an empty dir uvx usethis init uvx pyproject-fmt pyproject.toml uvx usethis tool import-linter It's related to the Ruff configuration [tool.ruff] line-length = 88 format.do...
Opengraph URL: https://github.com/usethis-python/usethis-python/issues/862
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`usethis tool import-linter` can break `pyproject.toml`","articleBody":"Steps to reproduce on an empty dir\n\n```\nuvx usethis init\nuvx pyproject-fmt pyproject.toml\nuvx usethis tool import-linter\n```\n\nIt's related to the Ruff configuration\n\n```\n[tool.ruff]\nline-length = 88\nformat.docstring-code-format = true\n\nlint.select = [ \"A\", \"C4\", \"E4\", \"E7\", \"E9\", \"F\", \"FLY\", \"FURB\", \"I\", \"INP\", \"PLE\", \"PLR\", \"PT\", \"RUF\", \"SIM\", \"UP\" ]\n\n[lint.per-file-ignores]\n\"*/tests/**\" = [\"INP\"]\nlint.ignore = [ \"PLR2004\", \"SIM108\" ]\n```","author":{"url":"https://github.com/nathanjmcdougall","@type":"Person","name":"nathanjmcdougall"},"datePublished":"2025-07-17T02:14:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/862/usethis-python/issues/862"}
| 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:acd17e91-6376-314c-cbcc-1fd5e2ca0afc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EA7A:16CCCC:4C1EFAF:6BFF279:6A4FDC3B |
| html-safe-nonce | 3f51520d24b231c85d763d6e828b62aad698a318aaad8f844ef941ec25559860 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTdBOjE2Q0NDQzo0QzFFRkFGOjZCRkYyNzk6NkE0RkRDM0IiLCJ2aXNpdG9yX2lkIjoiMjU4ODkzMDUzNzQ3NDIxOTA2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a07d38239f16a7f279b637313eb1b93e8483f7ce673e41b23ee6d764cc291967 |
| hovercard-subject-tag | issue:3237853378 |
| github-keyboard-shortcuts | repository,issues,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/usethis-python/usethis-python/862/issue_layout |
| twitter:image | https://opengraph.githubassets.com/af21647fbc4811a6e541d630d4abb65d2ad587d5ddafcf160d14cf4660ec402a/usethis-python/usethis-python/issues/862 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/af21647fbc4811a6e541d630d4abb65d2ad587d5ddafcf160d14cf4660ec402a/usethis-python/usethis-python/issues/862 |
| og:image:alt | Steps to reproduce on an empty dir uvx usethis init uvx pyproject-fmt pyproject.toml uvx usethis tool import-linter It's related to the Ruff configuration [tool.ruff] line-length = 88 format.docstr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nathanjmcdougall |
| hostname | github.com |
| expected-hostname | github.com |
| None | 19b98c3d9767bb8a56238a89ff8401d1cbdf3bc5c353799aacf49fe6c76b4b7c |
| turbo-cache-control | no-preview |
| go-import | github.com/usethis-python/usethis-python git https://github.com/usethis-python/usethis-python.git |
| octolytics-dimension-user_id | 216362695 |
| octolytics-dimension-user_login | usethis-python |
| octolytics-dimension-repository_id | 842189705 |
| octolytics-dimension-repository_nwo | usethis-python/usethis-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 842189705 |
| octolytics-dimension-repository_network_root_nwo | usethis-python/usethis-python |
| 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 | 142593e66413bbae27fd485859993597d5a3b104 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width