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

Delete variable self assignments #3196

Merged
merged 3 commits into from
Jul 31, 2023
Merged

Delete variable self assignments #3196

merged 3 commits into from
Jul 31, 2023

Conversation

janosh
Copy link
Member

@janosh janosh commented Jul 31, 2023

4e1bb4b delete self-assignments
13ef1f8 del unused w_area_has_intersection_smoothstep

pymatgen/io/lobster/outputs.py simplify if cond: x = True else x = False to x = cond
strictly speaking breaking but wasn't actually doing anything except call w_area_intersection_specific so recommended fix is to just use that
@janosh janosh added the housekeeping Linting fixes, cleaning up and refactoring code label Jul 31, 2023
@janosh janosh enabled auto-merge (squash) July 31, 2023 19:13
@janosh janosh merged commit d35e1ec into master Jul 31, 2023
28 checks passed
@janosh janosh deleted the del-self-assignments branch July 31, 2023 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
housekeeping Linting fixes, cleaning up and refactoring code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant