salmon-shampoo-9140
08/19/2024, 9:39 PMvictorious-lawyer-58417
08/20/2024, 3:13 AMsalmon-shampoo-9140
08/20/2024, 3:27 AMvictorious-lawyer-58417
08/20/2024, 3:38 AMpylint
to check the code before execution but pylint
is slow compared to modern alternatives like flake8
and especially ruff
here's where `pylint` gets called - you could investigate how we could add an alternative code path for ruff
(e.g. if import ruff
works)salmon-shampoo-9140
08/20/2024, 3:43 AMvictorious-lawyer-58417
08/20/2024, 3:45 AMflat-hospital-6180
08/29/2024, 2:11 PMpylint
(or ruff
) to a generic one.
⢠keep pylint
here to stay, add capability to run lints using ruff
along.
⢠D.R.Y/unification around linting capabilities.
Ofcourse, I need to work the entire implementation out and thereafter vet the functionalities(for both linters), on i- but intent for a draft PR was to vouch for the approach.
NOTE: I am somehow unable to add @victorious-lawyer-58417 @salmon-shampoo-9140 (and possibly others, like Savin from the community) as 'reviewers' of this PR.salmon-shampoo-9140
08/29/2024, 4:05 PMflat-hospital-6180
08/29/2024, 6:42 PMflat-hospital-6180
09/03/2024, 10:49 AMsquare-wire-39606
09/14/2024, 8:02 PMflat-hospital-6180
09/16/2024, 6:00 AMflat-hospital-6180
09/19/2024, 11:08 AMpylint
, altogether? this involves deleting/muting the existing capabilities and modifying contributed configurations to focus solely on ruff.
⢠concept to configuration/settings for ruff i.e ruff.toml
esp. from client/user/project p.o.v/settings.
⢠concept to testing the linting capabilities using ruff, introduced in this PR, esp. for running usecases/modes outside of 'local', i.e on airflow, on argo, on SFs etc.
trivia: as a fun part, I have my own builds (for this PR) failing on account of the ruff runs(checks only) I (thought I'd also to the entire repo linting) introduced for the metaflow source code too, as a github workflow(Action, see: lint_repo.yml) š