-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Lint config fixes #6473
Lint config fixes #6473
Conversation
Ref wagtail#6463, wagtail#6428 * pin isort to 5.6.4 * update isort version mentioned in python_guidelines.rst * make lint commands consistent between make lint and circleci * fix isort errors on files outside of /wagtail * speed up isort by ignoring additional directories and filetypes
Manage this branch in SquashTest this branch here: https://gasmancleanuplint-config-7ow34.squash.io |
@@ -17,7 +17,8 @@ max-line-length = 120 | |||
[isort] | |||
line_length=100 | |||
multi_line_output=4 | |||
skip=migrations,project_template | |||
skip=migrations,project_template,node_modules,.git,__pycache__,LC_MESSAGES | |||
blocked_extensions=rst,html,js,svg,txt,css,scss,png,snap |
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.
worth adding tsx
to this list given #6474
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.
👌
Made a minor suggestion for including tsx
to the list blocked extensions, otherwise works a treat!
Merged in 9947b95 |
Ref #6463, #6428