-
Notifications
You must be signed in to change notification settings - Fork 10
Replace black, flake8 and isort with ruff #3773
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
e9217ae
deps: replace black, flake8 and isort with ruff in pre-commit
voneiden 40451f4
deps(benefit): replace black, flake8 and isort with ruff
voneiden c4c4270
ci(benefit): use pre-commit to check code style
voneiden 5b55793
style(benefit): apply ruff format
voneiden d40780e
refactor(benefit): apply ruff automatic fixes
voneiden 57d5aa1
style(benefit): break long strings with black and reformat with ruff
voneiden 152aa1f
style(benefit): reflow comments
voneiden 039f8f6
style(benefit): add noqa to all E501
voneiden 1a9141d
style(benefit): add noqa to all T201
voneiden 29d6a30
refactor(benefit): manual ruff check fixes
voneiden f4acbbf
refactor(benefit): docker entrypoint shellcheck fixes
voneiden c46420b
deps(kesaseteli): replace black, flake8 and isort with ruff
voneiden 06461fb
ci(kesaseteli): use pre-commit to check code style
voneiden 83fbeec
style(kesaseteli): apply ruff format
voneiden da93ec5
refactor(kesaseteli): docker entrypoint shellcheck fixes
voneiden b10bebd
refactor(kesaseteli): apply ruff automatic fixes
voneiden 87a9956
style(kesaseteli): split long strings with black
voneiden e873081
style(kesaseteli): split long comments
voneiden d1710d6
style(kesaseteli): apply docformatter
voneiden b0ce2fa
refactor(kesaseteli): ruff manual fixes
voneiden 1ce9fda
chore(shared): configure ruff
voneiden c850e2d
style(shared): apply ruff format
voneiden fc66616
refactor(shared): apply ruff automatic fixes
voneiden 6f84683
style(shared): split long strings with black
voneiden b16a732
style(shared): split long comments
voneiden 9315469
style(shared): apply docformatter
voneiden 839f1ef
refactor(shared): ruff manual fixes
voneiden 45673f5
docs: document and add .git-blame-ignore-revs
voneiden c41220b
docs(benefit): update documentation on code format
voneiden 58e9b18
deps(benefit): drop ruff and pre-commit from requirements-dev
voneiden f44f7b5
docs(kesaseteli): update documentation on code format
voneiden 950b225
ci: use ruff-check instead of ruff in .pre-commit-config.yaml
voneiden 36a743c
ci: restore frontend husky pre-commit
voneiden 8713e06
ci: fix wrong name benefit -> kesaseteli
voneiden b484aca
docs(shared): fix docstring that got mangled by docformatter
voneiden f291b14
ci(kesaseteli): set order-by-type to false
voneiden 7255990
style(kesaseteli): apply order-by-type = false
voneiden 8bca3b1
chore: update git blame ignore revs
voneiden d4c97fc
ci: remove prepare husky and commitlint from package.json
voneiden File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| # style(benefit): apply ruff format | ||
| 5b557933b1a275d60f9ad8a449a93fa7ca37e9fe | ||
| # style(benefit): break long strings with black and reformat with ruff | ||
| 57d5aa102229bdefd4ca845f08afc40f5b57e1c6 | ||
| # style(benefit): reflow comments | ||
| 152aa1f10be35e93314edf2ed200f384d400e291 | ||
| # style(benefit): add noqa to all E501 | ||
| 039f8f60d9e1ada9c0e6fd525ba33abde42565b7 | ||
| # style(benefit): add noqa to all T201 | ||
| 1a9141dff51f0fd3e35a4477bfa3510b69672c31 | ||
|
|
||
| # style(kesaseteli): apply ruff format | ||
| 83fbeeccd762ad1db105d82f030617c70504e740 | ||
| # style(kesaseteli): split long strings with black | ||
| 87a9956457afce87acb910ff07cf6313efbd3735 | ||
| # style(kesaseteli): split long comments | ||
| e8730817bd9aa5f97cbf7b2823f9563526520118 | ||
| # style(kesaseteli): apply docformatter | ||
| d1710d68062def0a1c43be362d5948e7ea088249 | ||
|
|
||
| # style(shared): apply ruff format | ||
| c850e2d19f40cabbe43f8cf331e7bf642e3099f6 | ||
| # style(shared): split long strings with black | ||
| 6f84683833b9fab8d4e586f88a15a40012aa7fee | ||
| # style(shared): split long comments | ||
| b16a7329fc75c71353e0cfa5701a39047bd85ddd | ||
| # style(shared): apply docformatter | ||
| 931546951c1adb4c5d3a262c190bd332ae58604f | ||
|
|
||
| # style(kesaseteli): apply order-by-type = false | ||
| 7255990d4800d34b53811bfddd840906aad1b385 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This "frontend lerna linter" is removed by accident ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed in 36a743c and d4c97fc