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

--dont-order-by-type broken #1375

Closed
Zacharias030 opened this issue Aug 12, 2020 · 3 comments
Closed

--dont-order-by-type broken #1375

Zacharias030 opened this issue Aug 12, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@Zacharias030
Copy link

I just used pip install isort and now cannot use the --dt / --dont-order-by-type flag from the --help page.

isort myfile.py --dont-order-by-type
Traceback (most recent call last):
  File "/usr/local/bin/isort", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.7/site-packages/isort/main.py", line 812, in main
    config = Config(**config_dict)
  File "/usr/local/lib/python3.7/site-packages/isort/settings.py", line 422, in __init__
    super().__init__(sources=tuple(sources), **combined_config)  # type: ignore
TypeError: __init__() got an unexpected keyword argument 'dont_order_by_type'
@Zacharias030
Copy link
Author

This is no problem in version 4.3.21!

sztamas added a commit to sztamas/isort that referenced this issue Aug 12, 2020
timothycrosley added a commit that referenced this issue Aug 13, 2020
@timothycrosley timothycrosley added the bug Something isn't working label Aug 13, 2020
@timothycrosley
Copy link
Member

This is fixed in 5.4.0

Thanks @Zacharias030 for reporting and @sztamas for fixing!

~Timothy

@Zacharias030
Copy link
Author

Thanks a lot! Great software & spectacular support!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants