-
Notifications
You must be signed in to change notification settings - Fork 79
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
Remove duplicate dictonary keys #27
Labels
Comments
andrewda
added a commit
to andrewda/autoflake
that referenced
this issue
Jan 2, 2018
This will automatically remove duplicate dictionary keys with the `--remove-duplicate-keys` argument. Closes PyCQA#27
andrewda
added a commit
to andrewda/autoflake
that referenced
this issue
Jan 2, 2018
This will automatically remove duplicate dictionary keys with the `--remove-duplicate-keys` argument. Closes PyCQA#27
andrewda
added a commit
to andrewda/autoflake
that referenced
this issue
Jan 2, 2018
This will automatically remove duplicate dictionary keys with the `--remove-duplicate-keys` argument. Closes PyCQA#27
andrewda
added a commit
to andrewda/autoflake
that referenced
this issue
Jan 2, 2018
This will automatically remove duplicate dictionary keys with the `--remove-duplicate-keys` argument. Closes PyCQA#27
andrewda
added a commit
to andrewda/autoflake
that referenced
this issue
Jan 2, 2018
This will automatically remove duplicate dictionary keys with the `--remove-duplicate-keys` argument. Closes PyCQA#27
andrewda
added a commit
to andrewda/autoflake
that referenced
this issue
Jan 2, 2018
This will automatically remove duplicate dictionary keys with the `--remove-duplicate-keys` argument. Closes PyCQA#27
andrewda
added a commit
to andrewda/autoflake
that referenced
this issue
Jan 3, 2018
This will automatically remove duplicate dictionary keys with the `--remove-duplicate-keys` argument. Closes PyCQA#27
andrewda
added a commit
to andrewda/autoflake
that referenced
this issue
Jan 3, 2018
This will automatically remove duplicate dictionary keys with the `--remove-duplicate-keys` argument. Closes PyCQA#27
andrewda
added a commit
to andrewda/autoflake
that referenced
this issue
Jan 3, 2018
This will automatically remove duplicate dictionary keys with the `--remove-duplicate-keys` argument. Closes PyCQA#27
andrewda
added a commit
to andrewda/autoflake
that referenced
this issue
Jan 3, 2018
This will automatically remove duplicate dictionary keys with the `--remove-duplicate-keys` argument. Closes PyCQA#27
andrewda
added a commit
to andrewda/autoflake
that referenced
this issue
Jan 3, 2018
This will automatically remove duplicate dictionary keys with the `--remove-duplicate-keys` argument. Closes PyCQA#27
andrewda
added a commit
to andrewda/autoflake
that referenced
this issue
Jan 3, 2018
This will automatically remove duplicate dictionary keys with the `--remove-duplicate-keys` argument. Closes PyCQA#27
andrewda
added a commit
to andrewda/autoflake
that referenced
this issue
Jan 3, 2018
This will automatically remove duplicate dictionary keys with the `--remove-duplicate-keys` argument. Closes PyCQA#27
andrewda
added a commit
to andrewda/autoflake
that referenced
this issue
Jan 3, 2018
This will automatically remove duplicate dictionary keys with the `--remove-duplicate-keys` argument. Closes PyCQA#27
andrewda
added a commit
to andrewda/autoflake
that referenced
this issue
Jan 3, 2018
This will automatically remove duplicate dictionary keys with the `--remove-duplicate-keys` argument. Closes PyCQA#27
andrewda
added a commit
to andrewda/autoflake
that referenced
this issue
Jan 3, 2018
This will automatically remove duplicate dictionary keys with the `--remove-duplicate-keys` argument. Closes PyCQA#27
andrewda
added a commit
to andrewda/autoflake
that referenced
this issue
Jan 3, 2018
This will automatically remove duplicate dictionary keys with the `--remove-duplicate-keys` argument. Closes PyCQA#27
myint
pushed a commit
that referenced
this issue
Jan 3, 2018
* Add AUTOFLAKE_COVERAGE env variable * Add coverage combining * Run coverage in branch and parallel mode * Remove duplicate dictionary keys This will automatically remove duplicate dictionary keys with the `--remove-duplicate-keys` argument. Closes #27
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/PyCQA/pyflakes/releases/tag/1.3.0 included support for detecting duplicate dictionary keys, strictly only reporting when the values differ, as there is no confusion in having the same key,value combination appear multiple times.
It would be nice for autoflake to implement a automatic fixer for this, removing all but the last value for a key in a dictionary.
The text was updated successfully, but these errors were encountered: