Nahrazení isortu ruffem #132
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ruff-misto-isortu"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Dev závislost
isortnahrazenaruffem. Konfigurace z[tool.isort]převedena do[tool.ruff.lint.isort]: stejné sekce (vlastnítakydjangoadjango), žádný prázdný řádek předdjango,lines-after-imports = 1, řazení bez ohledu na velikost písmen, vynechané migrace.ruff checkhlídá jen řazení importů (select = ["I"]).Místo
isort .se teď spouštíruff check --fix.Ověření: na HEAD jsem pustil starý isort a pak ruff. Ruff změnil jen 3 soubory a jen kosmeticky: prázdný řádek před komentářem uprostřed importů (
mamweb/admin.py,tvorba/testutils.py) a dvě mezery před inline komentářem (mamweb/settings_test.py).ruff check .na současném stromu prochází bez chyb.🤖 Generated with Claude Code
d9840fa993to763e06bf98View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.