Closed yury-fedotov closed 3 weeks ago
🔥 Thank you @yury-fedotov for this PR!
@yury-fedotov , feel free to merge this PR :)
@yury-fedotov , feel free to merge this PR :)
I don't have write access @rashidakanchwala
no worries, let me merge. Once again Thank you!, this is big improvement to our dev workflow!
Description
Closes #1670
Development notes
This PR brings
ruff
tokedro-viz
to replace:flake8
isort
pylint
black
It introduces a central
ruff.toml
file in repo root, to act as a single source of truth for Python codestyle management, and leveragesruff
's hierarchical configuration feature to make this config applicable to both thedemo-project
andpackage
parts of the codebase.Note for reviewers
While the diff from this PR is quite big (72 files), most of that is very simple auto-fixes from
ruff format
that are slightly different fromblack
. So reviewing should not be very hard.Testing plan
make lint
passes locallymake pytest
passes locallymerge-gatekeeper
to run full CIOther tasks
RELEASE.md
file