Skip to content

MNT update linters and use ruff - #397

Merged
adrinjalali merged 6 commits into
skops-dev:mainfrom
adrinjalali:lint
Oct 13, 2023
Merged

MNT update linters and use ruff#397
adrinjalali merged 6 commits into
skops-dev:mainfrom
adrinjalali:lint

Conversation

@adrinjalali

Copy link
Copy Markdown
Member

This replaces flake8 and isort with ruff, which is much faster, updates linter versions, and fixes issues due to the version upgrades and using ruff.

@adrinjalaliadrinjalali mentioned this pull request Oct 12, 2023
@BenjaminBossan

Copy link
Copy Markdown
Collaborator

So is the CI red here because we require #398 to be merged and CI on #398 is red because it requires this PR to be merged?

@adrinjalali

Copy link
Copy Markdown
MemberAuthor

The CI here is passing the linter stage, so we can kinda consider this green I guess.

@BenjaminBossanBenjaminBossan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks. Did you ruff to be better apart from speed, which I don't feel was a big issue to begin with.

@adrinjalali

Copy link
Copy Markdown
MemberAuthor

Did you ruff to be better apart from speed, which I don't feel was a big issue to begin with.

It's speed, as well as having all the rules in one linter. We've switched in large projects to ruff and we're very happy with it.

@adrinjalali
adrinjalali merged commit 41f71fd into skops-dev:mainOct 13, 2023
@adrinjalali
adrinjalali deleted the lint branch October 13, 2023 16:01
@adrinjalali
adrinjalali restored the lint branch October 13, 2023 16:01
@adrinjalali
adrinjalali deleted the lint branch October 17, 2023 10:01
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@adrinjalali@BenjaminBossan