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

Clean up #3010

Merged
merged 8 commits into from
May 23, 2023
Merged

Clean up #3010

merged 8 commits into from
May 23, 2023

Conversation

janosh
Copy link
Member

@janosh janosh commented May 23, 2023

742f461 simplify: structure.sites -> structure
9eb253c ruff unignore SIM115, fix pymatgen/io/qchem/tests/test_inputs.py
04e4fd6 ruff unignore RET501 and fix unnecessary return None
46ed471 ruff unignore and fix PLW3301
6e74192 ruff unignore PLW0603 and fix use of globals
24f812e improve TestCRESTOutput readability
bc93f61 ruff unignore PD002 (pandas don't use inplace)

@janosh janosh added the linting Linting and quality assurance label May 23, 2023
>           mol_ids.extend([i + 1] * len(topo))
E           TypeError: object of type 'Topology' has no len()

pymatgen/io/lammps/data.py:786: TypeError
@janosh janosh merged commit 2330701 into master May 23, 2023
@janosh janosh deleted the clean-up branch May 23, 2023 20:22
lbluque pushed a commit to lbluque/pymatgen that referenced this pull request May 23, 2023
* simplify: structure.sites -> structure

* ruff unignore SIM115, fix pymatgen/io/qchem/tests/test_inputs.py

* ruff unignore RET501 and fix unnecessary return none

* ruff unignore and fix PLW3301

* ruff unignore PLW0603 and fix use of globals

* improve TestCRESTOutput readability

* ruff unignore PD002 (pandas don't use inplace)

* fix LammpsDataTest.test_from_structure()

>           mol_ids.extend([i + 1] * len(topo))
E           TypeError: object of type 'Topology' has no len()

pymatgen/io/lammps/data.py:786: TypeError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linting Linting and quality assurance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants