Skip to content
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

Closed
wants to merge 1 commit into from
Closed

Conversation

gasman
Copy link
Collaborator

@gasman gasman commented Oct 19, 2020

Ref #6463, #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

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
@gasman gasman requested review from zerolab and kaedroho October 19, 2020 19:13
@squash-labs
Copy link

squash-labs bot commented Oct 19, 2020

Manage this branch in Squash

Test 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
Copy link
Contributor

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

Copy link
Contributor

@zerolab zerolab left a 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!

gasman added a commit that referenced this pull request Oct 19, 2020
Ref #6463, #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
@gasman
Copy link
Collaborator Author

gasman commented Oct 19, 2020

Merged in 9947b95

@gasman gasman closed this Oct 19, 2020
Sign up for free to 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.

3 participants